Arafath10 commited on
Commit
e93151c
·
verified ·
1 Parent(s): d19fab8

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -263,9 +263,9 @@ async def process_query(query: str,
263
  # Initial message to check for waybill number in the query
264
  messages = [
265
  {"role": "system", "content": "You are a helpful assistant for Curfox delivery system."},
266
- {"role": "user", "content": f"""always check user query mentioned the order number/id (example : CA000001)
267
  if order id provided then output is only : "done"
268
- if user not given the order number then ask the number from user (include or response to greetings)
269
  user query : {query}""" }
270
  ]
271
  result = ask_openai(messages)
 
263
  # Initial message to check for waybill number in the query
264
  messages = [
265
  {"role": "system", "content": "You are a helpful assistant for Curfox delivery system."},
266
+ {"role": "user", "content": f"""always check user query mentioned the waybill number/id (example : CA000001)
267
  if order id provided then output is only : "done"
268
+ if user not given the waybill number then ask the number from user (include or response to greetings)
269
  user query : {query}""" }
270
  ]
271
  result = ask_openai(messages)