There was an error while loading. Please reload this page.
1 parent c6fb53b commit 2bb8c3cCopy full SHA for 2bb8c3c
examples/openai_embeddings.py
@@ -17,7 +17,7 @@
17
]
18
19
client = OpenAI()
20
-response = client.embeddings.create(input=input, model='text-embedding-ada-002')
+response = client.embeddings.create(input=input, model='text-embedding-3-small')
21
embeddings = [v.embedding for v in response.data]
22
23
for content, embedding in zip(input, embeddings):
0 commit comments