naveenvenkatesh
commited on
Commit
•
e13c2ed
1
Parent(s):
b74a12e
Update app.py
Browse files
app.py
CHANGED
@@ -152,7 +152,7 @@ class LangChain_Document_QA:
|
|
152 |
file_path = "employee_data.json"
|
153 |
with open(file_path) as file:
|
154 |
customer_details = json.load(file)
|
155 |
-
prompt = f"""{history}{start_sequence}{text}{restart_sequence}
|
156 |
if User say thanks or thankyou tone related messages You should not ask anything to end the conversation with greetings tone without ask 'Is there anything else I can help you with today?'.
|
157 |
"""
|
158 |
response = self.client.completions.create(
|
|
|
152 |
file_path = "employee_data.json"
|
153 |
with open(file_path) as file:
|
154 |
customer_details = json.load(file)
|
155 |
+
prompt = f"""{history}{start_sequence}{text}{restart_sequence} give the polite answers to the user's questions. Use this data {customer_details}. give detailed analysis answer from given json.
|
156 |
if User say thanks or thankyou tone related messages You should not ask anything to end the conversation with greetings tone without ask 'Is there anything else I can help you with today?'.
|
157 |
"""
|
158 |
response = self.client.completions.create(
|