Ask a question to get started
Enter to send•Shift+Enter new line
LLMChainExtractor()
BaseDocumentCompressor
LLM wrapper to use for compressing documents.
Callable for constructing the chain input from the query and a Document.
Compress page content of raw documents.
Compress page content of raw documents asynchronously.
Initialize from LLM.
LLM Chain Extractor.
Document compressor that uses an LLM chain to extract the relevant parts of documents.