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

- [ ] remove the the - [ ] remove be be - [ ] correct spelling problem

Added a README to the Pinecone vector store section, alongside two new examples: * GPT-4 with retrieval augmentation * Semantic search

👋 Following up from my email conversation with @logankilpatrick, I've added an example of how to use [Typesense](https://typesense.org) as a vector datastore and implement similarity search.

https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto

https://github.com/ivanmarcin/kubernetes/blob/master/cmd/apiserver/apiserver.go

Example [Jupyter notebook](https://github.com/openai/openai-cookbook/blob/main/examples/Unit_test_writing_using_a_multi-step_prompt.ipynb) titled **Unit test writing using a multi-step prompt** utilizes now-deprecated `code-davinci-002` model and running the notebook produces the error. ``` InvalidRequestError: The model: `code-davinci-002` does not exist...

I want to use C# with stream args ,but i countn‘t get the right result. the result as one response.do you have a right solution? ChatModel chatModel = new ChatModel...

Hi, I am following the customizing_embeddings.ipynb notebook at https://github.com/openai/openai-cookbook/blob/main/examples/Customizing_embeddings.ipynb. I want to ask how I can create positive pairs as well as positive, negative pairs from a particular dataset of...

would be greatly appreciated. it's kind of wild to take the time to make an entire cookbook with no complete recipes in it that someone could just copy paste and...

The openai module is not part of the setup instructions and as such the subsequent imports fail. This PR updates the setup section to include the installation of the openai...