oda-r is a professional-grade compiler for Declarative Self-improving Python (DSPy), featuring comprehensive error handling, logging, and configuration management.
- Async support for improved performance
- Comprehensive error handling and logging
- Configuration file support
- Enhanced prompt management
- Sophisticated verification strategies
- Metrics collection
- Progress feedback
- Clone the repository:
git clone https://github.com/mitkox/oda-r.git
cd oda-r
- Install the required dependencies:
pip install -r requirements.txt
python odar.py <path_to_dspy_file> [--config CONFIG] [--debug]
Example:
python odar.py reasoning_questions.dspy --question 1 --debug
The compiler can be configured using a YAML configuration file. You can specify:
- Server URL
- Model parameters (temperature, top_p, etc.)
- Maximum tokens
- Timeouts and iteration limits
Example configuration can be found in config.yaml
.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.