cawacci commited on
Commit
2178651
โ€ข
1 Parent(s): de0a3f3

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
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. 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
  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
  ===