bpHigh commited on
Commit
35ddc18
1 Parent(s): f620ae0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -142,7 +142,7 @@ def generate_insights():
142
  )
143
  # configure response synthesizer
144
  response_synthesizer = get_response_synthesizer(
145
- response_mode="tree_summarize", service_context=service_context
146
  )
147
 
148
  # assemble query engine
@@ -266,7 +266,7 @@ if st.session_state.vector_store is not None:
266
  )
267
  # configure response synthesizer
268
  response_synthesizer = get_response_synthesizer(
269
- response_mode="tree_summarize", service_context=service_context
270
  )
271
 
272
  # assemble query engine
 
142
  )
143
  # configure response synthesizer
144
  response_synthesizer = get_response_synthesizer(
145
+ response_mode="simple_summarize", service_context=service_context
146
  )
147
 
148
  # assemble query engine
 
266
  )
267
  # configure response synthesizer
268
  response_synthesizer = get_response_synthesizer(
269
+ response_mode="compact", service_context=service_context
270
  )
271
 
272
  # assemble query engine