Skip to content

Commit 5a7a609

Browse files
authored
Merge pull request #117330 from ivanvaccarics/patch-1
Added details to embedding code
2 parents 69a04a2 + 6940d21 commit 5a7a609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/openai/how-to/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ client = AzureOpenAI(
196196

197197
response = client.embeddings.create(
198198
input = "Your text string goes here",
199-
model= "text-embedding-ada-002"
199+
model= "text-embedding-ada-002" # model = "deployment_name".
200200
)
201201

202202
print(response.model_dump_json(indent=2))

0 commit comments

Comments
 (0)