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:
Girish Sharma 2023-04-10 00:55:31 +05:30 committed by GitHub
parent 0f5d3b3390
commit 9aed565f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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