Skip to content

Commit b5f57a6

Browse files
Update semantic_kNN_search_with_custom_dense_vector_model.json with minor fixes
1 parent 4b912e9 commit b5f57a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

supporting-blog-content/Cloud-Vertex-AI/search-templates/semantic_kNN_search_with_custom_dense_vector_model.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#knn template
1+
#knn template with custom multilingual dense model (chunked)
22
PUT _scripts/google-template-knn
33
{
44
"script": {
@@ -36,8 +36,8 @@ GET nqdataset-simplified-clean-semantictext-e5/_search/template
3636
{
3737
"id": "google-template-knn",
3838
"params": {
39-
"query": "italian food",
40-
"index_name": "nqdataset-simplified-clean-semantictext-e5",
39+
"query": "What's the most famous food in Italian cousine?",
40+
"index_name": "<your-index-name-here>",
4141
"num_hits": 1
4242
}
4343
}

0 commit comments

Comments
 (0)