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

Examples and guides for using the OpenAI API

Results 368 openai-cookbook issues
Sort by recently updated
recently updated
newest added

Update `chat.py` removing an unnecessary string.

I setup and ran the **File Q&A with Next.js and Flask** application locally. I then tried testing the application by uploading the attached file and asking questions from the file....

Notebook containing examples of LLM Agent + tool use using Search and a Pinecone vectorstore

I copy this file https://github.com/openai/openai-cookbook/blob/main/examples/api_request_parallel_processor.py to my project and try to use it, but I got this error, I try to hard code the encoding name to "cl100k_base", and I...

Giving error: Error: No API key provided. while running the openai api fine_tunes.create command

I'm using python 3.11.3 Windows [Question answering using embeddings-based search](https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb) Looks like the embedding are different for Azure becuase the code `def strings_ranked_by_relatedness( query: str, df: pd.DataFrame, relatedness_fn=lambda x, y:...

I ran pip install databases, but even after this, I am getting this error.