Skip to content

Fix Issue #1060: Update RAG notebook and dependencies for OpenAI v1.0…#1084

Open
Nithi-121 wants to merge 1 commit intomicrosoft:mainfrom
Nithi-121:patch-2
Open

Fix Issue #1060: Update RAG notebook and dependencies for OpenAI v1.0…#1084
Nithi-121 wants to merge 1 commit intomicrosoft:mainfrom
Nithi-121:patch-2

Conversation

@Nithi-121
Copy link

…+ API

  • Update notebook-rag-vector-databases.ipynb with correct OpenAI client initialization
  • Replace deprecated embedding model (text-embedding-ada-002) with text-embedding-3-large
  • Replace deprecated chat model (gpt-35-turbo) with gpt-4-turbo
  • Fix pandas.append() to use pd.concat() for modern pandas versions
  • Add scikit-learn dependency for cosine similarity calculations
  • Update requirements.txt to openai>=1.12.0

…enAI v1.0+ API

- Update notebook-rag-vector-databases.ipynb with correct OpenAI client initialization
- Replace deprecated embedding model (text-embedding-ada-002) with text-embedding-3-large
- Replace deprecated chat model (gpt-35-turbo) with gpt-4-turbo
- Fix pandas.append() to use pd.concat() for modern pandas versions
- Add scikit-learn dependency for cosine similarity calculations
- Update requirements.txt to openai>=1.12.0
@github-actions
Copy link
Contributor

👋 Thanks for contributing @Nithi-121! We will review the pull request and get back to you soon.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants