Omnibus commited on
Commit
af8aab5
·
verified ·
1 Parent(s): 6966243

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +6 -27
prompts.py CHANGED
@@ -1,36 +1,17 @@
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
6
- Current Date and Time is:
7
- {timestamp}
8
-
9
- You have access to the following tools:
10
- - action: UPDATE-TASK action_input=NEW_TASK
11
- - action: SEARCH_ENGINE action_input=SEARCH_ENGINE_URL/?q=SEARCH_QUERY
12
- - action: SCRAPE_WEBSITE action_input=WEBSITE_URL
13
- - action: COMPLETE
14
-
15
- Search Purpose:
16
- {purpose}
17
  """
18
 
19
  FINDER = """
20
 
21
  Instructions
22
- - Use the provided tool to find a website to scrape
23
- - Use the tool provided tool to scrape the text from the website url
24
- - Find the pertinent information in the text that you scrape
25
- - When you are finished, return with action: COMPLETE
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
-
31
- Example:
32
- User command: Find me the breaking news from today
33
- action: SEARCH_ENGINE action_input=https://www.google.com/search?q=todays+breaking+news
34
 
35
 
36
  Progress:
@@ -121,8 +102,6 @@ task: {task}
121
  Progress:
122
  {history}
123
  Tasks should be small, isolated, and independent
124
- To start a search use the format:
125
- action: SEARCH_ENGINE action_input=URL/?q='SEARCH_QUERY'
126
  What should the task be for us to achieve the purpose?
127
  task: """
128
 
 
1
+ PREFIX = """You are a Game Master for a Role Playing Game.
2
+ Your duty is to narate the game and create challenges for users to overcome.
 
3
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  """
5
 
6
  FINDER = """
7
 
8
  Instructions
9
+ - Describe the location, and scenario, in great detail
10
+ - Create a situation where the user must make a choice of how to proceed
 
 
11
 
12
  Use the following format:
13
+ User: I'm ready to begin a futuristic game
14
+ Assistant: The Date is 2065...
 
 
 
 
15
 
16
 
17
  Progress:
 
102
  Progress:
103
  {history}
104
  Tasks should be small, isolated, and independent
 
 
105
  What should the task be for us to achieve the purpose?
106
  task: """
107