Skip to content

Commit 8557339

Browse files
Merge pull request #235079 from eric-urban/patch-2
add embeddings print
2 parents 180d5eb + b623e96 commit 8557339

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/cognitive-services/openai/how-to/embeddings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ response = openai.Embedding.create(
4444
engine="YOUR_DEPLOYMENT_NAME"
4545
)
4646
embeddings = response['data'][0]['embedding']
47+
print(embeddings)
4748
```
4849
---
4950

0 commit comments

Comments
 (0)