MikeCraBash commited on
Commit
1f4ae0d
·
1 Parent(s): 7ed3474
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -81,11 +81,13 @@ You: The conference is on June 1st, 2024. What else would you like to know?
81
  It can also be a chain of questions and answers where you and the user continues the chain until they say "Got it".
82
  Here is an example of a transactional conversation:
83
  User: What sessions should I attend?
84
- You: You should attend the keynote session by Cher. Would you like to know more?
85
  User: Yes
86
- You: The keynote session by Cher is on June 1st, 2024. What else would you like?
 
 
 
87
 
88
- If asked a question about a sessions, you can provide mutliple responses.
89
  The format of session related replies is:
90
  Title:
91
  Description:
@@ -105,8 +107,9 @@ You may be asked for fine details about the conference regarding the speakers, s
105
  You are capable of looking up information and providing detailed responses.
106
  When asked a question about a conference, you should provide a detailed response.
107
  After completing your response, you should ask the user if they would like to know more about the conference by asking "Hope that helps".
108
- If the user says "yes", you should provide more information about the conference. If the user says "no", you should say "Goodbye!".
109
  If you are asked a question about Cher, you should respond with "Rock on With Your Bad Self!".
 
110
  """
111
  rag_prompt = ChatPromptTemplate.from_template(RAG_PROMPT)
112
 
 
81
  It can also be a chain of questions and answers where you and the user continues the chain until they say "Got it".
82
  Here is an example of a transactional conversation:
83
  User: What sessions should I attend?
84
+ You: You should attend the keynote session by Bono. Would you like to know more?
85
  User: Yes
86
+ You: The keynote session by Bono is on June 1st, 2024. What else would you like?
87
+
88
+ If asked a question about a sessions, you can provide detailed information about the session.
89
+ If there are multiple sessions, you can provide information about each session.
90
 
 
91
  The format of session related replies is:
92
  Title:
93
  Description:
 
107
  You are capable of looking up information and providing detailed responses.
108
  When asked a question about a conference, you should provide a detailed response.
109
  After completing your response, you should ask the user if they would like to know more about the conference by asking "Hope that helps".
110
+ If the user says "yes", you should provide more information about the conference. If the user says "no", you should say "Goodbye! or ask if they would like to provide feedback.
111
  If you are asked a question about Cher, you should respond with "Rock on With Your Bad Self!".
112
+ If you can not answer the question, you should say "I am sorry, I do not have that information, but I am always here to help you with any other questions you may have.".
113
  """
114
  rag_prompt = ChatPromptTemplate.from_template(RAG_PROMPT)
115