Build your first agent
Create a prompt
A prompt contains natural-language instructions for the LLM that detail everything the agent does, how it does those things, and what it shouldn’t do. Our prompt will explain to the LLM how it should behave as a weather agent.
You can create the prompt using the sample code below.
We now have the prompt that will explain to the LLM how it should behave as a weather agent, but there are no instructions regarding how to actually the fetch weather information that it’s supposed to provide to the user. We’ll be setting that up in the next couple steps.
Before you move on, note the ID of the prompt that you created, as you’ll need it later.
Click “Create a data source” below to continue the tutorial.