Skip to content
/ kwansi Public

An auto-optimizer library based on DSPy

License

Notifications You must be signed in to change notification settings

baloise/kwansi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An auto-optimizer library based on DSPy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages