Skip to content

Commit 4418dc6

Browse files
committed
Sync naming with other languages
1 parent b746e42 commit 4418dc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/embed.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export async function embedContent() {
3434
}
3535

3636
export async function batchEmbedContents() {
37-
// [START batch_embed_content]
37+
// [START batch_embed_contents]
3838
// Make sure to include the following import:
3939
// import {GoogleGenAI} from '@google/genai';
4040
const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY });
@@ -49,6 +49,6 @@ export async function batchEmbedContents() {
4949
config: { outputDimensionality: 10 },
5050
});
5151
console.log(result.embeddings);
52-
// [END batch_embed_content]
52+
// [END batch_embed_contents]
5353
return result.embeddings;
5454
}

0 commit comments

Comments
 (0)