Update app.py
Browse files
app.py
CHANGED
@@ -204,7 +204,7 @@ async def chat(query,history,audience,sources,reports):
|
|
204 |
"question":output_query,
|
205 |
"sources":sources,
|
206 |
"docs":serialize_docs(docs),
|
207 |
-
"answer": history[-1]
|
208 |
"time": timestamp,
|
209 |
}
|
210 |
log_on_azure(file, logs, share_client)
|
|
|
204 |
"question":output_query,
|
205 |
"sources":sources,
|
206 |
"docs":serialize_docs(docs),
|
207 |
+
"answer": history[-1].content,
|
208 |
"time": timestamp,
|
209 |
}
|
210 |
log_on_azure(file, logs, share_client)
|