Start with Suggested Evaluation GoalsBeta
Get a first Evaluation goal for a pipeline without working out the Evaluator, threshold, and pass rate yourself. The AI Assistant suggests a goal and fills in the form, and you review it before you save.
About This Task
An Evaluation goal says when a session passes on a Metric and how many sessions must pass for the goal to be met. You create a goal only through New Evaluation goal, or through Start with AI on a pipeline that has no goals yet. Evaluation goals aren't added to the page as drafts, and nothing is stored until you click Create in the form or create the goals from the assistant's chat.
If your pipeline has no goals yet and you want cost and speed checks without using the assistant, the Evaluation tab offers a Budget goal and a Response time goal that you can add in one click. To add them, see Add Suggested Budget and Response Time Goals.
The AI Assistant opens next to the form and suggests a goal in the conversation. The AI Assistant icon beside the form title is animated while the assistant works. When a reply holds exactly one suggestion, the form fills in on its own once the reply is finished. When a reply holds several suggestions, the form stays as it is, and you choose which suggestion to use. If a suggestion names an existing Evaluator, the form copies that Evaluator's code, and the goal gets its own Evaluator with that code. If the Evaluator is a new judge, the form shows its code so you can review it before you save.
To create a goal, click New Evaluation goal and fill in the form yourself. For the steps, see Define Evaluation Goals on a Pipeline.
Create a Goal with the AI Assistant
Before you start, you need a pipeline, and it needs live sessions for Evaluate now to score.
- Open your pipeline and click Evaluation.
- Click New Evaluation goal. If the pipeline has no goals yet, click Start with AI in the Get started with AI card instead. The goal form opens, and the AI Assistant starts a new conversation beside it. The assistant prepares its first suggestion, which takes a few seconds. Wait for it before you fill in the form.
- Describe what you want to check, or let the assistant guide you. Each suggestion appears in the conversation as a card with the goal's name and pass rule, and with Fill form and Create buttons. Fill form copies the suggestion into the form. It's hidden while the form holds that suggestion unedited. After you edit the form, it comes back and resets the form to the suggestion.
- If a reply holds several suggestions, click Fill form on the row of the goal you want to copy into the form. You can also click Fill form on an earlier suggestion in the same chat to fill in the form again.
- Review the name, Evaluator, pass rule, and minimum pass rate. Change anything you want, or ask the assistant for another suggestion.
- Click Create at the top right of the form. The platform creates the Evaluator, and then the goal. Alternatively, click Create on the suggestion's card in the chat. If the open form holds that suggestion, edited or not, Create on the card saves through the form with its current values, including your edits, and runs the same checks as Create in the form. Otherwise, it creates the goal as suggested. It's unavailable while another goal is being created, and the form closes when the goal is created.
- To check the goal on your live sessions, click Evaluate now. Scoring runs in the background. When it finishes, the goal shows whether it is met. For details, see Evaluating Step-by-Step.
For all the fields of the form, see Define Evaluation Goals on a Pipeline.
Create Several Goals at Once
To skip filling in the form for each goal, let the assistant suggest them together.
- Open your pipeline, click Evaluation, and click New Evaluation goal. If the pipeline has no goals yet, click Start with AI instead.
- Ask the assistant for several goals, or choose one of its options, such as all of the goals it proposes.
- When the assistant suggests more than one goal in a message, the message shows a single card with one row for each goal, and the form stays empty. Review the rows. Each row has Fill form and Create buttons, so you can also create or fill in a single goal from the list.
- Click Create all in the card's footer to create all the pending goals with one click. Create all appears when two or more goals are pending. Check the card to see which goals were created and which were skipped. If some weren't created, see Fix Goals Suggested by the AI Assistant.
The assistant creates each goal in turn. Each goal is saved with its own Evaluator, even when it uses the same code as an existing Evaluator or an earlier goal in the chat. A goal that fails leaves no Evaluator behind, so you can retry safely. When at least one goal is created, the New Evaluation goal form closes. If you changed the form in the meantime, you're asked to confirm before it closes.
A goal whose name matches an existing goal on the pipeline is skipped and marked as already existing. Nothing is overwritten.
If a Goal Can't Be Created
A goal that fails shows the error on its row in the card. Click Retry on the row to try again. If the error is that a goal or Evaluator conflicts with one that already exists, rename it or change its code. To adjust a goal with the assistant, click Fix in chat on its row. The goals that were created stay, and only the ones that are still missing are created.
You can reuse an existing Evaluator only if a goal of this pipeline already uses it, even when another pipeline uses it. In the card for several goals, a goal that names any other Evaluator is marked as unreadable and isn't created. Ask the assistant to suggest that goal with a new Evaluator.
Refine a Saved Goal with the AI Assistant
To change a goal you already saved, open it and click Refine with AI. When the assistant suggests a revision, it shows the changes next to your current goal. Click Accept to apply the revision, and confirm when asked. Click Discard to keep the goal as it is. Accepting a revision also saves the goal's code. If the Evaluator was archived, saving restores it.
- A suggestion appears as a read-only card and doesn't fill in anything. No create form is open, so the assistant can't fill one in. Nothing is stored. Click New Evaluation goal to create the goal with the assistant. After you open the form, click Fill form on the card to fill it in.
- A suggestion in a restored chat doesn't fill in the form. Suggestions from an earlier chat only fill in the form when you click Fill form on the card while a create form is open.
- The form didn't fill in on its own. The reply holds several suggestions or a card for creating several goals, so no single suggestion is chosen for you. Click Fill form on the suggestion you want.
- The form is filled in without a Metric. The assistant's suggestion uses code that the form can't read as a Metric declaration. This also happens when the suggestion names an existing Evaluator that no goal of this pipeline uses, or when that goal's versions couldn't be loaded. Ask the assistant to suggest the goal with a new Evaluator instead, or check the Evaluator code and set the pass rule yourself after the form reads the Metric.
- The chat's Create button isn't available. Another goal is being created, or the form holds this suggestion and its values are still loading or don't pass the checks for Create in the form. Fix the form values, or wait for the other goal to finish.
- Some goals weren't created. The card marks each failed goal with its error. Click Retry on the row, or click Fix in chat to have the assistant change the goal.
Related Information
Was this page helpful?