@@ -326,6 +326,14 @@ <h3>Method Details</h3>
326
326
"vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
327
327
"vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
328
328
},
329
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
330
+ "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker.
331
+ "modelName": "A String", # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
332
+ },
333
+ "rankService": { # Config for Rank Service. # Optional. Config for Rank Service.
334
+ "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
335
+ },
336
+ },
329
337
"topK": 42, # Optional. The number of contexts to retrieve.
330
338
},
331
339
"similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora.
@@ -569,6 +577,14 @@ <h3>Method Details</h3>
569
577
"vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
570
578
"vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
571
579
},
580
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
581
+ "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker.
582
+ "modelName": "A String", # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
583
+ },
584
+ "rankService": { # Config for Rank Service. # Optional. Config for Rank Service.
585
+ "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
586
+ },
587
+ },
572
588
"topK": 42, # Optional. The number of contexts to retrieve.
573
589
},
574
590
"similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora.
@@ -837,6 +853,14 @@ <h3>Method Details</h3>
837
853
"vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
838
854
"vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
839
855
},
856
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
857
+ "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker.
858
+ "modelName": "A String", # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
859
+ },
860
+ "rankService": { # Config for Rank Service. # Optional. Config for Rank Service.
861
+ "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
862
+ },
863
+ },
840
864
"topK": 42, # Optional. The number of contexts to retrieve.
841
865
},
842
866
"similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora.
@@ -1091,6 +1115,14 @@ <h3>Method Details</h3>
1091
1115
"vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
1092
1116
"vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
1093
1117
},
1118
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
1119
+ "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker.
1120
+ "modelName": "A String", # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1121
+ },
1122
+ "rankService": { # Config for Rank Service. # Optional. Config for Rank Service.
1123
+ "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
1124
+ },
1125
+ },
1094
1126
"topK": 42, # Optional. The number of contexts to retrieve.
1095
1127
},
1096
1128
"similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora.
@@ -1353,6 +1385,14 @@ <h3>Method Details</h3>
1353
1385
"vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
1354
1386
"vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
1355
1387
},
1388
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
1389
+ "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker.
1390
+ "modelName": "A String", # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1391
+ },
1392
+ "rankService": { # Config for Rank Service. # Optional. Config for Rank Service.
1393
+ "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
1394
+ },
1395
+ },
1356
1396
"topK": 42, # Optional. The number of contexts to retrieve.
1357
1397
},
1358
1398
"similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora.
@@ -1597,6 +1637,14 @@ <h3>Method Details</h3>
1597
1637
"vectorDistanceThreshold": 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
1598
1638
"vectorSimilarityThreshold": 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
1599
1639
},
1640
+ "ranking": { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
1641
+ "llmRanker": { # Config for LlmRanker. # Optional. Config for LlmRanker.
1642
+ "modelName": "A String", # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1643
+ },
1644
+ "rankService": { # Config for Rank Service. # Optional. Config for Rank Service.
1645
+ "modelName": "A String", # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
1646
+ },
1647
+ },
1600
1648
"topK": 42, # Optional. The number of contexts to retrieve.
1601
1649
},
1602
1650
"similarityTopK": 42, # Optional. Number of top k results to return from the selected corpora.
0 commit comments