Problem
New users want to try OpenAgent Eval but don't have a clear, runnable example that works end-to-end with real (but free) API keys. The current examples in the repo are minimal and don't show a complete workflow from data preparation to evaluation results.
Proposed Solution
Create a complete, runnable Jupyter notebook or example project that demonstrates the full OpenAgent Eval workflow using free-tier APIs so users can follow along without spending money.
Requirements
1. Free API Keys (Recommended)
The example should use APIs that have generous free tiers:
| Provider |
Free Tier |
Notes |
| Google Gemini |
15 RPM, 1M tokens/day |
Best free option for LLM |
| Groq |
30 RPM, 14,400 req/day |
Fast inference, generous limits |
| OpenAI |
$5 credit for new accounts |
Limited but works |
| Ollama |
Unlimited (local) |
Best for fully offline testing |
Recommended: Use Google Gemini or Groq as primary LLM (both have excellent free tiers).
2. Free Embedding Options
| Option |
Cost |
Notes |
| sentence-transformers (local) |
Free |
Runs on CPU, no API needed |
| Ollama embeddings |
Free |
Local, multiple models available |
| Google Gemini embeddings |
Free tier |
1,500 req/day free |
| HuggingFace embeddings |
Free |
Via sentence-transformers |
Recommended: Use sentence-transformers with all-MiniLM-L6-v2 (fast, small, accurate).
3. Example Dataset
Create a sample dataset for RAG evaluation with 10-20 QA pairs. Include:
- Realistic questions about a specific domain (e.g., Python docs, company FAQ)
- Ground truth answers for evaluation
- Context/passages for retrieval
4. Complete Notebook Structure
- Setup & Installation - Install openagent-eval, set up free API keys
- Prepare Your Data - Load sample dataset, format for RAG evaluation
- Configure Evaluation - Create config.yaml, set up providers
- Run Evaluation - Initialize engine, run pipeline
- Analyze Results - View reports, identify failure patterns
- Improve Your RAG - Based on metrics, suggest improvements
5. Files to Create
| File |
Purpose |
examples/end-to-end-tutorial/README.md |
Overview and setup instructions |
examples/end-to-end-tutorial/tutorial.ipynb |
Jupyter notebook (main) |
examples/end-to-end-tutorial/config.yaml |
Evaluation configuration |
examples/end-to-end-tutorial/data/sample_qa.json |
Sample QA dataset |
examples/end-to-end-tutorial/requirements.txt |
Dependencies |
6. Configuration Example
# config.yaml - Free-tier example
dataset:
path: data/sample_qa.json
format: qa
llm:
provider: groq # Free: 30 RPM
model: llama-3.3-70b-versatile
api_key: ${GROQ_API_KEY}
retriever:
provider: memory # In-memory for demo
settings:
embeddings:
provider: sentence-transformers
model: all-MiniLM-L6-v2
metrics:
- faithfulness
- answer_relevancy
- context_precision
- context_recall
- exact_match
- f1_score
reports:
- terminal
- markdown
Acceptance Criteria
Additional Notes
- Consider adding a Google Colab badge in the README for one-click launch
- Include screenshots of expected output
- Add a "Next Steps" section pointing to advanced features
- Could also create a YouTube walkthrough video (future enhancement)
Problem
New users want to try OpenAgent Eval but don't have a clear, runnable example that works end-to-end with real (but free) API keys. The current examples in the repo are minimal and don't show a complete workflow from data preparation to evaluation results.
Proposed Solution
Create a complete, runnable Jupyter notebook or example project that demonstrates the full OpenAgent Eval workflow using free-tier APIs so users can follow along without spending money.
Requirements
1. Free API Keys (Recommended)
The example should use APIs that have generous free tiers:
Recommended: Use Google Gemini or Groq as primary LLM (both have excellent free tiers).
2. Free Embedding Options
Recommended: Use
sentence-transformerswithall-MiniLM-L6-v2(fast, small, accurate).3. Example Dataset
Create a sample dataset for RAG evaluation with 10-20 QA pairs. Include:
4. Complete Notebook Structure
5. Files to Create
examples/end-to-end-tutorial/README.mdexamples/end-to-end-tutorial/tutorial.ipynbexamples/end-to-end-tutorial/config.yamlexamples/end-to-end-tutorial/data/sample_qa.jsonexamples/end-to-end-tutorial/requirements.txt6. Configuration Example
Acceptance Criteria
Additional Notes