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

Hi, I have managed to successfully follow the notebook Customizing_embeddings.ipynb . It has improved my similarity classification accuracy significantly. However, I cannot understand exactly how the trained matrix is created....

I'm pretty sure there's a typo in the `optimize_matrix` routine in block 10 of the customizing_embeddings notebook. The code ``` e1_train, e2_train, s_train = tensors_from_dataframe( df[df["dataset"] == "train"], "text_1_embedding", "text_2_embedding",...

I'm finding that the server sometimes returns a null answer. This crashes the client app. This PR adds logic to spit out the response "I did not receive an answer!"...

requests==2.28.1 openai==0.26.1 tiktoken==0.1.2 pandas==1.5.2 numpy==1.24.1 bs4==0.0.1 plotly==5.13.1 matplotlib==3.7.0 scipy==1.10.0 scikit-learn==1.2.1

Please update api_request_parallel_processor.py to support GPT 3.5 Turbo model and multiple messages content API. [api_request_parallel_processor.py](https://github.com/openai/openai-cookbook/blob/66b988407d8d13cad5060a881dc8c892141f2d5c/examples/api_request_parallel_processor.py) Thanks in advance.

I added Qdrant as another example whenever any vector database is mentioned.

Seems that I'm getting a 403 error on all the sites I'm trying to crawl.