Releases: php-llm/llm-chain
Releases · php-llm/llm-chain
0.22.0
What's Changed
- feat: allow codewithkyrian/chromadb-php 0.4 by @OskarStark in #322
- feat: implement Bedrock and model clients for Claude, Llama, and Nova by @bjalt in #312
- refactor: ease Bedrock init by @chr-hertel in #324
- fix: Symfony 7.3 compatibility of SingleCommand with output by @chr-hertel in #325
- refactor: Major Library Refactoring by @chr-hertel in #326
- feat: extend Claude support for images and pdf input by @chr-hertel in #298
- feat: add support for mistral by @chr-hertel in #291
Breaking Changes
- Sorting into three main sub compontents
Platform
,Chain
andStore
- High level implementation also went into those components, see
ChainInterface
as example Model
namespace went intoPlatform
- Bridges got sorted into
Platform
orStore
- Tool metadata moved from
Chain
toPlatform\Contract
- High level implementation also went into those components, see
- Implementation of
JsonSerializable
was dropped in favor of Symfony's serializer/normalizer - Removal of
LanguageModel
andEmbeddingsModel
interface in favor of baseModel
andCapabilities
- Renaming of
StructuredResponse
toObjectResponse
- Slimming down the
supports()
method ofModelClient
andResponseConverter
- Changing signature of
ModelClient
to already accepting the normalized request payload - Renaming interfaces to always contain the
Interface
suffix - Renaming exceptions to always contain the
Exception
suffix
See #326 for more.
New Contributors
Full Changelog: 0.21.2...0.22.0
0.21.2
What's Changed
- fix: flaky anthropic tool calls with empty text by @chr-hertel in #315
- refactor: simplify transformers implementation by adding specific Platform by @chr-hertel in #314
Full Changelog: 0.21.1...0.21.2
0.21.1
What's Changed
- refactor: making more test method calls static with rector by @chr-hertel in #294
- chore: split example folder structure into multiple subdirectories by @chr-hertel in #295
- chore: rename model toolbox examples to toolcall by @chr-hertel in #296
- chore: extend example runner to target subdirs only by @chr-hertel in #299
- docs: fix after example rename in #296 by @chr-hertel in #300
- docs: add Azure examples for Whisper and Embeddings by @chr-hertel in #302
- docs: fix azure examples in env by @chr-hertel in #303
- chore: remove specific huggingface example runner by @chr-hertel in #304
- test: fix makefile targets to run examples by @chr-hertel in #306
- fix: implement failing test and cleanup by @chr-hertel in #308
- Fix structured dto by @chr-hertel in #309
- fix: missing namespace when upserting in Pinecone store by @sarjon in #310
New Contributors
Full Changelog: 0.21.0...0.21.1
0.21.0
What's Changed
- chore: updating some composer metadata + normalize by @chr-hertel in #287
- test: fix namespaces and coverage by @chr-hertel in #289
- fix: JsonSchema required by @lvluoyue in #288
- feat: Add Raw Response Metadata Handling - GPT Token Usage Example by @DZunke in #270
- feat: adding basic Brave search tool and crawler by @chr-hertel in #290
- refactor: use lib specific exceptions instead of native ones by @chr-hertel in #293
New Contributors
Full Changelog: 0.20.0...0.21.0
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