We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab2774e commit ef19acdCopy full SHA for ef19acd
1 file changed
examples/openai/example.js
@@ -18,7 +18,7 @@ const input = [
18
];
19
20
const openai = new OpenAI();
21
-const response = await openai.embeddings.create({input: input, model: 'text-embedding-ada-002'});
+const response = await openai.embeddings.create({input: input, model: 'text-embedding-3-small'});
22
const embeddings = response.data.map((v) => v.embedding);
23
24
for (let [i, content] of input.entries()) {
0 commit comments