garyd1 commited on
Commit
7764e29
·
verified ·
1 Parent(s): c9dc2b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -164,7 +164,7 @@ if uploaded_file is not None:
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)
 
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 related to the tools clio sells, 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 products services with links 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 recommendations with a brief description and a link. Only If you're unsure about the answer,then 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)