Closed AIAnytime closed 4 months ago
Hi @AIAnytime,
Currently, we do not have an official implementation of LLMLingua for Langchain. If you are willing to contribute your implementation, I would be delighted to feature it on our homepage. Details regarding the implementation can be found in #31. Thank you once again for your support.
Thanks to @thehapyone's contribution, LLMLingua is now available in Langchain. You can follow this notebook for guidance.
Thanks to @thehapyone's contribution, LLMLingua is now available in Langchain. You can follow this notebook for guidance.
Which notebook?
I can confirm this is not working with Langchain and it gives below error:
`---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
ModuleNotFoundError: No module named 'langchain_community.retrievers.document_compressors'`
Which notebook?
`---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
ModuleNotFoundError: No module named 'langchain_community.retrievers.document_compressors'`
I double checked that I have installed it but it gives the error.
You have to wait for the langchain team to release a new version of the community package - https://github.com/langchain-ai/langchain/releases
You have to wait for the langchain team to release a new version of the community package - https://github.com/langchain-ai/langchain/releases
Is the issue got fixed for langchain? I can see there is a new release of langchain two days ago
I can see there is no docs available for community to use LLMLingua with Langchain. We have with Llama Index but not langchain. Is there any example how one can use this in Langchain for RAG use cases?