Ensure high-quality LLM outputs with automatic evals. Use a representative sample of user inputs to reduce subjectivity when tuning prompts. Use built-in metrics, LLM-graded evals, or define your own custom metrics. Compare prompts and model outputs side-by-side, or integrate the library into your existing test/CI workflow. Use OpenAI, Anthropic, and open-source models like Llama and Vicuna, or integrate custom API providers for any LLM API.

Features

  • Create a list of test cases
  • Set up evaluation metrics
  • Select the best prompt & model
  • Use a representative sample of user inputs to reduce subjectivity when tuning prompts
  • Use built-in metrics, LLM-graded evals, or define your own custom metrics
  • Compare prompts and model outputs side-by-side, or integrate the library into your existing test/CI workflow

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow promptfoo

promptfoo Web Site

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Access competitive interest rates on your digital assets.

Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of promptfoo!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Large Language Models (LLM)

Registered

2023-08-25