https://github.com/baloise/kwansi
An auto-optimizer library based on DSPy
https://github.com/baloise/kwansi
Last synced: 4 months ago
JSON representation
An auto-optimizer library based on DSPy
- Host: GitHub
- URL: https://github.com/baloise/kwansi
- Owner: baloise
- License: apache-2.0
- Created: 2024-10-16T08:19:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-08T13:40:03.000Z (over 1 year ago)
- Last Synced: 2025-06-21T00:07:52.644Z (about 1 year ago)
- Language: Python
- Size: 43.9 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kwansi
Kwansi is a library that simplifies the creation and optimization of prompts for language models. Built on top of the DSPy framework, Kwansi helps you utilize DSPy's self-optimization techniques to automatically create prompts tailored to specific tasks.
## Installation
```bash
pip install git+https://github.com/baloise/kwansi.git
```
## Quick Start
```python
import kwansi
# your code here
```
## Documentation
For an documentation of the functions in kwansi, check out https://github.com/baloise/kwansi/blob/main/docs/usage_guide.md.
For an example implementation of kwansi, check out https://github.com/baloise/kwansi_example (separate repository).
## Requirements
- Python 3.6+
- DSPy
- python-dotenv
## License
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.