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

`SEPARATOR` is being used to construct a prompt for use with the completions endpoint

I just wanted to point this out: ![image](https://user-images.githubusercontent.com/20320678/215451270-3f1d0454-7f8a-4013-b939-8f976e78597d.png) It's obviously no big deal, but given the context window of >8000 tokens with davinci-003 it would be a great opportunity to...

Updated the penultimate markdown to align with the code in the following cell

Hi Team, FIne-tuning for entity extraction seems to be straight forward in zero-shot setting, however, when fine-tuning da Vinci or ada, for entity extraction, the model seems to hallucinate. Are...

support

The notebook [Embedding_long_inputs.ipynb](https://github.com/openai/openai-cookbook/tree/main/examples/Embedding_long_inputs.ipynb) performs a weighted average of the embeddings by _length of vector_, however I believe the average should be weighted by _length of chunk_.

Hi, I've added an example showing how to use the Weights & Biases embedding projector with OpenAI embeddings. Let me know if there's anything I can change to help it...

Hi there, I tried to save embeddings following the approach from this notebook: [openai-cookbook](https://github.com/openai/openai-cookbook)/[examples](https://github.com/openai/openai-cookbook/tree/main/examples)/Recommendation_using_embeddings.ipynb Error: return pickle.load(handles.handle) EOFError: Ran out of input Here is the code: ### set path to...

I am fairly new to Python, but trying to follow along with the Colab notebook exactly, and for some reason no matter what I try, I continuously get the following...

I am not too qualified to assess this, but in the Q&A crawler example https://github.com/openai/openai-cookbook/tree/main/solutions/web_crawl_Q%26A I was encountering this error: `requests.exceptions.TooManyRedirects: Exceeded 30 redirects ` ChatGPT solved it for me...