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.0b3.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for promplate-0.3.0b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e2d9459eb433947249f3cb2048da6ae761b4f2d79bd65509149f10032c34431 |
|
MD5 | 2a8035e384d4ca00c778a4426de3d557 |
|
BLAKE2b-256 | 461f6bd59e36467def684be2ecafdadbd8ba67b0f5755210684c281abf7a4cab |