Last updated:
0 purchases
promptautotune 0.4.0
prompt-autotune
A light weight library that takes in a task description and a prompt and tunes the prompt to perform better.
Accepting any and all PRs!
Installation
pip install prompt-autotune
Usage
Basic usage
Import and initialize TunePrompt
from prompt_autotune import TunePrompt
tuner = TunePrompt(
task = "your task here",
prompt = "your prompt here",
verbose = True # makes it log updates
)
Call it as a function, the tuner will prompt you through the process through the command line
tuner()
Once finished, access your tuned prompt
new_prompt = tuner.prompt
Command Line Tool
Type the command and press enter.
tune
Follow through the process.
The final prompt will be printed on the console.
Enjoy!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.