...
This page offers tips on how to effectively write instructions for your agents.
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Best practices
1. Write clear and detailed instructions
...
What kind of output do you expect? Is it text, a list, an image, a file, a code block, etc.?
What tone should the agent use when responding to users - formal, informal, friendly, conversational, etc.?
How long should the answer be? Short, long, a specific length (for example: “less than 300 words”)?
In what format should the output be presented to the user? For example, if your agent is designed to write to a file, you might want to instruct your agent to provide a snippet of the content written in the file or a link to download the file.
...
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
If you have trouble coming up with your own instructions, you can ask the Prompt writerexpert agent to generate a prompt tailored to your use case and then refine it to achieve the desired results. |
...