Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +3 -2
prompts.py
CHANGED
@@ -1,5 +1,6 @@
|
|
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 |
|
4 |
You have access to the following tools:
|
5 |
- action: UPDATE-TASK action_input=NEW_TASK
|
@@ -20,8 +21,8 @@ Instructions
|
|
20 |
- When you are finished, return with action: COMPLETE
|
21 |
|
22 |
Use the following format:
|
23 |
-
task: the
|
24 |
-
action: the action to take (should be one of [UPDATE-TASK,
|
25 |
observation: the result of the action
|
26 |
action: SEARCH action_input=''
|
27 |
action: COMPLETE
|
|
|
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 |
You have access to the following tools:
|
6 |
- action: UPDATE-TASK action_input=NEW_TASK
|
|
|
21 |
- When you are finished, return with action: COMPLETE
|
22 |
|
23 |
Use the following format:
|
24 |
+
task: choose the next action from your available tools
|
25 |
+
action: the action to take (should be one of [UPDATE-TASK, SEARCH_ENGINE, WEBSITE_SCRAPE, COMPLETE]) action_input=XXX
|
26 |
observation: the result of the action
|
27 |
action: SEARCH action_input=''
|
28 |
action: COMPLETE
|