Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ def generate_insights():
|
|
142 |
)
|
143 |
# configure response synthesizer
|
144 |
response_synthesizer = get_response_synthesizer(
|
145 |
-
response_mode="
|
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="
|
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
|