refactor(embeddings-and-vector-databases-with-chromadb): migrate deprecated openai API calls (1 file) - #833
MoradMoqbel wants to merge 1 commit into
Conversation
…ecated openai API calls (1 file)
|
Thanks for flagging this, and you are right about the underlying problem — the file on We are going to close this one, though, because it is superseded rather than wrong. This sample belongs to the Embeddings and Vector Databases With ChromaDB tutorial, which is currently being rewritten, and #831 updates the whole folder in step with the article:
Since both PRs touch Appreciate you taking the time to look — the folder really was out of date. |
⚡ Autonomous API Migration by ApiPatch
This automated Pull Request modernizes deprecated or breaking openai API signatures across 1 file(s).
🔍 Detected Breaking Changes & Fixes:
embeddings-and-vector-databases-with-chromadb/llm_car_review_context.pyopenai.api_keyclient = OpenAI(api_key=...)embeddings-and-vector-databases-with-chromadb/llm_car_review_context.pyopenai.ChatCompletion.createclient.chat.completions.createembeddings-and-vector-databases-with-chromadb/llm_car_review_context.pyopenai.ChatCompletion.createclient.chat.completions.createembeddings-and-vector-databases-with-chromadb/llm_car_review_context.pyopenai.ChatCompletion.createclient.chat.completions.create🛡️ Safety & Quality Verification:
Generated autonomously with ❤️ by ApiPatch — The Autonomous AI Agent for Breaking API Changes.