Skip to main content

Promptimizer

Promptimizer is "prompt" + "optimizer", which is a prompt optimizer. It aims to build the high-quality LLM prompts for everyone. It can build and optimize an elegant prompt for you.

We use structured prompt templates to guide LLM in building an efficient prompt that can more accurately output the answers users want.

usage.png

Setup

Pip (Method1 Recommend)

Open terminal and enter the following command.

pip install promptimizer

Using following command to open client.

promptimizer

Git Clone (Method2)

Clone repo to local.

git clone https://github.com/Undertone0809/promptimizer

Install all relevant packages.

pip install poetry
poetry install 

Copy .env.example rename it as .env, saving it to the root directory of the current project. Fill in your openai key in .env.

OPENAI_API_KEY=your-key

Run the script.

python main.py

Metadata

Release files for promptimizer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for promptimizer 0.1.0
File Size Uploaded
promptimizer-0.1.0.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for promptimizer 0.1.0
File Interpreter ABI Platform
promptimizer-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / promptimizer-0.1.0.tar.gz

Download URL promptimizer-0.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b3751014582647dc3a43ebc94cf2e9cbb6374a3de88eca6e74fcce4714be8efd
BLAKE2b-256 checksum
How to use checksums
06d5f3de5224a3d2d5269ea5a88dea05d31d46874d0932201bf92722a59bc211
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.8.17 Windows/10

Release files / promptimizer-0.1.0-py3-none-any.whl

Download URL promptimizer-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e5700de409c2f44b6d777d75933728473058e1e2c9bb01e026c3cf5a3bf2120
BLAKE2b-256 checksum
How to use checksums
100c037764029b839e8d87270a9ff98c511f508bf21714aee75847c64dd08b9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.8.17 Windows/10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page