Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -267,12 +267,19 @@ def web_search(ss: SessionState, query) -> (SessionState, str):
|
|
267 |
# --------------------------------------
|
268 |
|
269 |
# Tokens: OpenAI 104/ Llama 105 <- In Japanese: Tokens: OpenAI 191/ Llama 162
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
sys_chat_message = """
|
271 |
-
You are an outstanding AI concierge.
|
272 |
-
|
273 |
-
|
274 |
-
"่ช ใซ็ณใ่จณใใใใพใใใใใใฎ็นใซใคใใฆใฏใใใใใญใพใ".
|
275 |
-
""".
|
276 |
|
277 |
chat_common_format = """
|
278 |
===
|
|
|
267 |
# --------------------------------------
|
268 |
|
269 |
# Tokens: OpenAI 104/ Llama 105 <- In Japanese: Tokens: OpenAI 191/ Llama 162
|
270 |
+
# sys_chat_message = """
|
271 |
+
# You are an outstanding AI concierge. Understand the intent of the customer's questions based on
|
272 |
+
# the conversation history. Then, answer them with many specific and detailed information in Japanese.
|
273 |
+
# If you do not know the answer to a question, do make up an answer and says
|
274 |
+
# "่ช ใซ็ณใ่จณใใใใพใใใใใใฎ็นใซใคใใฆใฏใใใใใญใพใ".
|
275 |
+
# """.replace("\n", "")
|
276 |
+
|
277 |
sys_chat_message = """
|
278 |
+
You are an outstanding AI concierge.
|
279 |
+
1) Understand the intent of the customer's questions based on the conversation history.
|
280 |
+
2) Then, by using references if available, answer the question with many specific and detailed information in Japanese.
|
281 |
+
3) If the reference does not provide answer to the question at all, and you do not know the answer, do make up an answer and says "่ช ใซ็ณใ่จณใใใใพใใใใใใฎ็นใซใคใใฆใฏใใใใใญใพใ".
|
282 |
+
""".strip()
|
283 |
|
284 |
chat_common_format = """
|
285 |
===
|