Update app.py
Browse files
app.py
CHANGED
@@ -78,10 +78,7 @@ CONTEXT:
|
|
78 |
QUERY:
|
79 |
{question}
|
80 |
|
81 |
-
You are a helpful assistant. You will
|
82 |
-
If you still cannot find any match, respond with Sorry, at present there is no match for your interest and ask if this user can be matched if any future interest matches this user.
|
83 |
-
Ask for all necessary details to consider this user as a future match.
|
84 |
-
If the question is outside of finding a match, say I don't know.
|
85 |
"""
|
86 |
rag_prompt = ChatPromptTemplate.from_template(RAG_PROMPT)
|
87 |
|
@@ -184,7 +181,7 @@ def construct_response(messages):
|
|
184 |
print()
|
185 |
initial_query = False
|
186 |
continue
|
187 |
-
print()
|
188 |
print(f"Agent Response: {message.content}")
|
189 |
response = response + message.content
|
190 |
return response
|
|
|
78 |
QUERY:
|
79 |
{question}
|
80 |
|
81 |
+
You are a helpful assistant. You will try to match the interest of user. Provide mode information about the user if you find a match. If you cannot find a match, say I don't know.
|
|
|
|
|
|
|
82 |
"""
|
83 |
rag_prompt = ChatPromptTemplate.from_template(RAG_PROMPT)
|
84 |
|
|
|
181 |
print()
|
182 |
initial_query = False
|
183 |
continue
|
184 |
+
print('\n')
|
185 |
print(f"Agent Response: {message.content}")
|
186 |
response = response + message.content
|
187 |
return response
|