Spaces:
Sleeping
Sleeping
Commit ·
a4a7b07
1
Parent(s): c7b4a00
max chars = 3000 + max rows =15, topk 80+ 80 = 120, cut off = 0.55
Browse files- config.py +1 -1
- index_retriever.py +1 -1
config.py
CHANGED
|
@@ -52,7 +52,7 @@ DEFAULT_MODEL = "Gemini 2.5 Flash"
|
|
| 52 |
CHUNK_SIZE = 1500
|
| 53 |
CHUNK_OVERLAP = 128
|
| 54 |
|
| 55 |
-
MAX_CHARS_TABLE =
|
| 56 |
MAX_ROWS_TABLE = 15
|
| 57 |
|
| 58 |
CUSTOM_PROMPT = """
|
|
|
|
| 52 |
CHUNK_SIZE = 1500
|
| 53 |
CHUNK_OVERLAP = 128
|
| 54 |
|
| 55 |
+
MAX_CHARS_TABLE = 3000
|
| 56 |
MAX_ROWS_TABLE = 15
|
| 57 |
|
| 58 |
CUSTOM_PROMPT = """
|
index_retriever.py
CHANGED
|
@@ -77,7 +77,7 @@ def create_query_engine(vector_index):
|
|
| 77 |
vector_retriever = VectorIndexRetriever(
|
| 78 |
index=vector_index,
|
| 79 |
similarity_top_k=80,
|
| 80 |
-
similarity_cutoff=0.
|
| 81 |
)
|
| 82 |
|
| 83 |
hybrid_retriever = QueryFusionRetriever(
|
|
|
|
| 77 |
vector_retriever = VectorIndexRetriever(
|
| 78 |
index=vector_index,
|
| 79 |
similarity_top_k=80,
|
| 80 |
+
similarity_cutoff=0.55
|
| 81 |
)
|
| 82 |
|
| 83 |
hybrid_retriever = QueryFusionRetriever(
|