Skip to content

Commit

Permalink
fix: updated finance-advisor-spanner to an up-to-date embedding model (
Browse files Browse the repository at this point in the history
  • Loading branch information
jk-kashe authored Dec 6, 2024
1 parent adbb726 commit cefb94a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gemini/sample-apps/finance-advisor-spanner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)
;
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

ALTER MODEL EmbeddingsModel SET OPTIONS (
endpoint = '//aiplatform.googleapis.com/projects/<project-name>/locations/<location>/publishers/google/models/text-embedding-003'
endpoint = '//aiplatform.googleapis.com/projects/<project-name>/locations/<location>/publishers/google/models/textembedding-gecko@003'
)
;
ALTER TABLE EU_MutualFunds ADD COLUMN fund_name_Tokens TOKENLIST AS (TOKENIZE_FULLTEXT(fund_name)) HIDDEN;
Expand Down

0 comments on commit cefb94a

Please sign in to comment.