openai-cookbook
openai-cookbook copied to clipboard
Examples and guides for using the OpenAI API
## Summary Briefly describe the changes and the goal of this PR. Make sure the PR title summarizes the changes effectively. ## Motivation Why are these changes necessary? How do...
[optional format] **Identify the file to be fixed** utils? **Describe the problem** I tried to replicate the reproducable-outputs-with-seed-parameter guide: https://cookbook.openai.com/examples/reproducible_outputs_with_the_seed_parameter. When importing ```import openai import asyncio from IPython.display import display,...
This minor change updates the URL of the [Weaviate Docker image](https://weaviate.io/developers/weaviate/installation/docker-compose). Instead of the standard Docker registry, Weaviate now makes use of a custom registry running at `cr.weaviate.io`. Thanks in...
[optional template] **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the...
## Summary This PR adds an updated Scrimba tutorial to **How to build an agent with the Node.js SDK** ## Motivation The previous Scrimba tutorial code was removed after the...
Is there any interest in a notebook contribution that demonstrates a few ways of prompting GPT4 to detect insecure code snippets? The solution would include prompt templates that use techniques...
I am trying the demonstration code (as below) for DALL-E-2 Edit as given in https://platform.openai.com/docs/guides/images/usage?context=node I am on python3.8 windows10. The input image and mask files are as provided, but...
## Summary The small fix is a typo and the fact that our `sample_mflix.embedded_movies` dataset is still using `text-embedding-ada-002` embedding and note "text-embedding-3-small" ## Motivation Accuracy --- ## For new...
the main question is how to count the number of input tokens and the output tokens separately given that the code in the link just outputs a number as the...
[optional format] **Identify the file to be fixed** The name of the file containing the problem. examples/How_to_handle_rate_limits.ipynb **Describe the problem** A clear and concise description of what the problem is....