VertexAIRank(
self,
**kwargs: Any = {},
)Document compressor using Vertex AI Ranking API.
Inherits from
BaseDocumentCompressor.
Reranks documents based on relevance to a query using Google's semantic ranking model.
Google Cloud project ID.
Location ID for the ranking service.
Name of the rank service config.
Model identifier.
Number of results to return.
If True, response contains only record ID and score.
Unique document metadata field to use as an ID.
Document metadata field to use as title.
Google Cloud credentials object.
Path to the Google Cloud service account credentials file.
Timeout for API calls in seconds.
Compress documents using Vertex AI rerank API.