You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs/docs
Shotaro Sano 6c11c8dac6
docs: Add documentation of `ElasticsearchStore.BM25RetrievalStrategy` (#20098)
This pull request follows up on
https://github.com/langchain-ai/langchain/pull/19314 and
https://github.com/langchain-ai/langchain-elastic/pull/6, adding
documentation for the `ElasticsearchStore.BM25RetrievalStrategy`.

Like other retrieval strategies, we are now introducing
BM25RetrievalStrategy.

### Background
- The `BM25RetrievalStrategy` has been introduced to `langchain-elastic`
via the pull request
https://github.com/langchain-ai/langchain-elastic/pull/6.
- This PR was initially created in the main `langchain` repository but
was moved to `langchain-elastic` during the review process due to the
migration of the partner package.
- The original PR can be found at
https://github.com/langchain-ai/langchain/pull/19314.
- As
[commented](https://github.com/langchain-ai/langchain/pull/19314#issuecomment-2023202401)
by @joemcelroy, documenting the new retrieval strategy is part of the
requirements for its introduction.

Although the `BM25RetrievalStrategy` has been merged into
`langchain-elastic`, its documentation is still to be maintained in the
main `langchain` repository. Therefore, this pull request adds the
documentation portion of `BM25RetrievalStrategy`.

The content of the documentation remains the same as that included in
the original PR, https://github.com/langchain-ai/langchain/pull/19314.

---------

Co-authored-by: Max Jakob <max.jakob@elastic.co>
5 months ago
..
_templates Docs: Fixed grammatical mistake (#16858) 7 months ago
additional_resources docs: reorg and visual refresh (#19765) 5 months ago
changelog docs: add changelog (#15606) 8 months ago
contributing docs[patch]: Make Docusaurus and Vercel add trailing slashes when navigating by default (#20014) 5 months ago
expression_language docs[patch]: Make Docusaurus and Vercel add trailing slashes when navigating by default (#20014) 5 months ago
get_started anthropic[patch]: standardize init args (#20161) 5 months ago
guides docs: use standard openai params (#20160) 5 months ago
integrations docs: Add documentation of `ElasticsearchStore.BM25RetrievalStrategy` (#20098) 5 months ago
langsmith docs: reorg and visual refresh (#19765) 5 months ago
modules community[patch], langchain[minor]: Enhance Tencent Cloud VectorDB, langchain: make Tencent Cloud VectorDB self query retrieve compatible (#19651) 5 months ago
use_cases docs: use standard openai params (#20160) 5 months ago
.gitignore Restructure docs (#11620) 11 months ago
packages.mdx docs: release date fix (#19585) 6 months ago
people.mdx 👥 Update LangChain people data (#17743) 7 months ago
security.md Docs: remove sales from security (#18762) 6 months ago