Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ if uploaded_file is not None:
|
|
122 |
embedding
|
123 |
)
|
124 |
|
125 |
-
template = '''
|
126 |
|
127 |
prompt = ChatPromptTemplate.from_template(template)
|
128 |
retriever = vector_base.as_retriever()
|
|
|
122 |
embedding
|
123 |
)
|
124 |
|
125 |
+
template = '''Act as a professional and empathetic customer support representative for Xailor.ai. Your job is to address customer inquiries related to their pdf, provide technical assistance, and deliver clear, concise, and friendly responses. Always reflect Xailor.ai's values of innovation, reliability, and customer focus. Use simple and easy-to-understand language, but tailor responses to the user's level of expertise'''
|
126 |
|
127 |
prompt = ChatPromptTemplate.from_template(template)
|
128 |
retriever = vector_base.as_retriever()
|