Spaces:
Runtime error
Runtime error
Update ingest.py
Browse files
ingest.py
CHANGED
|
@@ -26,7 +26,7 @@ def run_ingestion():
|
|
| 26 |
|
| 27 |
# 2. Setup BM25 Retriever
|
| 28 |
bm25 = BM25Retriever.from_documents(documents)
|
| 29 |
-
bm25.k =
|
| 30 |
|
| 31 |
# 3. Save local stores to disk
|
| 32 |
local_data = {
|
|
|
|
| 26 |
|
| 27 |
# 2. Setup BM25 Retriever
|
| 28 |
bm25 = BM25Retriever.from_documents(documents)
|
| 29 |
+
bm25.k = 5
|
| 30 |
|
| 31 |
# 3. Save local stores to disk
|
| 32 |
local_data = {
|