Skip to content

Commit a379731

Browse files
authored
Update the default model name for the ranking api default name (#13472)
The naming convention for the ranking api changed to: - semantic-ranker-default@latest This PR updates the default model name. For more information see: https://cloud.google.com/generative-ai-app-builder/docs/ranking
1 parent 1158bb0 commit a379731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discoveryengine/standalone_apis_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def rank_sample(
9494
)
9595
request = discoveryengine.RankRequest(
9696
ranking_config=ranking_config,
97-
model="semantic-ranker-512@latest",
97+
model="semantic-ranker-default@latest",
9898
top_n=10,
9999
query="What is Google Gemini?",
100100
records=[

0 commit comments

Comments
 (0)