Skip to content

[Onboarding] Walkthrough: Run First EvaluationΒ #3500

@mmabrouk

Description

@mmabrouk

Parent: #3051

Summary

Implement a guided tour that helps users run their first evaluation. This is the primary activation target.

Tour ID: first-evaluation

Completion event: evaluation_ran

Behind env var: NEXT_PUBLIC_ENABLE_WALKTHROUGHS=true

Steps

# Icon Title Content Selector
1 🎯 Run Your First Evaluation Evaluations help you measure how well your prompts perform. Let's run one together. (centered)
2 ▢️ Open the Evaluation Modal Click "Run Evaluation" to start. [data-tour="run-evaluation-button"]
3 πŸ“‚ Select a Test Set Choose a test set. We have created one for you to get started. [data-tour="testset-select"]
4 πŸ“ Choose an Evaluator Select "Exact Match" to compare outputs against expected answers. You can create custom evaluators later. [data-tour="evaluator-select"]
5 πŸš€ Run the Evaluation Click Run to start the evaluation. [data-tour="run-eval-confirm"]
6 πŸ“Š View Your Results Here are your results. You can see how each test case performed and the overall score. [data-tour="eval-results"]

Implementation Tasks

  • Add data-tour attributes to evaluation UI elements
  • Create tour definition in components/Onboarding/tours/
  • Register tour with tourRegistry
  • Fire evaluation_ran event on completion

Notes

Acceptance Criteria

  • Tour only runs when NEXT_PUBLIC_ENABLE_WALKTHROUGHS=true
  • All 6 steps render with correct copy
  • Selectors target correct elements
  • Completion event fires when tour finishes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions