LLMLingua

LLMLingua(**kwargs)

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:
NameDescription
**kwargs

Class Attributes

compress_text