rchrdgwr commited on
Commit
9afb5c4
·
1 Parent(s): 7c07dc7

remove Number of found context

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -92,14 +92,14 @@ async def main(message):
92
  await msg.stream_token(chunk)
93
 
94
  # Send the response back to the user
95
- await msg.send()
96
 
97
- context_documents = response["context"]
98
- num_contexts = len(context_documents)
99
- context_msg = f"Number of found context: {num_contexts}"
100
 
101
 
102
- await cl.Message(content=context_msg).send()
103
 
104
  # for doc in context_documents:
105
  # document_title = doc.metadata.get("source", "Unknown Document")
 
92
  await msg.stream_token(chunk)
93
 
94
  # Send the response back to the user
95
+ # await msg.send()
96
 
97
+ # context_documents = response["context"]
98
+ # num_contexts = len(context_documents)
99
+ # context_msg = f"Number of found context: {num_contexts}"
100
 
101
 
102
+ # await cl.Message(content=context_msg).send()
103
 
104
  # for doc in context_documents:
105
  # document_title = doc.metadata.get("source", "Unknown Document")