mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-04 20:28:10 +00:00
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>
This commit is contained in:
parent
0f5d3b3390
commit
9aed565f13
@ -32,6 +32,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from langchain.embeddings import OpenAIEmbeddings\n",
|
||||
"\n",
|
||||
"embeddings = OpenAIEmbeddings(model=\"your-embeddings-deployment-name\")"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user