Skip to main content

A short description of the package

Project description

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

  1. 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
)
  1. Call it as a function, the tuner will prompt you through the process through the command line
tuner()
  1. Once finished, access your tuned prompt
new_prompt = tuner.prompt

Command Line Tool

  1. Type the command and press enter.
prompt_autotune tune
  1. Follow through the process.

  2. The final prompt will be printed on the console.

Enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prompt_autotune-0.1.0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prompt_autotune-0.1.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file prompt_autotune-0.1.0.tar.gz.

File metadata

  • Download URL: prompt_autotune-0.1.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for prompt_autotune-0.1.0.tar.gz
Algorithm Hash digest
SHA256 27c0e6db9c53ed484f752b1003b0f07778ed6bc0aceaa60f641c3769078886b4
MD5 d37874f4280786ebd5293e7d3b4d97ea
BLAKE2b-256 16866ad3307bbad5e947e73c7082f71ec262784ccc9e77b4220314121954af66

See more details on using hashes here.

File details

Details for the file prompt_autotune-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for prompt_autotune-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2dc47d961e8239d62d90acacf31b31f7a42268e2ad1fdf999d5144c09a9ca07e
MD5 1d8379b6134fcdc7c0451d29adf4ef38
BLAKE2b-256 c80a63a468db1d14b6b3e5db616bc769e09dcd4cf9f844f0946fd4d55edf62c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page