Update Cookbook notebooks with fixes and improvements#2604
Open
shreekant-openai wants to merge 4 commits intomainfrom
Open
Update Cookbook notebooks with fixes and improvements#2604shreekant-openai wants to merge 4 commits intomainfrom
shreekant-openai wants to merge 4 commits intomainfrom
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates existing Cookbook notebooks to make the Evals, Qdrant, and knowledge retrieval examples more current, executable, and easier to follow.
This PR includes:
This PR does not add new Cookbook content; it refreshes existing notebooks so they remain useful and accurate for readers.
Motivation
Some existing notebooks had become stale as API patterns, model names, and third-party client usage evolved. A few examples also had setup or execution gaps that could make them harder for readers to run successfully.
These updates improve the Cookbook by making the affected examples:
Validation performed:
git diff --check.nbclientfor the changed notebooks:examples/How_to_call_functions_for_knowledge_retrieval.ipynbexamples/evaluation/Getting_Started_with_OpenAI_Evals.ipynbexamples/vector_databases/qdrant/Getting_started_with_Qdrant_and_OpenAI.ipynbexamples/vector_databases/qdrant/Using_Qdrant_for_embeddings_search.ipynbQdrant validation included starting a local Qdrant Docker service, running the notebooks, then stopping and removing the temporary container/network. Generated runtime datasets and zip files were removed and are not included in this PR.
For new content
This PR updates existing content only and does not add a new Cookbook entry.