MrSimple07 commited on
Commit
bb9260b
·
1 Parent(s): 0bc1ca9

tree summarizer + top k = 30

Browse files
Files changed (1) hide show
  1. 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.COMPACT,
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