Q&A without context
Answering questions without extra information
Let’s make our first recipe that calls out to an agent:
Now let's try running this recipe:
Looking at the trace, we see two nodes—one for the answer function we implemented, and one for the agent method call. If we click on the agent method, we see the exact prompt that was passed to the agent:
We can run recipes in different modes, which controls what type of agent is used. Some examples:
machine
: Use an automated agent (usually GPT-3 if no hint is provided in the agent call). This is the default mode.human
: Elicit answers from you using a command-line interface.augmented
: Elicit answers from you, but providing the machine-generated answer as a default.
You specify the mode like this:
Try running your recipe in different modes.
Last updated