Spaces:
Runtime error
Runtime error
incre top_k_result
Browse files- core/config.py +1 -1
core/config.py
CHANGED
|
@@ -21,7 +21,7 @@ CROSS_ENCODER_MODEL = os.getenv('CROSS_ENCODER_MODEL', 'BAAI/bge-reranker-base')
|
|
| 21 |
# Chunking and retrieval settings
|
| 22 |
CHUNK_SIZE = int(os.getenv('CHUNK_SIZE', '800'))
|
| 23 |
CHUNK_OVERLAP = int(os.getenv('CHUNK_OVERLAP', '150'))
|
| 24 |
-
TOP_K_RESULTS = int(os.getenv('TOP_K_RESULTS', '
|
| 25 |
FINAL_TOP_K = int(os.getenv('FINAL_TOP_K', '5'))
|
| 26 |
|
| 27 |
DATA_DIR = os.getenv('DATA_DIR', 'data')
|
|
|
|
| 21 |
# Chunking and retrieval settings
|
| 22 |
CHUNK_SIZE = int(os.getenv('CHUNK_SIZE', '800'))
|
| 23 |
CHUNK_OVERLAP = int(os.getenv('CHUNK_OVERLAP', '150'))
|
| 24 |
+
TOP_K_RESULTS = int(os.getenv('TOP_K_RESULTS', '25'))
|
| 25 |
FINAL_TOP_K = int(os.getenv('FINAL_TOP_K', '5'))
|
| 26 |
|
| 27 |
DATA_DIR = os.getenv('DATA_DIR', 'data')
|