Prompt-declaration-language

Latest version: v0.2.0

Safety actively analyzes 702026 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.0

**Warning:** This release introduce a non-backward compatible change: `call` blocks take closures as argument instead of function names. In practice, a function call like `call: f` must be replace by `call: ${f}`.

What's Changed
* The argument of `call:` is a closure, not a name by mandel in https://github.com/IBM/prompt-declaration-language/pull/242
* Initial OpenTelemetry support by esnible in https://github.com/IBM/prompt-declaration-language/pull/254
* Removed upper bound on LiteLLM version by vazirim in https://github.com/IBM/prompt-declaration-language/pull/255
* Add comments to examples to make them more obvious by esnible in https://github.com/IBM/prompt-declaration-language/pull/259

**Full Changelog**: https://github.com/IBM/prompt-declaration-language/compare/v0.1.1...v0.2.0

0.1.1

What's Changed
* remove None valued parameters when calling LLMs by vazirim in https://github.com/IBM/prompt-declaration-language/pull/212
* Flush the output after each print in streaming mode by mandel in https://github.com/IBM/prompt-declaration-language/pull/213
* support for expressions in function call args by vazirim in https://github.com/IBM/prompt-declaration-language/pull/221
* Show the model name, and request info if possible, on error by esnible in https://github.com/IBM/prompt-declaration-language/pull/226

New Contributors
* trsudarshan made their first contribution in https://github.com/IBM/prompt-declaration-language/pull/209
* esnible made their first contribution in https://github.com/IBM/prompt-declaration-language/pull/222

**Full Changelog**: https://github.com/IBM/prompt-declaration-language/compare/v0.1.0...v0.1.1

0.1.0

**Warning**: This release introduce a non-backward compatible change: implicit `lastOf` (lists of blocks) are not allowed anymore.

What's Changed
* Add support of Jinja code blocks by mandel in https://github.com/IBM/prompt-declaration-language/pull/183
* Add support of PDL code blocks by mandel in https://github.com/IBM/prompt-declaration-language/pull/185
* Enable richer data in messages to support function calling by vazirim in https://github.com/IBM/prompt-declaration-language/pull/184
* Add localized expressions in AST by mandel in https://github.com/IBM/prompt-declaration-language/pull/130
* Remove implicit lastOf by mandel in https://github.com/IBM/prompt-declaration-language/pull/167
* changes to default parameters, structured decoding support by vazirim in https://github.com/IBM/prompt-declaration-language/pull/205
* updated tools and react examples to use granite tool calling by vazirim in https://github.com/IBM/prompt-declaration-language/pull/206


**Full Changelog**: https://github.com/IBM/prompt-declaration-language/compare/v0.0.9...v0.1.0

0.0.9

What's Changed
* Obtaining raw output from model calls by vazirim in https://github.com/IBM/prompt-declaration-language/pull/165
* Fix implicit unused analysis by mandel in https://github.com/IBM/prompt-declaration-language/pull/158
* support for structured decoding, removed default watsonx parameters by vazirim in https://github.com/IBM/prompt-declaration-language/pull/168
* Remove useless computation during model calls using liteLLM by mandel in https://github.com/IBM/prompt-declaration-language/pull/171
* Support for Python 3.13 by mandel in https://github.com/IBM/prompt-declaration-language/pull/166
* doc: added ollama API env variable by eloycoto in https://github.com/IBM/prompt-declaration-language/pull/175
* bug fix for LLM function calling by vazirim in https://github.com/IBM/prompt-declaration-language/pull/178

New Contributors
* eloycoto made their first contribution in https://github.com/IBM/prompt-declaration-language/pull/175

**Full Changelog**: https://github.com/IBM/prompt-declaration-language/compare/v0.0.8...v0.0.9

0.0.8

What's Changed
* Tutorial updates by vazirim in https://github.com/IBM/prompt-declaration-language/pull/152
* Emit a warning if a result is implicitly ignored by mandel in https://github.com/IBM/prompt-declaration-language/pull/127
* Update documentation by mandel in https://github.com/IBM/prompt-declaration-language/pull/155
* Use new granite models by vazirim in https://github.com/IBM/prompt-declaration-language/pull/160

0.0.7

What's Changed
* Rename the background `context` variable into `pdl_context` by mandel in https://github.com/IBM/prompt-declaration-language/pull/126
* Use simple TFIDF for RAG example. by hirzel in https://github.com/IBM/prompt-declaration-language/pull/129
* Update pre-commit requirement from ~=3.0 to >=3,<5 by dependabot in https://github.com/IBM/prompt-declaration-language/pull/128
* Provide a map function on the PDL ast by mandel in https://github.com/IBM/prompt-declaration-language/pull/131
* chat template by vazirim in https://github.com/IBM/prompt-declaration-language/pull/132
* Update Litellm version by mandel in https://github.com/IBM/prompt-declaration-language/pull/133
* Update README by mandel in https://github.com/IBM/prompt-declaration-language/pull/134
* Add runtime test of all the examples by mandel in https://github.com/IBM/prompt-declaration-language/pull/135
* Fix for chat template by vazirim in https://github.com/IBM/prompt-declaration-language/pull/137
* example cleanup by vazirim in https://github.com/IBM/prompt-declaration-language/pull/138
* Update run-examples tests by mandel in https://github.com/IBM/prompt-declaration-language/pull/139
* Update test of examples by mandel in https://github.com/IBM/prompt-declaration-language/pull/140
* Example of call-back from PDL back to Python. by hirzel in https://github.com/IBM/prompt-declaration-language/pull/136
* Add ollama instructions by claudiosv in https://github.com/IBM/prompt-declaration-language/pull/60
* Skip test of callback example by mandel in https://github.com/IBM/prompt-declaration-language/pull/144
* quick reference by hirzel in https://github.com/IBM/prompt-declaration-language/pull/145
* fix broken link by hirzel in https://github.com/IBM/prompt-declaration-language/pull/146
* Bump types/node from 22.7.4 to 22.7.5 in /pdl-live by dependabot in https://github.com/IBM/prompt-declaration-language/pull/143
* Add type annotations by mandel in https://github.com/IBM/prompt-declaration-language/pull/141
* `fallback` catch all exceptions by mandel in https://github.com/IBM/prompt-declaration-language/pull/148
* Explicit model input inherit the current role by mandel in https://github.com/IBM/prompt-declaration-language/pull/149
* pdl notebook by vazirim in https://github.com/IBM/prompt-declaration-language/pull/142
* Add null and bool values by mandel in https://github.com/IBM/prompt-declaration-language/pull/150
* removed examples by vazirim in https://github.com/IBM/prompt-declaration-language/pull/151

New Contributors
* hirzel made their first contribution in https://github.com/IBM/prompt-declaration-language/pull/129

**Full Changelog**: https://github.com/IBM/prompt-declaration-language/compare/v0.0.6...v0.0.7

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.