Spaces:
Sleeping
Sleeping
Commit ·
bb9260b
1
Parent(s): 0bc1ca9
tree summarizer + top k = 30
Browse files- index_retriever.py +1 -1
index_retriever.py
CHANGED
|
@@ -33,7 +33,7 @@ def create_query_engine(vector_index):
|
|
| 33 |
|
| 34 |
custom_prompt_template = PromptTemplate(PROMPT_SIMPLE_POISK)
|
| 35 |
response_synthesizer = get_response_synthesizer(
|
| 36 |
-
response_mode=ResponseMode.
|
| 37 |
text_qa_template=custom_prompt_template
|
| 38 |
)
|
| 39 |
|
|
|
|
| 33 |
|
| 34 |
custom_prompt_template = PromptTemplate(PROMPT_SIMPLE_POISK)
|
| 35 |
response_synthesizer = get_response_synthesizer(
|
| 36 |
+
response_mode=ResponseMode.TREE_SUMMARIZE,
|
| 37 |
text_qa_template=custom_prompt_template
|
| 38 |
)
|
| 39 |
|