@@ -321,6 +321,21 @@ message VertexRagStore {
321321// datastore and engine are mutually exclusive.
322322// See https://cloud.google.com/products/agent-builder
323323message VertexAISearch {
324+ // Define data stores within engine to filter on in a search call and
325+ // configurations for those data stores. For more information, see
326+ // https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec
327+ message DataStoreSpec {
328+ // Full resource name of DataStore, such as
329+ // Format:
330+ // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
331+ string data_store = 1 ;
332+
333+ // Optional. Filter specification to filter documents in the data store
334+ // specified by data_store field. For more information on filtering, see
335+ // [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
336+ string filter = 2 [(google.api.field_behavior ) = OPTIONAL ];
337+ }
338+
324339 // Optional. Fully-qualified Vertex AI Search data store resource ID.
325340 // Format:
326341 // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
@@ -330,6 +345,20 @@ message VertexAISearch {
330345 // Format:
331346 // `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`
332347 string engine = 2 [(google.api.field_behavior ) = OPTIONAL ];
348+
349+ // Optional. Number of search results to return per query.
350+ // The default value is 10.
351+ // The maximumm allowed value is 10.
352+ int32 max_results = 3 [(google.api.field_behavior ) = OPTIONAL ];
353+
354+ // Optional. Filter strings to be passed to the search API.
355+ string filter = 4 [(google.api.field_behavior ) = OPTIONAL ];
356+
357+ // Specifications that define the specific DataStores to be searched, along
358+ // with configurations for those data stores. This is only considered for
359+ // Engines with multiple data stores.
360+ // It should only be set if engine is used.
361+ repeated DataStoreSpec data_store_specs = 5 ;
333362}
334363
335364// Tool to retrieve public web data for grounding, powered by Google.
0 commit comments