langchain/libs/community/langchain_community/document_compressors
X-HAN 34edfe4a16
community[minor]: add Volcengine Rerank (#22700)
**Description:** this PR adds Volcengine Rerank capability to Langchain,
you can find Volcengine Rerank API from
[here](https://www.volcengine.com/docs/84313/1254474) &
[here](https://www.volcengine.com/docs/84313/1254605).
[Volcengine](https://www.volcengine.com/) is a cloud service platform
developed by ByteDance, the parent company of TikTok. You can obtain
Volcengine API AK/SK from
[here](https://www.volcengine.com/docs/84313/1254553).

**Dependencies:** VolcengineRerank depends on `volcengine` python
package.

**Twitter handle:** my twitter/x account is https://x.com/LastMonopoly
and I'd like a mention, thank you!


**Tests and docs**
  1. integration test: `test_volcengine_rerank.py`
  2. example notebook: `volcengine_rerank.ipynb`

**Lint and test**: I have run `make format`, `make lint` and `make test`
from the root of the package I've modified.
2024-06-10 13:41:05 -07:00
..
__init__.py community[minor]: add Volcengine Rerank (#22700) 2024-06-10 13:41:05 -07:00
dashscope_rerank.py community[minor]: add DashScope Rerank (#22403) 2024-06-05 15:40:21 -07:00
flashrank_rerank.py Harrison/move flashrank rerank (#21448) 2024-05-15 13:08:52 -07:00
jina_rerank.py community[mionr]: add Jina Reranker in retrievers module (#19406) 2024-04-25 10:27:10 -07:00
llmlingua_filter.py
openvino_rerank.py community[patch]: Update OpenVINO embedding and reranker to support static input shape (#22171) 2024-06-03 13:27:17 -07:00
rankllm_rerank.py langchain: add RankLLM Reranker (#21171) 2024-05-22 20:12:55 +00:00
volcengine_rerank.py community[minor]: add Volcengine Rerank (#22700) 2024-06-10 13:41:05 -07:00