Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,8 +86,7 @@ and the specific user question: {question} in mind,
|
|
86 |
and given this API URL: {api_url} for querying,
|
87 |
here is the response from Daysoff's API: {api_response}.
|
88 |
Please provide an summary (in Norwegian) that directly addresses the user's question,
|
89 |
-
|
90 |
-
focusing on delivering the answer with clarity and conciseness,
|
91 |
as if a human customer service agent is providing this information.
|
92 |
Summary:
|
93 |
"""
|
@@ -171,7 +170,7 @@ async def handle_message(message: cl.Message):
|
|
171 |
| Message: | {booking_info.get('Message', 'N/A')} |
|
172 |
"""
|
173 |
|
174 |
-
await cl.Message(content=formatted_response).send()
|
175 |
|
176 |
else:
|
177 |
response = await llm_chain.acall(user_message, callbacks=[cl.AsyncLangchainCallbackHandler()])
|
|
|
86 |
and given this API URL: {api_url} for querying,
|
87 |
here is the response from Daysoff's API: {api_response}.
|
88 |
Please provide an summary (in Norwegian) that directly addresses the user's question,
|
89 |
+
and focusing on delivering the answer with clarity and conciseness,
|
|
|
90 |
as if a human customer service agent is providing this information.
|
91 |
Summary:
|
92 |
"""
|
|
|
170 |
| Message: | {booking_info.get('Message', 'N/A')} |
|
171 |
"""
|
172 |
|
173 |
+
await cl.Message(content=formatted_response, "output").send()
|
174 |
|
175 |
else:
|
176 |
response = await llm_chain.acall(user_message, callbacks=[cl.AsyncLangchainCallbackHandler()])
|