Merge pull request #554 from Ithanil/bm25_weight
Some checks failed
Deploy site to Pages / build (push) Has been cancelled
Deploy site to Pages / deploy (push) Has been cancelled

Docs for bm25_weight
This commit is contained in:
Tim Jaeryang Baek 2025-05-24 01:13:07 +04:00 committed by GitHub
commit bc5cecd2de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1381,6 +1381,13 @@ When using Pinecone as the vector store, the following environment variables are
- Description: Sets the relevance threshold to consider for documents when used with reranking. - Description: Sets the relevance threshold to consider for documents when used with reranking.
- Persistence: This environment variable is a `PersistentConfig` variable. - Persistence: This environment variable is a `PersistentConfig` variable.
#### `RAG_HYBRID_BM25_WEIGHT`
- Type: `float`
- Default: `0.5`
- Description: Sets the weight given to the keyword search (BM25) during hybrid search. 1 means only keyword serach, 0 means only vector search.
- Persistence: This environment variable is a `PersistentConfig` variable.
#### `RAG_TEMPLATE` #### `RAG_TEMPLATE`
- Type: `str` - Type: `str`