SearchRequest defines the request to search for documents.
Optional metadata filter string to apply to search results. Uses AIP-160 filter syntax for querying document metadata. Supports comparison operators: =, !=, >, >=, <, <= Supports logical operators: AND, OR Supports range syntax: field:10..20 (inclusive) Examples: author = "John" or year > 2020 AND category = "finance"
Group search results by metadata key(s) and keep top-k per group.
User-defined instructions to be included in the search query. Defaults to generic search instructions.
The number of chunks to return. Will always return the top matching chunks. Optional, defaults to 10.
The query to search for which will be embedded using the same embedding model as the one used for the source to query.
Deprecated: Metric now comes from collection creation.
Retrieval mode configuration for document search.
DocumentsSource defines the source of documents to search over.
Success
SearchResponse defines the response to a search request.
The search matches.