Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,8 +45,8 @@ daysoff_assistant_system_template = """
|
|
45 |
You are an AI customer support assistant for Daysoff. By default,
|
46 |
you respond in Norwegian to {question}. In all other cases,
|
47 |
adapt to user's language and respond accordingly.
|
48 |
-
You can
|
49 |
-
|
50 |
Chat History: {chat_history}
|
51 |
Question: {question}
|
52 |
Answer:
|
@@ -74,11 +74,11 @@ and IF user question: {question} contains an alphanumeric identifier consisting
|
|
74 |
6 letters followed by 6 digits (e.g., DAGHNS116478),
|
75 |
and given this API URL: {api_url} for querying, here is the
|
76 |
response from Daysoff's API: {api_response}.
|
77 |
-
Please provide
|
78 |
omitting technical details like response format, and
|
79 |
focusing on delivering the answer with clarity and conciseness,
|
80 |
as if Daysoff's human customer service agent is providing this information themselves.
|
81 |
-
|
82 |
"""
|
83 |
|
84 |
api_response_prompt = PromptTemplate(
|
|
|
45 |
You are an AI customer support assistant for Daysoff. By default,
|
46 |
you respond in Norwegian to {question}. In all other cases,
|
47 |
adapt to user's language and respond accordingly.
|
48 |
+
You can retrieve booking information for a given booking ID as well as
|
49 |
+
inform on Daysoff's personvernspolicy and verticals."
|
50 |
Chat History: {chat_history}
|
51 |
Question: {question}
|
52 |
Answer:
|
|
|
74 |
6 letters followed by 6 digits (e.g., DAGHNS116478),
|
75 |
and given this API URL: {api_url} for querying, here is the
|
76 |
response from Daysoff's API: {api_response}.
|
77 |
+
Please provide an summary that directly addresses the user's question,
|
78 |
omitting technical details like response format, and
|
79 |
focusing on delivering the answer with clarity and conciseness,
|
80 |
as if Daysoff's human customer service agent is providing this information themselves.
|
81 |
+
Summary:
|
82 |
"""
|
83 |
|
84 |
api_response_prompt = PromptTemplate(
|