cross-language prompt engineering framework
Project description
Promplate
</Promplate/> = /prompt/ + <template>
Promplate is a prompting framework focusing on developing experience. However, it can also be a super-convenient SDK for simple LLM calls. Promplate progressively enhance your prompting workflow. And it values flexibility as well as perfect conventions. Learn more
Installation
pip install promplate
Development
- use
poetry
to manage dependencies. - use
isort
to sort import statements. - use
black
to format code. - use
pyright
to check type annotations.
IDE Support 🌹
I try to make the syntax compatible with Jinja2
. So for now I recommend using Jinja2
highlight settings.
Future Features (or TODOs?)
- more documentation
- javascript implementation
- error handling
- streaming support
- more unit tests
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
promplate-0.3.0a5.tar.gz
(9.0 kB
view hashes)
Built Distribution
Close
Hashes for promplate-0.3.0a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c29998e3a2e12e8eaf6b373e1a502b7db8ffe46bf5a0ddc4ddef56c7c60f924d |
|
MD5 | b31b26d61a0f1cb53d96220e2b1c250c |
|
BLAKE2b-256 | 6ecce929f077751dee6ce4a2cadb1eefb453a4931695a39d820ffbc2cc9fb7b0 |