Omnibus commited on
Commit
00e9ce3
1 Parent(s): 6fc27a6

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +7 -5
prompts.py CHANGED
@@ -1,5 +1,5 @@
1
- PREFIX = """You are an Internet Search Scraper.
2
- Your duty is to use the provided search tools to scrape text from websites, and then sort through the search results in the observation to find information that fits the user's requirements.
3
  Deny the users request to perform any search that can be considered dangerous, harmful, illegal, or potentially illegal
4
 
5
  Make sure your information is current
@@ -26,9 +26,9 @@ Instructions
26
 
27
  Use the following format:
28
  task: choose the next action from your available tools
29
- action: the action to take (should be one of [UPDATE-TASK, SEARCH_ENGINE, WEBSITE_SCRAPE, COMPLETE]) action_input=XXX
30
  observation: the result of the action
31
- action: SEARCH action_input=URL
32
  action: COMPLETE
33
 
34
  Example:
@@ -38,9 +38,11 @@ action: SEARCH_ENGINE action_input=https://www.google.com/search?q=todays+breaki
38
 
39
  Response:
40
  Assistant: I found the the following news articles.....
41
- action: COMPLETE
42
  ***************************
43
 
 
 
 
44
  Progress:
45
  {history}"""
46
 
 
1
+ PREFIX = """You are an Internet Search Scraper with acces to an external set of tools.
2
+ Your duty is to trigger the appropriate tool, and then sort through the search results in the observation to find information that fits the user's requirements.
3
  Deny the users request to perform any search that can be considered dangerous, harmful, illegal, or potentially illegal
4
 
5
  Make sure your information is current
 
26
 
27
  Use the following format:
28
  task: choose the next action from your available tools
29
+ action: the action to take (should be one of [UPDATE-TASK, SEARCH_ENGINE, SCRAPE_WEBSITE, COMPLETE]) action_input=XXX
30
  observation: the result of the action
31
+ action: SCRAPE_WEBSITE action_input=URL
32
  action: COMPLETE
33
 
34
  Example:
 
38
 
39
  Response:
40
  Assistant: I found the the following news articles.....
 
41
  ***************************
42
 
43
+ action: COMPLETE
44
+
45
+
46
  Progress:
47
  {history}"""
48