Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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
|
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)
|