Skip to content

Commit b1bd70d

Browse files
committed
feat: Update the model name to gemini-embedding-001
1 parent 47ab9d6 commit b1bd70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ai-platform/snippets/predict-text-embeddings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// [START generativeaionvertexai_sdk_embedding]
2121
async function main(
2222
project,
23-
model = 'text-embedding-005',
23+
model = 'gemini-embedding-001',
2424
texts = 'banana bread?;banana muffins?',
2525
task = 'QUESTION_ANSWERING',
2626
dimensionality = 0,

0 commit comments

Comments
 (0)