Skip to content

Examples and guides for using the OpenAI API

updates README table of contents

Ted Sanders091e8e857960
diff --git a/README.md b/README.md
index a36b7e2e..8bf56311 100644
--- a/README.md
+++ b/README.md
@@ -2,21 +2,18 @@
The OpenAI Cookbook shares example code for accomplishing common tasks with the [OpenAI API].
-To run these examples, you'll need an OpenAI account and associated API key ([create a free account][api signup]).
+To run these examples, you'll need an OpenAI account and API key ([create a free account][api signup]).
Most code examples are written in Python, though the concepts can be applied in any language.
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=468576060&machine=basicLinux32gb&location=EastUs)
-## Recently added πŸ†• ✨
+## Recently added or updated πŸ†• ✨
+- [Question answering using embeddings](examples/Question_answering_using_embeddings.ipynb) [Apr 14th, 2023]
+- [Using vector databases for embeddings search](examples/vector_databases/) [various dates]
- [Powering your products with ChatGPT and your own data](apps/chatbot-kickstarter/powering_your_products_with_chatgpt_and_your_data.ipynb) [Mar 10th, 2023]
- [How to format inputs to ChatGPT models](examples/How_to_format_inputs_to_ChatGPT_models.ipynb) [Mar 1st, 2023]
-- [Using Vector Databases for Embeddings Search with Redis](https://github.com/openai/openai-cookbook/tree/main/examples/vector_databases/redis) [Feb 15th, 2023]
-- [Website Q&A with Embeddings](https://github.com/openai/openai-cookbook/tree/main/apps/web-crawl-q-and-a) [Feb 11th, 2023]
-- [File Q&A with Embeddings](https://github.com/openai/openai-cookbook/tree/main/apps/file-q-and-a) [Feb 11th, 2023]
-- [Visualize Embeddings in Weights & Biases](https://github.com/openai/openai-cookbook/blob/main/examples/Visualizing_embeddings_in_W%26B.ipynb) [Feb 9th, 2023]
-- [Retrieval Enhanced Generative Question Answering with Pinecone](https://github.com/openai/openai-cookbook/blob/main/examples/vector_databases/pinecone/Gen_QA.ipynb) [Feb 8th, 2023]
## Guides & examples
@@ -29,20 +26,15 @@ Most code examples are written in Python, though the concepts can be applied in
- ChatGPT
- [How to format inputs to ChatGPT models](examples/How_to_format_inputs_to_ChatGPT_models.ipynb)
- [Powering your products with ChatGPT and your own data](apps/chatbot-kickstarter/powering_your_products_with_chatgpt_and_your_data.ipynb)
-- GPT-3
+- GPT
- [Guide: How to work with large language models](how_to_work_with_large_language_models.md)
- [Guide: Techniques to improve reliability](techniques_to_improve_reliability.md)
- [How to use a multi-step prompt to write unit tests](examples/Unit_test_writing_using_a_multi-step_prompt.ipynb)
- - [Text writing examples](text_writing_examples.md)
- - [Text explanation examples](text_explanation_examples.md)
- - [Text editing examples](text_editing_examples.md)
- - [Code writing examples](code_writing_examples.md)
- - [Code explanation examples](code_explanation_examples.md)
- - [Code editing examples](code_editing_examples.md)
- Embeddings
- [Text comparison examples](text_comparison_examples.md)
- [How to get embeddings](examples/Get_embeddings.ipynb)
- [Question answering using embeddings](examples/Question_answering_using_embeddings.ipynb)
+ - [Using vector databases for embeddings search](examples/vector_databases/Using_vector_databases_for_embeddings_search.ipynb)
- [Semantic search using embeddings](examples/Semantic_text_search_using_embeddings.ipynb)
- [Recommendations using embeddings](examples/Recommendation_using_embeddings.ipynb)
- [Clustering embeddings](examples/Clustering.ipynb)
@@ -66,12 +58,12 @@ Most code examples are written in Python, though the concepts can be applied in
Beyond the code examples here, you can learn about the [OpenAI API] from the following resources:
+- Experiment with [ChatGPT]
- Try out the API in the [OpenAI Playground]
- Read about the API in the [OpenAI Documentation]
- Discuss the API in the [OpenAI Community Forum]
- Look for help in the [OpenAI Help Center]
- See example prompts in the [OpenAI Examples]
-- Play with a free research preview of [ChatGPT]
- Stay up to date with the [OpenAI Blog]
## Contributing
diff --git a/examples/vector_databases/Using_vector_databases_for_embeddings_search.ipynb b/examples/vector_databases/Using_vector_databases_for_embeddings_search.ipynb
index dedc66f7..63cb4b90 100644
--- a/examples/vector_databases/Using_vector_databases_for_embeddings_search.ipynb
+++ b/examples/vector_databases/Using_vector_databases_for_embeddings_search.ipynb
@@ -2267,7 +2267,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.9.16"
+ "version": "3.9.9"
},
"vscode": {
"interpreter": {