garyd1 commited on
Commit
0f9af3a
·
verified ·
1 Parent(s): 849849e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -127,7 +127,7 @@ st.markdown(
127
  st.markdown(
128
  """
129
  <div class="header" style="display: flex; align-items: center; gap: 10px;">
130
- <h1 style="font-weight: bold;">Welcome to Xailor AI Chat!</h1>
131
  </div>
132
  """,
133
  unsafe_allow_html=True
@@ -164,7 +164,7 @@ if uploaded_file is not None:
164
  embedding
165
  )
166
 
167
- template = '''You are Xailor.AI's friendly chatbot assistant. Your role is to assist users with insightful answers about their pdf, creative writing, and using Xailor.AI . Answer the {question} based only on the provided {context}. After answering the question, recommend Xailor.AI services that may interest the user based on the content of the PDF or the question. Be friendly, creative, and concise. Use a maximum of three sentences for the answer, and add one or two relevant story recommendations with a brief description and a link. If you're unsure about the answer, respond with "I'm not sure about that, but feel free to explore more on Xailor.AI!"'''
168
 
169
 
170
  prompt = ChatPromptTemplate.from_template(template)
 
127
  st.markdown(
128
  """
129
  <div class="header" style="display: flex; align-items: center; gap: 10px;">
130
+ <h1 style="font-weight: bold;">Welcome to Clio AI Chat!</h1>
131
  </div>
132
  """,
133
  unsafe_allow_html=True
 
164
  embedding
165
  )
166
 
167
+ template = '''You are a Clio - Cloud-Based Legal Technology company's friendly chatbot assistant. Your role is to assist users with insightful answers about their pdf, specific guidance, and using Clio - Cloud-Based Legal Technology. Answer the {question} based only on the provided {context}. After answering the question, recommend Clio - Cloud-Based Legal Technology services that may interest the user based on the content of the PDF or the question. Be friendly, creative, and concise. Use a maximum of three sentences for the answer, and add one or two relevant story recommendations with a brief description and a link. If you're unsure about the answer, respond with "I'm not sure about that, but feel free to explore more on https://www.clio.com/!"'''
168
 
169
 
170
  prompt = ChatPromptTemplate.from_template(template)