Skip to content

Commit b71638c

Browse files
feat(aiplatform): update the api
#### aiplatform:v1 The following keys were added: - resources.projects.resources.locations.resources.featureGroups.methods.getIamPolicy (Total Keys: 14) - resources.projects.resources.locations.resources.featureGroups.methods.setIamPolicy (Total Keys: 12) - resources.projects.resources.locations.resources.featureGroups.methods.testIamPermissions (Total Keys: 14) - schemas.GoogleCloudAiplatformV1FeatureGroup.properties.serviceAccountEmail (Total Keys: 2) - schemas.GoogleCloudAiplatformV1FeatureGroup.properties.serviceAgentType.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1GroundingChunkWeb.properties.domain.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1RagCorpus.properties.vertexAiSearchConfig.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1RagRetrievalConfig.properties.ranking.$ref (Total Keys: 1) - schemas.GoogleCloudAiplatformV1RagRetrievalConfigRanking (Total Keys: 10) - schemas.GoogleCloudAiplatformV1VertexAiSearchConfig (Total Keys: 3) #### aiplatform:v1beta1 The following keys were added: - schemas.GoogleCloudAiplatformV1beta1FunctionCall.properties.id.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1FunctionResponse.properties.id.type (Total Keys: 1) - schemas.GoogleCloudAiplatformV1beta1GroundingChunkWeb.properties.domain.type (Total Keys: 1)
1 parent 1d949e1 commit b71638c

23 files changed

+681
-42
lines changed

docs/dyn/aiplatform_v1.endpoints.html

+26
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,14 @@ <h3>Method Details</h3>
460460
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
461461
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
462462
},
463+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
464+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
465+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
466+
},
467+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
468+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
469+
},
470+
},
463471
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
464472
},
465473
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -791,6 +799,14 @@ <h3>Method Details</h3>
791799
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
792800
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
793801
},
802+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
803+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
804+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
805+
},
806+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
807+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
808+
},
809+
},
794810
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
795811
},
796812
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -882,6 +898,7 @@ <h3>Method Details</h3>
882898
&quot;uri&quot;: &quot;A String&quot;, # URI reference of the attribution.
883899
},
884900
&quot;web&quot;: { # Chunk from the web. # Grounding chunk from the web.
901+
&quot;domain&quot;: &quot;A String&quot;, # Domain of the (original) URI.
885902
&quot;title&quot;: &quot;A String&quot;, # Title of the chunk.
886903
&quot;uri&quot;: &quot;A String&quot;, # URI reference of the chunk.
887904
},
@@ -1336,6 +1353,14 @@ <h3>Method Details</h3>
13361353
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
13371354
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
13381355
},
1356+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
1357+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
1358+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1359+
},
1360+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
1361+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
1362+
},
1363+
},
13391364
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
13401365
},
13411366
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -1427,6 +1452,7 @@ <h3>Method Details</h3>
14271452
&quot;uri&quot;: &quot;A String&quot;, # URI reference of the attribution.
14281453
},
14291454
&quot;web&quot;: { # Chunk from the web. # Grounding chunk from the web.
1455+
&quot;domain&quot;: &quot;A String&quot;, # Domain of the (original) URI.
14301456
&quot;title&quot;: &quot;A String&quot;, # Title of the chunk.
14311457
&quot;uri&quot;: &quot;A String&quot;, # URI reference of the chunk.
14321458
},

docs/dyn/aiplatform_v1.projects.locations.cachedContents.html

+48
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,14 @@ <h3>Method Details</h3>
326326
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
327327
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
328328
},
329+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
330+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
331+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
332+
},
333+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
334+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
335+
},
336+
},
329337
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
330338
},
331339
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -569,6 +577,14 @@ <h3>Method Details</h3>
569577
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
570578
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
571579
},
580+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
581+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
582+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
583+
},
584+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
585+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
586+
},
587+
},
572588
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
573589
},
574590
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -837,6 +853,14 @@ <h3>Method Details</h3>
837853
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
838854
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
839855
},
856+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
857+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
858+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
859+
},
860+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
861+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
862+
},
863+
},
840864
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
841865
},
842866
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -1091,6 +1115,14 @@ <h3>Method Details</h3>
10911115
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
10921116
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
10931117
},
1118+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
1119+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
1120+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1121+
},
1122+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
1123+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
1124+
},
1125+
},
10941126
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
10951127
},
10961128
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -1353,6 +1385,14 @@ <h3>Method Details</h3>
13531385
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
13541386
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
13551387
},
1388+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
1389+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
1390+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1391+
},
1392+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
1393+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
1394+
},
1395+
},
13561396
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
13571397
},
13581398
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -1597,6 +1637,14 @@ <h3>Method Details</h3>
15971637
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
15981638
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
15991639
},
1640+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
1641+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
1642+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1643+
},
1644+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
1645+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
1646+
},
1647+
},
16001648
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
16011649
},
16021650
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.

docs/dyn/aiplatform_v1.projects.locations.datasets.dataItems.annotations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h2>Instance Methods</h2>
8484
<p class="firstline">Close httplib2 connections.</p>
8585
<p class="toc_element">
8686
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</a></code></p>
87-
<p class="firstline">Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights.</p>
87+
<p class="firstline">Lists Annotations belongs to a dataitem.</p>
8888
<p class="toc_element">
8989
<code><a href="#list_next">list_next()</a></code></p>
9090
<p class="firstline">Retrieves the next page of results.</p>
@@ -96,7 +96,7 @@ <h3>Method Details</h3>
9696

9797
<div class="method">
9898
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, readMask=None, x__xgafv=None)</code>
99-
<pre>Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights.
99+
<pre>Lists Annotations belongs to a dataitem.
100100

101101
Args:
102102
parent: string, Required. The resource name of the DataItem to list Annotations from. Format: `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` (required)

docs/dyn/aiplatform_v1.projects.locations.endpoints.html

+26
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,14 @@ <h3>Method Details</h3>
524524
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
525525
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
526526
},
527+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
528+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
529+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
530+
},
531+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
532+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
533+
},
534+
},
527535
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
528536
},
529537
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -1774,6 +1782,14 @@ <h3>Method Details</h3>
17741782
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
17751783
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
17761784
},
1785+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
1786+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
1787+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
1788+
},
1789+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
1790+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
1791+
},
1792+
},
17771793
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
17781794
},
17791795
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -1865,6 +1881,7 @@ <h3>Method Details</h3>
18651881
&quot;uri&quot;: &quot;A String&quot;, # URI reference of the attribution.
18661882
},
18671883
&quot;web&quot;: { # Chunk from the web. # Grounding chunk from the web.
1884+
&quot;domain&quot;: &quot;A String&quot;, # Domain of the (original) URI.
18681885
&quot;title&quot;: &quot;A String&quot;, # Title of the chunk.
18691886
&quot;uri&quot;: &quot;A String&quot;, # URI reference of the chunk.
18701887
},
@@ -3778,6 +3795,14 @@ <h3>Method Details</h3>
37783795
&quot;vectorDistanceThreshold&quot;: 3.14, # Optional. Only returns contexts with vector distance smaller than the threshold.
37793796
&quot;vectorSimilarityThreshold&quot;: 3.14, # Optional. Only returns contexts with vector similarity larger than the threshold.
37803797
},
3798+
&quot;ranking&quot;: { # Config for ranking and reranking. # Optional. Config for ranking and reranking.
3799+
&quot;llmRanker&quot;: { # Config for LlmRanker. # Optional. Config for LlmRanker.
3800+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
3801+
},
3802+
&quot;rankService&quot;: { # Config for Rank Service. # Optional. Config for Rank Service.
3803+
&quot;modelName&quot;: &quot;A String&quot;, # Optional. The model name of the rank service. Format: `semantic-ranker-512@latest`
3804+
},
3805+
},
37813806
&quot;topK&quot;: 42, # Optional. The number of contexts to retrieve.
37823807
},
37833808
&quot;similarityTopK&quot;: 42, # Optional. Number of top k results to return from the selected corpora.
@@ -3869,6 +3894,7 @@ <h3>Method Details</h3>
38693894
&quot;uri&quot;: &quot;A String&quot;, # URI reference of the attribution.
38703895
},
38713896
&quot;web&quot;: { # Chunk from the web. # Grounding chunk from the web.
3897+
&quot;domain&quot;: &quot;A String&quot;, # Domain of the (original) URI.
38723898
&quot;title&quot;: &quot;A String&quot;, # Title of the chunk.
38733899
&quot;uri&quot;: &quot;A String&quot;, # URI reference of the chunk.
38743900
},

0 commit comments

Comments
 (0)