Skip to content

Commit

Permalink
Prompt for websearching
Browse files Browse the repository at this point in the history
  • Loading branch information
namesty committed Oct 3, 2023
1 parent a7e122e commit 37924b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/evo/src/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const INITIAL_PROMP = `You are an agent that executes scripts to accompli
`When executing scripts use named arguments with TypeScript syntax.\n` +
`When executing scripts, in the 'result' argument, you can pass a name of a global variable where you want to store the result.\n` +
`Use the readVar function to read the JSON preview of a global variable.\n` +
`Ask yourself if you have all the required information to achieve a goal. If you don't, search the web for it\n` +
`You can use the executeScript function to execute agent.speak script to inform the user of anything noteworthy.\n` +
`Once you have achieved the goal, use executeScript function to execute agent.onGoalAchieved script.\n` +
`If you can not achieve the goal, use executeScript function to execute agent.onGoalFailed script.\n` +
Expand Down

0 comments on commit 37924b9

Please sign in to comment.