Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 842 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 842 Bytes

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

pip install git+https://github.com/baloise/kwansi.git

Quick Start

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 file for details.