Fix missing import in AzureOpenAI embeddings example (#2625)

## Why this PR?

Fixes #2624
There's a missing import statement in AzureOpenAI embeddings example.

## What's new in this PR?

- Import `OpenAIEmbeddings` before creating it's object.

## How it's tested?
- By running notebook and creating embedding object.

Signed-off-by: letmerecall <girishsharma001@gmail.com>
fix_agent_callbacks
Girish Sharma 1 year ago committed by GitHub
parent 0f5d3b3390
commit 9aed565f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,6 +32,8 @@
"metadata": {},
"outputs": [],
"source": [
"from langchain.embeddings import OpenAIEmbeddings\n",
"\n",
"embeddings = OpenAIEmbeddings(model=\"your-embeddings-deployment-name\")"
]
},

Loading…
Cancel
Save