The examples/ directory in the evalflow repository contains three ready-to-run projects. Each one demonstrates a different setup. Pick the example closest to your stack, copy its evalflow.yaml and dataset, then adapt them to your own prompts.
Starting from an example
examples/openai-basic
A minimal local setup using OpenAI. This is the best starting point if you are new to evalflow or want the simplest possible configuration.
What it demonstrates
- A single-provider
evalflow.yaml configured for OpenAI
- Three test cases covering summarization, classification, and QA
- Both
exact_match and embedding_similarity eval methods
- A prompt registry entry in
prompts/
Files
evalflow.yaml
Running it
examples/groq-ci
A Groq-based setup with a GitHub Actions workflow included. Groq’s free tier makes this example well suited for CI pipelines where you want zero-cost quality gates on every pull request.
What it demonstrates
- A single-provider
evalflow.yaml configured for Groq
- A working GitHub Actions workflow (
.github/workflows/evalflow.yml)
- How to pass the API key as a GitHub Actions secret
- Test cases for summarization, classification, and QA
Files
evalflow.yaml
GitHub Actions workflow
Running it locally
Add GROQ_API_KEY to your repository’s Settings → Secrets and variables → Actions to enable the GitHub Actions workflow.
examples/langchain-app
An example that runs evalflow alongside a LangChain application. It shows how to add a quality gate to a project that already uses LangChain for its LLM calls, without changing any application code.
What it demonstrates
- Running
evalflow eval independently of your application code
- How evalflow’s prompt registry integrates with a LangChain app (
app.py loads the production prompt from the registry)
- Test cases that mirror the prompts used in the application
Files
evalflow.yaml
Running it