@osmosis_rubric and provide a rubric description — the platform handles the rest.
Basic Example
File:reward_rubric/reward_rubric_openai.py
The evaluate_rubric Function
The evaluate_rubric() function handles LLM evaluation. See the API Reference for the complete parameter documentation.
Supported Providers
The example above uses OpenAI. For other providers (Anthropic, Google, xAI, OpenRouter, Cerebras), change theprovider and model fields in the model_info dictionary. See Supported Providers for the full list of available providers and models.
Writing Effective Rubrics
Be Specific
Include Scoring Guidelines
Provide Examples
Advanced Patterns
Multi-Aspect Evaluation
Context-Aware Rubric
Getting Detailed Feedback
Next Steps
GitHub Integration
Connect your repository to Osmosis
Best Practices
Tips and troubleshooting