Skip to content

Releases: php-llm/llm-chain

0.22.0

01 Jun 13:56
c27618d
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • Sorting into three main sub compontents Platform, Chain and Store
    • High level implementation also went into those components, see ChainInterface as example
    • Model namespace went into Platform
    • Bridges got sorted into Platform or Store
    • Tool metadata moved from Chain to Platform\Contract
  • Implementation of JsonSerializable was dropped in favor of Symfony's serializer/normalizer
  • Removal of LanguageModel and EmbeddingsModel interface in favor of base Model and Capabilities
  • Renaming of StructuredResponse to ObjectResponse
  • Slimming down the supports() method of ModelClient and ResponseConverter
  • 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

18 May 14:11
be5d914
Compare
Choose a tag to compare

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

16 May 15:33
496d887
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.21.0...0.21.1

0.21.0

28 Apr 16:42
b0ee187
Compare
Choose a tag to compare

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

18 Apr 22:45
6b6d8f1
Compare
Choose a tag to compare

What's Changed

New Contributors

Breaking Changes

  • Renaming of Model::version to Model::name with corresponding getter, see #278
  • Rework of Image and Audio content classes, see #285

Full Changelog: 0.19.0...0.20.0

0.19.0

20 Mar 21:53
a588afe
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • ToolBox renamed to Toolbox in corresponding namespace, classes and variables, see #258
  • Tool's Metadata introduced a new ExecutionReference object instead $className and $method properties/arguments
  • Tool's interface MetadataFactory::getMetadata changed argument type from mixed to string
  • PhpLlm\LlmChain\Chain\ToolBox\ToolResultConverter::convert(...) type declaration was narrowed down from mixed to \JsonSerializable|\Stringable|array|float|string|null, see #254

Full Changelog: 0.18.0...0.19.0

0.18.0

13 Mar 23:29
6a5dbe7
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.17.0...0.18.0

0.17.0

07 Mar 09:37
6e37414
Compare
Choose a tag to compare

What's Changed

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 of string $url

Full Changelog: 0.16.4...0.17.0

0.16.4

04 Mar 12:51
c3893be
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.16.3...0.16.4

0.16.3

27 Feb 21:51
b9f33f2
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.16.2...0.16.3