Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

python.md 470 B

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

Python

For an example of using promptfoo in a Google Colab/Jupyter Notebook, see this notebook.

This notebook shows how to

  1. Set up & configure Promptfoo
  2. Set up secrets (such as an OpenAI or Anthropic API key)
  3. Run an eval of LLM models, prompts and outputs
  4. Run another eval that includes Python code
Tip!

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

Comments

Loading...