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.0b2.tar.gz
(9.8 kB
view hashes)
Built Distribution
Close
Hashes for promplate-0.3.0b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 548f44f2673efb38f4e3df7709443186b8397293c80fc1fbac88fcb9d27820b7 |
|
MD5 | dcc9e48df504aad2ce0bd9763d5e49e9 |
|
BLAKE2b-256 | 39fa619836a4d8636cfe70c7ab1405212cd08214714d1c969c62b14ad8cf4ead |