langchain/docs
Ayo Ayibiowu ac1d7d9de8
community[feat]: Adds LLMLingua as a document compressor (#17711)
**Description**: This PR adds support for using the [LLMLingua project
](https://github.com/microsoft/LLMLingua) especially the LongLLMLingua
(Enhancing Large Language Model Inference via Prompt Compression) as a
document compressor / transformer.

The LLMLingua project is an interesting project that can greatly improve
RAG system by compressing prompts and contexts while keeping their
semantic relevance.

**Issue**: https://github.com/microsoft/LLMLingua/issues/31
**Dependencies**: [llmlingua](https://pypi.org/project/llmlingua/)

@baskaryan

---------

Co-authored-by: Ayodeji Ayibiowu <ayodeji.ayibiowu@getinge.com>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2024-02-27 19:23:56 -08:00
..
api_reference infra: create api rst for specific pkg (#18144) 2024-02-26 11:04:22 -08:00
data 👥 Update LangChain people data (#17900) 2024-02-21 16:38:28 -08:00
docs community[feat]: Adds LLMLingua as a document compressor (#17711) 2024-02-27 19:23:56 -08:00
scripts infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
src 👥 Update LangChain people data (#17743) 2024-02-20 18:30:11 -08:00
static docs: logo (#17972) 2024-02-22 15:20:34 -08:00
.local_build.sh docs: partner packages (#16960) 2024-02-02 15:12:21 -08:00
babel.config.js
code-block-loader.js
docusaurus.config.js docs: logo (#17972) 2024-02-22 15:20:34 -08:00
package-lock.json
package.json 👥 Update LangChain people data (#17743) 2024-02-20 18:30:11 -08:00
README.md
settings.ini
sidebars.js docs: Toolkits menu (#16217) 2024-02-08 14:52:26 -08:00
vercel_build.sh
vercel_requirements.txt
vercel.json Redirect the expression language guides (#17914) 2024-02-22 00:39:57 -08:00

LangChain Documentation

For more information on contributing to our documentation, see the Documentation Contributing Guide