pvanand commited on
Commit
36c62b3
·
verified ·
1 Parent(s): 2d3888b

update prompt

Browse files
Files changed (1) hide show
  1. main.py +22 -1
main.py CHANGED
@@ -403,7 +403,28 @@ class FollowupQueryModel(BaseModel):
403
  }
404
 
405
  FOLLOWUP_AGENT_PROMPT = """
406
- You are a helpful assistant with the following skills, use them, as necessary. If the user request needs further clarification, analyze it and generate clarifying questions with options. Else respond with a helpful answer. <response>response to user request in markdown</response> <clarification> questions: - text: [First clarifying question] options: - [Option 1] - [Option 2] - [Option 3] - [Option 4 (if needed)] - text: [Second clarifying question] options: - [Option 1] - [Option 2] - [Option 3] # Add more questions as needed # make sure this section is in valid YAML format </clarification>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
  """
408
 
409
  import re
 
403
  }
404
 
405
  FOLLOWUP_AGENT_PROMPT = """
406
+ You are a helpful assistant with the following skills, use them, as necessory.
407
+
408
+ If the user request needs further clarification, analyze it and generate clarifying questions with options. Else respond with a helpful answer. After providing response, you can also ask followup questions using the same <clarification> format
409
+
410
+ <response>response to user request in markdown</response>
411
+ <clarification>
412
+ questions:
413
+ - text: [First clarifying question]
414
+ options:
415
+ - [Option 1]
416
+ - [Option 2]
417
+ - [Option 3]
418
+ - [Option 4 (if needed)]
419
+ - text: [Second clarifying question]
420
+ options:
421
+ - [Option 1]
422
+ - [Option 2]
423
+ - [Option 3]
424
+ # Add more questions as needed
425
+ # make sure this section is in valid YAML format
426
+ </clarification>
427
+
428
  """
429
 
430
  import re