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
- the order of callbacks matters
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.0b1.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for promplate-0.3.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 009420d9e6f68d549feb0ac69fe31250fa3f7ac2a33429d8bf47885ec75da99b |
|
MD5 | 85278ac1fd22493e95e6aff2b69c088f |
|
BLAKE2b-256 | a987cfb8edd8efc4d429ba97d36172d2841d28948bb647f0f4141beb24ad8857 |