Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Michael 5b3fcfb728
chore: Add README for missing examples (#4404)
2 months ago
..
5b3fcfb728
chore: Add README for missing examples (#4404)
2 months ago
fc4a6bbc7d
docs(examples): update model references from gpt-4o-mini to gpt-4.1-mini (#4289)
2 months ago

README.md

You have to be logged in to leave a comment. Sign In

colab-notebook (Colab Notebook)

You can run this example with:

npx promptfoo@latest init --example colab-notebook

This example walks through running promptfoo inside a Google Colab notebook.

Prerequisites

Quick Start

Open promptfoo_example.ipynb in Google Colab and run each cell. The notebook installs promptfoo, sets up API keys, and demonstrates a few evaluations.

Expected Results

The notebook will:

  • Install promptfoo in the Colab environment
  • Run sample evaluations comparing different models
  • Display evaluation results and metrics
  • Show how to export results for further analysis
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...