Writing a Prompt
Writing a Simple Prompt#
To create a simple prompt for your agent, you can write it in a file called PROMPT.txt in the same directory the agent is initialized. This file will contain the text that guides the behavior of your agent. For example, you might want your agent to act as a helpful assistant. Here is how you can write a simple prompt:
- Create a file named
PROMPT.txtin your project directory. - Write your prompt text in the file. For example: