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

Hello! I work at Weights and Biases and we have many offerings/teachings related to OpenAI as we work closely with them. Our MLOps platform has many first class integrations to...

Currently there's an `openai.Embedding.create` call outside the `while` loop, and then the call is replicated inside of the exception-handling loop. This seems superfluous, so simplifying it slightly.

[optional format] **Identify the file to be fixed** apps/web-crawl-q-and-a/web-qa.ipynb **Describe the problem** In the function below, the last chunk is discarded. Is it the intention? `def split_into_many(text, max_tokens = max_tokens):...

bug

[optional format] **Identify the file to be fixed** Clustering.ipynb. **Describe the problem** reviews = "\n".join( df[df.Cluster == i] .combined.str.replace("Title: ", "") .str.replace("\n\nContent: ", ": ") .sample(rev_per_cluster) .values ) if I...

bug

(pgvector)[https://github.com/pgvector/pgvector] is a great open-source vector DB add-on for postgres. Since many dbs already use postgres, it's a great way to expand their featureset. I was a bit surprised to...

Hello! I am a visually impaired user (blind), and my main purpose of using ChatGPT software is to explore the prospects of the software in visual assistance. This software is...

support

[optional format] **Identify the file to be fixed** transformers.py **Describe the problem** after calling handle_file_string i get error message: [handle_file_string] Error creating embedding: Traceback (most recent call last): File "",...

bug

Adding a simple example of how to run a parallel API request (following https://gist.github.com/neubig/80de662fb3e225c18172ec218be4917a). Also renaming the more robust parallel API request script so they will both sit side by...

I have set up a system on Debian, and everything works fine in the local environment. Files are being uploaded successfully. However, when accessing the web interface using the IP...

support

[optional template] **Is your feature request related to a problem? Please describe.** We are not able right now to fine tune an openai model for multi-label classification. **Describe the solution...