Releases: php-llm/llm-chain
Releases · php-llm/llm-chain
0.20.0
What's Changed
- docs: fix typo with Embedder service by @Iyadhfaleh in #269
- feat: add support for Anthropic tool use by @soukicz in #209
- ci: update rector config for deprecations and skipping data provider … by @chr-hertel in #274
- fix: toolbox usage in claude model handler after renaming by @chr-hertel in #275
- fix: usage of Claude without system prompt by @chr-hertel in #272
- ci: reorder qa pipeline to shift commit check to last step by @chr-hertel in #273
- feat: bring in Llama 3.3 support with Azure by @chr-hertel in #276
- feat: add latest Claude model versions by @chr-hertel in #277
- ci: skip mongodb extension for now by @chr-hertel in #281
- refactor: rename Model::version to Model::name by @chr-hertel in #278
- feat: add new v4.1 models by @DZunke in #282
- feat: allow access of methods and read of properties through AsyncRes… by @chr-hertel in #284
- refactor: add more output to example runner by @chr-hertel in #283
- refactor: message content file handling [BC BREAK] by @chr-hertel in #285
- feat: add support for Hugging Face Inference API by @chr-hertel in #279
- feat: add support for TransformersPHP for model runtime in PHP by @chr-hertel in #280
New Contributors
Breaking Changes
- Renaming of
Model::version
toModel::name
with corresponding getter, see #278 - Rework of
Image
andAudio
content classes, see #285
Full Changelog: 0.19.0...0.20.0
0.19.0
What's Changed
- fix: handle void|null tool response graceful by @chr-hertel in #254
- fix: remove +x on example files by @chr-hertel in #253
- test: fix coverage again by @chr-hertel in #257
- feat: add whisper azure support by @chr-hertel in #252
- feat: support stringable system prompt by @chr-hertel in #259
- refactor: introduce execution reference in tool metadata by @chr-hertel in #260
- feat: introduce chain and memory tool metadata factory by @chr-hertel in #256
- refactor: rename toolbox to lowercase by @chr-hertel in #258
- test: fix namespaces and coverage usage by @chr-hertel in #261
- feat: support date time tool results by @chr-hertel in #263
- docs: add section about different tool metadata factories by @chr-hertel in #262
- feat: add object support for
MemoryFactory::addTool
by @chr-hertel in #264 - fix: exception message in
ToolMetadataException
by @chr-hertel in #265 - fix: complex json schema default by @chr-hertel in #267
- feat: add chain wrapper tool by @chr-hertel in #266
- docs: add section about chain in chain by @chr-hertel in #268
Breaking Changes
ToolBox
renamed toToolbox
in corresponding namespace, classes and variables, see #258- Tool's
Metadata
introduced a newExecutionReference
object instead$className
and$method
properties/arguments - Tool's interface
MetadataFactory::getMetadata
changed argument type frommixed
tostring
PhpLlm\LlmChain\Chain\ToolBox\ToolResultConverter::convert(...)
type declaration was narrowed down frommixed
to\JsonSerializable|\Stringable|array|float|string|null
, see #254
Full Changelog: 0.18.0...0.19.0
0.18.0
What's Changed
- refactor: ease toolbox instatiation by @chr-hertel in #248
- feat: extend Audio content for data urls and raw data by @chr-hertel in #250
- feat: add support for whisper on openai by @chr-hertel in #251
- refactor: introduce tool metadata factory interface by @chr-hertel in #249
Full Changelog: 0.17.0...0.18.0
0.17.0
What's Changed
- style: [PHP-CS-Fixer] Enable
heredoc_indentation
withstart_plus_one
rule by @OskarStark in #234 - ci: add PR validation and auto labeling by @chr-hertel in #237
- refactor: rename tool param attribute by @chr-hertel in #239
- docs: better readability by @OskarStark in #240
- docs: fix syntax by @OskarStark in #242
- chore: reorganize makefile by @chr-hertel in #241
- docs: add contributing file by @chr-hertel in #238
- docs: fix make in contrib by @chr-hertel in #245
- chore: disable memory limit for phpstan by @chr-hertel in #244
- feat: include tool definitions to system prompt by @OskarStark in #233
- refactor: centralize json schema generation by @chr-hertel in #212
- feat: support multiple urls in Tavily tool by @OskarStark in #243
- ci: use
bug
instead offix
label by @chr-hertel in #246
Breaking Changes
- renamed
#[ToolParameter]
to#[With]
(#239) and moved the namespace (#212) - json schema generation changed with #212
- Tavily tool method extract now with
array $urls
instead ofstring $url
Full Changelog: 0.16.4...0.17.0
0.16.4
What's Changed
- Allow
codewithkyrian/chromadb-php
0.3 by @OskarStark in #228 - Add Oskar as author by @OskarStark in #229
- [MongoDB] Do not use deprecated
selectCollection
method by @OskarStark in #227 - Add GPT 4.5 by @OskarStark in #232
- Require PHPStan and Rector 2 by @OskarStark in #230
Full Changelog: 0.16.3...0.16.4
0.16.3
What's Changed
- chore: bump dev dependencies by @chr-hertel in #225
- fix: array access of tool override by @chr-hertel in #226
Full Changelog: 0.16.2...0.16.3
0.16.2
What's Changed
- fix: actually fix the fix of tool filter by @chr-hertel in #224
Full Changelog: 0.16.1...0.16.2
0.16.1
What's Changed
- docs: fix messages example by @chr-hertel in #222
- fix: re-enable filtering of tools by @chr-hertel in #223
Full Changelog: 0.16...0.16.1
0.16
What's Changed
- Fix: support finish reason "length" by @odinuv in #216
- ci: switch rector to dry run for actually failing by @chr-hertel in #217
- fix: GPT Streams with tool calls by @DZunke in #214
- refactor: gpt stream conversion by @chr-hertel in #218
- feat: introduce optional fault tolerant toolbox by @chr-hertel in #213
- fix: replicate llama init by @chr-hertel in #219
- feat: support gemini by @onemoreangle & @chr-hertel in #220
- tests: fix coverage data again by @chr-hertel in #221
New Contributors
- @odinuv made their first contribution in #216
- @onemoreangle made their first contribution in #220
BC Breaks
- Exception namespaces of ToolBox exceptions changed with #213
Full Changelog: 0.15.2...0.16
0.15.2
What's Changed
- Add
o3-mini
ando3-mini-high
models by @OskarStark in #210
Full Changelog: 0.15.1...0.15.2