A Context Optimization Package
Project description
ScaleDown - AI Prompt Optimization Package
ScaleDown is a Python package for creating, managing, and optimizing AI prompt templates. It helps reduce token usage while preserving semantic meaning, saving costs and improving response quality from AI models like Claude and GPT.
Installation
pip install scaledown
Sample Usage
from scaledown.tools import tools
result = tools(llm='gemini-1.5-flash', optimiser='cot')
llm_provider = result['llm_provider']
optimizer = result['optimizer']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scaledown-0.1.2.tar.gz
(31.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
scaledown-0.1.2-py3-none-any.whl
(37.3 kB
view details)
File details
Details for the file scaledown-0.1.2.tar.gz.
File metadata
- Download URL: scaledown-0.1.2.tar.gz
- Upload date:
- Size: 31.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
469295f5cc68ac1a0357e6f4b0afec58f8f4aadb5da4c6d5943d6b8a1bde1de2
|
|
| MD5 |
fccb9ce4c994dbfac89cd334212fddc3
|
|
| BLAKE2b-256 |
5131afee5aeaaa57c410a7057b4ee2e3bad97c740344d04a8973f79f2b694853
|
File details
Details for the file scaledown-0.1.2-py3-none-any.whl.
File metadata
- Download URL: scaledown-0.1.2-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80c3e5f1644aa607947c65410814c2499e8b35a19b0d0a162338c9b7869d86ff
|
|
| MD5 |
9b11f5474e99b50bf3931ea0559a5409
|
|
| BLAKE2b-256 |
0dbef097b7798538743158d97a0b93cd8a81e769a92df9bf2a3187107facef1d
|