langchain_community.retrievers.google_vertex_ai_search.GoogleVertexAIMultiTurnSearchRetriever¶
class langchain_community.retrievers.google_vertex_ai_search.GoogleVertexAIMultiTurnSearchRetriever[source]¶
Bases: BaseRetriever, _BaseGoogleVertexAISearchRetriever
Google Vertex AI Search retriever for multi-turn conversations.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
param conversation_id: str = '-'¶
Vertex AI Search Conversation ID.
param credentials: Any = None¶
The default custom credentials (google.auth.credentials.Credentials) to use
when making API calls. If not provided, credentials will be ascertained from
the environment.
param data_store_id: str [Required]¶
Vertex AI Search data store ID.
param engine_data_type: int = 0¶
Defines the Vertex AI Search data type
0 - Unstructured data
1 - Structured data
2 - Website data
Constraints
minimum = 0
maximum = 2
param location_id: str = 'global'¶
Vertex AI Search data store location.
param metadata: Optional[Dict[str, Any]] = None¶
Optional metadata associated with the retriever. Defaults to None
This metadata will be associated with each call to this retriever,
and passed as arguments to the handlers defined in callbacks.
You can use these to eg identify a specific instance of a retriever with its
use case.
param project_id: str [Required]¶
Google Cloud Project ID.
param serving_config_id: str = 'default_config'¶
Vertex AI Search serving config ID.
param tags: Optional[List[str]] = None¶
Optional list of tags associated with the retriever. Defaults to None
These tags will be associated with each call to this retriever,