Overview
The evaluation system provides:- User feedback collection on model responses
- Model comparison arena for head-to-head evaluations
- Elo-based leaderboard ranking system
- Topic-specific model performance analysis
- Feedback export and management
- Historical performance tracking
Evaluations help identify which models perform best for different use cases and provide valuable feedback for model improvement.
Feedback System
Creating Feedback
Users can submit feedback on model responses:Feedback Structure
Feedback entries contain:- type: Type of feedback (e.g., “rating”, “comment”)
- data: Feedback details including:
- model_id: The evaluated model
- rating: “1” (positive) or “-1” (negative)
- sibling_model_ids: Other models in the comparison
- tags: Topic/category tags for context
- meta: Additional metadata (chat, message, timestamp)
Viewing User Feedback
Retrieve feedback submitted by the current user:Managing Feedback
Get Specific Feedback
Update Feedback
Users can update their own feedback:Delete Feedback
Evaluation Arena
The arena mode allows administrators to configure blind model comparisons:Configure Arena Models
Set up models for arena evaluation:Get Arena Configuration
Arena mode presents models to users without revealing their identities, reducing bias in comparisons.
Leaderboard System
Administrators can view model performance rankings based on user feedback:Get Model Leaderboard
Retrieve Elo-based model rankings:Topic-Specific Rankings
Filter leaderboard by topic using semantic search:How Elo Ratings Work
The leaderboard uses an Elo rating system:- Starting Rating: All models begin at 1000 Elo
- Rating Updates: When users compare models:
- Winner gains points, loser loses points
- Amount depends on rating difference (upsets = bigger change)
- Formula:
new_rating = old_rating + K * (actual - expected)- K=32 (controls rating volatility)
- Expected = probability of winning based on current ratings
Topic-Based Re-Ranking
Topic-Based Re-Ranking
When querying with a topic (e.g., “coding”):
- System computes semantic similarity between query and feedback tags
- Similarity scores weight the Elo calculation
- Feedback about “coding” contributes more to rankings
- Unrelated feedback contributes less
Model Performance History
Track a model’s performance over time:Admin Feedback Management
Administrators have additional feedback management capabilities:List All Feedback
Get paginated feedback with sorting:Export All Feedback
Export feedback data for analysis:Get Feedback IDs Only
Retrieve just the IDs for bulk operations:Bulk Delete Feedback
Delete all feedback (admin only):Use Cases
A/B Model Testing
A/B Model Testing
Compare two models for a specific use case:
Topic Performance Analysis
Topic Performance Analysis
Identify which models excel at different topics:
Feedback Collection Workflow
Feedback Collection Workflow
Systematic feedback collection:
Best Practices
- Tag Consistently: Use standardized tags for better topic analysis
- Collect Context: Include relevant metadata (task type, user role, etc.)
- Regular Reviews: Check leaderboard trends periodically
- Blind Comparisons: Use arena mode to reduce bias
- Sufficient Data: Collect enough feedback before making decisions
- Export Backups: Regularly export feedback for analysis and backup
- Topic-Specific: Use query filtering to find best models per use case
Troubleshooting
Invalid Rating Value
Rating must be “1” (positive) or “-1” (negative):Empty Leaderboard
Leaderboard requires feedback with comparison data:Missing Topic Results
Topic-based filtering requires:- Embedding model configured (
AUXILIARY_EMBEDDING_MODEL) - Feedback with topic tags
- Sufficient tag diversity
Configuration
Environment Variables
Required Permissions
- Users: Can create, view, update, and delete their own feedback
- Admins: Full access to all feedback, leaderboard, and configuration
Next Steps
- Learn about Model Management for adding models
- Explore RBAC for permission management
- Configure Observability for performance monitoring