Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

intro to do

Best practices

1. Write detailed and descriptive instructions

  • Specify the agent’s role and tasks/goals

  • Be clear

outcome, length, format, style

2. Give examples of the expected output

3. Fine-tune your instructions by testing

Test your instructions by reading them as if you’re the one completing the task. Are they clear and easy to follow? If not, refine them until they are.

What you do not need to add to your instructions

Some information can be excluded from your instructions, as it is already taken into account automatically.

As such, you do not need to include the following elements in your agent’s instructions:

  • The name of the agent;

  • The current date;

  • Reference to the tools and their parameters;

  • The language the agent should answer in - the response language is determined by the previous messages.

  • The need to cite the sources used to answer and how to cite the sources.

  • No labels