From cca3ba0bdab4b399dd5e5a3f3a0fd34d25b8da57 Mon Sep 17 00:00:00 2001
From: Jan Kessler <jakessle@uni-mainz.de>
Date: Tue, 20 May 2025 12:09:52 +0200
Subject: [PATCH] docs for bm25_weight

---
 docs/getting-started/env-configuration.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md
index 21398dd..45aa8d6 100644
--- a/docs/getting-started/env-configuration.md
+++ b/docs/getting-started/env-configuration.md
@@ -1355,6 +1355,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.
 - Persistence: This environment variable is a `PersistentConfig` variable.
 
+#### `RAG_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`
 
 - Type: `str`