Welcome to Learn Promptfoo

This guide helps non-technical users get up and running with promptfoo for evaluating LLM assistants.

Training Overview

Target Audience: Non-technical users who need to create and run promptfoo evaluations

Prerequisites: Windows machine with admin rights, comfortable learning new software

Time Commitment: 10-15 hours (setup + training) then comes actual doing (where you can reach out at any point)

Training Structure

Phase 1: Setup & Basics (3 hours)

Phase 2: Promptfoo Evaluations (4-5 hours)

Phase 3: Collaboration via Git - Optional (2 hours)

Bonus: (Coding) Agent in VSCode (1 hour)

  • Set up Opencode in VSCode

Prerequisites Checklist

IMPORTANT before we begin:

Before starting training, ensure:

  • Windows 10/11 machine
  • Admin rights (or ability to run with PEDM)
  • Internet connection
  • ~2GB free disk space
  • VSCode will be installed
  • Node.js will be installed
  • Git will be installed

Tools We’ll Use

  1. Visual Studio Code (VSCode) - Code editor with integrated terminal and Git (git is for version control, collaboration and direct contribution to our instance of the Promptfoo platform)
  2. Node.js - JavaScript runtime (includes npm and npx): Used to run the promptfoo application
  3. promptfoo - LLM evaluation tool
  4. Git - Version control

Success Criteria

After completing this training, you will be able to:

  • Create and edit YAML configuration files for promptfoo
  • Choose test cases and assertion criteria for the evaluation configs
  • Run evaluations and interpret the results
  • Maybe use Git to manage your work and contribution with evaluation configs

References


For the complete training overview, see the README.md.


Back to top

Training materials for Aarhus Kommune AI team

This site uses Just the Docs, a documentation theme for Jekyll.