Ask a question to get started
Enter to send•Shift+Enter new line
NVIDIARerank( self, *, nvidia_api_key: Optional[str] = None, api_key: Optional[
BaseDocumentCompressor
nvidia_api_key
Optional[str]
None
The API key to use for connecting to the hosted NIM.
api_key
Alternative to nvidia_api_key.
**kwargs
Any
{}
Get a list of available models that work with NVIDIARerank.
NVIDIARerank
Compress documents using the NVIDIA NeMo Retriever Reranking microservice API.
Async version of compress_documents.
LangChain Document Compressor that uses the NVIDIA NeMo Retriever Reranking API.
Additional parameters passed to the underlying client.