Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
•
9fc3593
1
Parent(s):
86b9b27
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ class LangChain_Document_QA:
|
|
145 |
start_sequence = "\nCustomer:"
|
146 |
restart_sequence = "\nVodafone Customer Relationship Manager:"
|
147 |
prompt = 'your task is make a conversation between a customer and vodafone telecom customer relationship manager.'
|
148 |
-
file_path = "
|
149 |
with open(file_path) as file:
|
150 |
customer_details = json.load(file)
|
151 |
prompt = f"""{history}{start_sequence}{text}{restart_sequence} if customer ask any information take it from {customer_details}.
|
|
|
145 |
start_sequence = "\nCustomer:"
|
146 |
restart_sequence = "\nVodafone Customer Relationship Manager:"
|
147 |
prompt = 'your task is make a conversation between a customer and vodafone telecom customer relationship manager.'
|
148 |
+
file_path = "vodafone_customer_details.json"
|
149 |
with open(file_path) as file:
|
150 |
customer_details = json.load(file)
|
151 |
prompt = f"""{history}{start_sequence}{text}{restart_sequence} if customer ask any information take it from {customer_details}.
|