Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -148,7 +148,7 @@ class Chat_Bot:
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} and if customer say thankyou You should end the conversation with greetings."
152
  response = openai.Completion.create(
153
  model="text-davinci-003",
154
  prompt=prompt,
 
148
  file_path = "vodafone_customer_details.json"
149
  with open(file_path) as file:
150
  customer_details = json.load(file)
151
+ prompt = f"{history}{text} if customer ask any information take it from {customer_details} and if customer say thankyou You should end the conversation with greetings."
152
  response = openai.Completion.create(
153
  model="text-davinci-003",
154
  prompt=prompt,