diff --git a/gemini/sample-apps/finance-advisor-spanner/README.md b/gemini/sample-apps/finance-advisor-spanner/README.md index a5fdd15f2b7..fec9aaf3e94 100644 --- a/gemini/sample-apps/finance-advisor-spanner/README.md +++ b/gemini/sample-apps/finance-advisor-spanner/README.md @@ -73,7 +73,7 @@ The Finvest Spanner demo application was built using: ```sql ALTER MODEL EmbeddingsModel SET OPTIONS ( - endpoint = '//aiplatform.googleapis.com/projects/'YOUR PROJECT ID HERE'/locations/'YOUR SPANNER INSTANCE LOCATION HERE'/publishers/google/models/text-embedding-003' + endpoint = '//aiplatform.googleapis.com/projects/'YOUR PROJECT ID HERE'/locations/'YOUR SPANNER INSTANCE LOCATION HERE'/publishers/google/models/textembedding-gecko@003' ) ; ``` diff --git a/gemini/sample-apps/finance-advisor-spanner/Schema-Operations.sql b/gemini/sample-apps/finance-advisor-spanner/Schema-Operations.sql index 4c51aec2497..3d648eb9a18 100644 --- a/gemini/sample-apps/finance-advisor-spanner/Schema-Operations.sql +++ b/gemini/sample-apps/finance-advisor-spanner/Schema-Operations.sql @@ -1,6 +1,6 @@ ALTER MODEL EmbeddingsModel SET OPTIONS ( -endpoint = '//aiplatform.googleapis.com/projects//locations//publishers/google/models/text-embedding-003' +endpoint = '//aiplatform.googleapis.com/projects//locations//publishers/google/models/textembedding-gecko@003' ) ; ALTER TABLE EU_MutualFunds ADD COLUMN fund_name_Tokens TOKENLIST AS (TOKENIZE_FULLTEXT(fund_name)) HIDDEN;