An open API service indexing awesome lists of open source software.

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

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.