You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"vertexRagStore": { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.
333
-
"ragCorpora": [ # Required. Vertex RAG Store corpus resource name: `projects/{project}/locations/{location}/ragCorpora/{ragCorpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.
333
+
"ragCorpora": [ # Optional. Deprecated. Please use rag_resources instead.
334
334
"A String",
335
335
],
336
+
"ragResources": [ # Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
"vertexRagStore": { # Retrieve from Vertex RAG Store for grounding. # Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.
626
-
"ragCorpora": [ # Required. Vertex RAG Store corpus resource name: `projects/{project}/locations/{location}/ragCorpora/{ragCorpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.
634
+
"ragCorpora": [ # Optional. Deprecated. Please use rag_resources instead.
627
635
"A String",
628
636
],
637
+
"ragResources": [ # Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
"description": "Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.",
784
+
"items": {
785
+
"type": "string"
786
+
},
787
+
"type": "array"
788
+
}
789
+
},
790
+
"type": "object"
791
+
},
774
792
"Retrieval": {
775
793
"description": "Defines a retrieval tool that model can call to access external knowledge.",
776
794
"id": "Retrieval",
@@ -1132,12 +1150,19 @@
1132
1150
"id": "VertexRagStore",
1133
1151
"properties": {
1134
1152
"ragCorpora": {
1135
-
"description": "Required. Vertex RAG Store corpus resource name: `projects/{project}/locations/{location}/ragCorpora/{ragCorpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location.",
1153
+
"description": "Optional. Deprecated. Please use rag_resources instead.",
1136
1154
"items": {
1137
1155
"type": "string"
1138
1156
},
1139
1157
"type": "array"
1140
1158
},
1159
+
"ragResources": {
1160
+
"description": "Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.",
1161
+
"items": {
1162
+
"$ref": "RagResource"
1163
+
},
1164
+
"type": "array"
1165
+
},
1141
1166
"similarityTopK": {
1142
1167
"description": "Optional. Number of top k results to return from the selected corpora.",
0 commit comments