openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

Examples and guides for using the OpenAI API

Results 581 openai-cookbook issues
Sort by recently updated
recently updated
newest added
trafficstars

Environment: Macbook m2, python 3.11.3 **Steps Taken:** 1. Following the [Web Q&A - Open AI API Tutorial](https://platform.openai.com/docs/tutorials/web-qa-embeddings) 2. After successfully installing the conda env (had to remove https requirement as...

Hi, I am running the Jupyter notebook locally for the subject app. I am running Pyhton 3.9.16 and have installed and imported all packages necessary. I am having an issue...

While crawling the OpenAI website, it came upon this URL: https://openai.com/research?topics=language and crashed with the following error In the file web-qa.py on **line 140**: with open('text/'+local_domain+'/'+url[8:].replace("/", "_") + ".txt", "w",...

https://github.com/openai/openai-cookbook/blob/main/examples/Zero-shot_classification_with_embeddings.ipynb step [3] and step [4] are exactly the same, they all use the same labels, and generates the same results, including the display.

Assigning a value through `form.maxFileSize` directly no longer works and will result in `Type error: Property 'maxFileSize' does not exist on type 'IncomingForm'.` during compilation when doing `npm run build`....

**File problem:** [examples/api_request_parallel_processor.py](https://github.com/openai/openai-cookbook/blob/cfb1927cc3298554e5d7ef2934c6dfa015bf2418/examples/api_request_parallel_processor.py) **Problem:** The script `api_request_parallel_processor.py` return the results in disorders, which is really inconvenient when I have 26,000 async requests. I'm using the `gpt-3.5-turbo` model **Solution?** Should I...

bug

This notebook shows how to implement a question answering system with LangChain's Deep Lake integration as a vector store and OpenAI embeddings.

This notebook has examples of running hybrid VSS queries in Redis on openai generated embeddings with ecommerce dataset

previously it was: row['n_tokens'] + 4 Error output was: raise KeyError(key) from err KeyError: 'n_tokens'

in function process_input_data() label "contradiction" was missed when filtering "entailment" or "contradiction". So all data was only of label "entailment" I just added "contradition".