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 details)
Built Distribution
File details
Details for the file promplate-0.3.0b2.tar.gz
.
File metadata
- Download URL: promplate-0.3.0b2.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 674040be4000da997f9d0bec5d6d6b4147fc5ba06a627b4b7b6eb59f1fe2aefd |
|
MD5 | 772e0b753f193aab2421981f83ac4c7d |
|
BLAKE2b-256 | 400bf0d0aedf3a9773be91174ddab1041f06f33e18a775a3264d8db9f95268c6 |
File details
Details for the file promplate-0.3.0b2-py3-none-any.whl
.
File metadata
- Download URL: promplate-0.3.0b2-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 548f44f2673efb38f4e3df7709443186b8397293c80fc1fbac88fcb9d27820b7 |
|
MD5 | dcc9e48df504aad2ce0bd9763d5e49e9 |
|
BLAKE2b-256 | 39fa619836a4d8636cfe70c7ab1405212cd08214714d1c969c62b14ad8cf4ead |