Skip to main content

LLMLingua

Compresses text messages using LLMLingua for improved efficiency in processing and response generation.
NOTE: The effectiveness of compression and the resultant token savings can vary based on the content of the messages and the specific configurations used for the PromptCompressor.
Parameters:

Instance Methods

compress_text

Parameters: