Update app.py
Browse files
app.py
CHANGED
|
@@ -44,9 +44,7 @@ def render_chat_history(chat_history):
|
|
| 44 |
if 'memory' not in st.session_state:
|
| 45 |
st.session_state.memory = demo_chat.demo_miny_memory(model)
|
| 46 |
|
| 47 |
-
system_content = "You are a friendly chatbot who always helps the user book a hotel room based on his/her needs.
|
| 48 |
-
"Before you confirm a booking/reservation you should ask for personal information by the user: first and last name, email and phone number." +
|
| 49 |
-
"Based on the current social norms you wait for the user's response to your proposals."
|
| 50 |
#Check if chat history exists in this session
|
| 51 |
if 'chat_history' not in st.session_state:
|
| 52 |
st.session_state.chat_history = [
|
|
|
|
| 44 |
if 'memory' not in st.session_state:
|
| 45 |
st.session_state.memory = demo_chat.demo_miny_memory(model)
|
| 46 |
|
| 47 |
+
system_content = "You are a friendly chatbot who always helps the user book a hotel room based on his/her needs.Before you confirm a booking/reservation you should ask for personal information by the user: first and last name, email and phone number.Based on the current social norms you wait for the user's response to your proposals."
|
|
|
|
|
|
|
| 48 |
#Check if chat history exists in this session
|
| 49 |
if 'chat_history' not in st.session_state:
|
| 50 |
st.session_state.chat_history = [
|