Skip to main content

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


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)

Uploaded Source

Built Distribution

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

scaledown-0.1.2-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

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

Hashes for scaledown-0.1.2.tar.gz
Algorithm Hash digest
SHA256 469295f5cc68ac1a0357e6f4b0afec58f8f4aadb5da4c6d5943d6b8a1bde1de2
MD5 fccb9ce4c994dbfac89cd334212fddc3
BLAKE2b-256 5131afee5aeaaa57c410a7057b4ee2e3bad97c740344d04a8973f79f2b694853

See more details on using hashes here.

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

Hashes for scaledown-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 80c3e5f1644aa607947c65410814c2499e8b35a19b0d0a162338c9b7869d86ff
MD5 9b11f5474e99b50bf3931ea0559a5409
BLAKE2b-256 0dbef097b7798538743158d97a0b93cd8a81e769a92df9bf2a3187107facef1d

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