Skip to content

Commit b623e96

Browse files
authored
add embeddings print
@mrbullwinkle - Heidi and I were both stumped for a few minutes wondering why nothing happened. Here's a suggested print statement.
1 parent b7449de commit b623e96

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)