Closed argenisleon closed 8 months ago
Hi @argenisleon, I deeply appreciate your help and support.
The issue has been resolved in this pull request. You can now upgrade to llama_index
version 0.9.21 to use (Long)LLMLingua in LlamaIndex.
Wishing you a pleasant holiday season!
Hi,
When calling
LongLLMLinguaPostprocessor
function on the example https://github.com/microsoft/LLMLingua/blob/main/examples/RAGLlamaIndex.ipynb I got an errorThe call got to this line https://github.com/run-llama/llama_index/blob/4c922a1ff7e2d204c13bb926e1596669a937916a/llama_index/postprocessor/longllmlingua.py#L56 to call
which uses
use_auth_token
but the functionPromptCompressor
on this line https://github.com/microsoft/LLMLingua/blob/bf6723c3eca3569d23c4ec367c588660dc2e65e7/llmlingua/prompt_compressor.py#L24do not accept
use_auth_token
.There seems some inconsistency between llama_index and LLMLingua Anything I could help?