We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b746e42 commit 4418dc6Copy full SHA for 4418dc6
javascript/embed.js
@@ -34,7 +34,7 @@ export async function embedContent() {
34
}
35
36
export async function batchEmbedContents() {
37
- // [START batch_embed_content]
+ // [START batch_embed_contents]
38
// Make sure to include the following import:
39
// import {GoogleGenAI} from '@google/genai';
40
const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
@@ -49,6 +49,6 @@ export async function batchEmbedContents() {
49
config: { outputDimensionality: 10 },
50
});
51
console.log(result.embeddings);
52
- // [END batch_embed_content]
+ // [END batch_embed_contents]
53
return result.embeddings;
54
0 commit comments