Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
PDL_0.6.0_x64-setup.exe | 2025-04-08 | 7.9 MB | |
PDL_0.6.0_x64_en-US.msi | 2025-04-08 | 10.9 MB | |
PDL-0.6.0-1.aarch64.rpm | 2025-04-08 | 12.4 MB | |
PDL_0.6.0_aarch64.AppImage | 2025-04-08 | 97.3 MB | |
PDL_0.6.0_arm64.deb | 2025-04-08 | 12.4 MB | |
PDL_universal.app.tar.gz | 2025-04-08 | 22.9 MB | |
PDL_0.6.0_universal.dmg | 2025-04-08 | 22.9 MB | |
PDL_0.6.0_amd64.AppImage | 2025-04-08 | 99.5 MB | |
PDL-0.6.0-1.x86_64.rpm | 2025-04-08 | 12.7 MB | |
PDL_0.6.0_amd64.deb | 2025-04-08 | 12.7 MB | |
README.md | 2025-04-08 | 2.9 kB | |
Version 0.6.0 source code.tar.gz | 2025-04-08 | 4.3 MB | |
Version 0.6.0 source code.zip | 2025-04-08 | 4.5 MB | |
Totals: 13 Items | 320.5 MB | 1 |
This new release has two major changes:
- pdl-lint
, a linter for PDL programs (thanks to @vite-falcon!)
- mesages in the context with the same role are not automatically merged anymore.
For example, the following program generates 3 messages:
lastOf:
- role: user
text:
- hello
- "\n"
- world
- ${pdl_context}
result:
[{"role": "user", "content": "hello", "defsite": "lastOf.text.0"}, {"role": "user", "content": "\n", "defsite": "lastOf.text.1"}, {"role": "user", "content": "world", "defsite": "lastOf.text.2"}]
To generate only one message, you have to use a message
block:
lastOf:
- role: user
content:
text:
- hello
- "\n"
- world
- ${pdl_context}
result
[{"role": "user", "content": "hello\nworld", "defsite": "lastOf.message"}]
What's Changed
- Switch to granite-io version 0.2 by @mandel in https://github.com/IBM/prompt-declaration-language/pull/818
- feat: update beeai compiler to support compiling directly from python source by @starpit in https://github.com/IBM/prompt-declaration-language/pull/834
- Examples restructuring, tutorial changes by @vazirim in https://github.com/IBM/prompt-declaration-language/pull/836
- Bug fixes for setting default parameters by @vazirim in https://github.com/IBM/prompt-declaration-language/pull/838
- fix: pdl view trace.json fixes by @starpit in https://github.com/IBM/prompt-declaration-language/pull/843
- fix: Bug in pdl_schema_error_analyzer that raises exception during analysis by @vite-falcon in https://github.com/IBM/prompt-declaration-language/pull/851
- Clean up run examples and automate result updating via GH Actions by @jgchn in https://github.com/IBM/prompt-declaration-language/pull/853
- feat: do not merge messages with same role by @mandel in https://github.com/IBM/prompt-declaration-language/pull/846
- fixes to react examples by @vazirim in https://github.com/IBM/prompt-declaration-language/pull/859
- feat:
message
blocks contribute the message instead of the content to the context by @mandel in https://github.com/IBM/prompt-declaration-language/pull/862 - feat: do not stringify messages content by @mandel in https://github.com/IBM/prompt-declaration-language/pull/858
- feat: rust interpreter by @starpit in https://github.com/IBM/prompt-declaration-language/pull/857
- gsm8k plan with few-shots by @vazirim in https://github.com/IBM/prompt-declaration-language/pull/870
- feat: add pdl-lint tool that can be configured via pyproject.toml by @vite-falcon in https://github.com/IBM/prompt-declaration-language/pull/864
New Contributors
- @vite-falcon made their first contribution in https://github.com/IBM/prompt-declaration-language/pull/851
Full Changelog: https://github.com/IBM/prompt-declaration-language/compare/v0.5.1...v0.6.0