Releases: php-llm/llm-chain
Releases · php-llm/llm-chain
0.10.0
What's Changed
- feat: improve and test wikipedia tool by @chr-hertel in #157
- Add and use
ToolNotFoundException
by @OskarStark in #162 - Handle
int
,float
,array
,\Stringable
and\JsonSerializable
return values from tools by @OskarStark in #161
Full Changelog: 0.9.3...0.10.0
0.9.3
What's Changed
- fix: expose version for anthropic via platform factory as well by @chr-hertel in #154
- fix: make it possible to inject http client into factories by @chr-hertel in #155
- chore: improve error message for DX by @chr-hertel in #156
Full Changelog: 0.9.2...0.9.3
0.9.2
What's Changed
- Parse OpenAI response embedding to contain all embeddings by @DZunke in #150
- fix: JsonException on last chunk for Symfony 6.4 by @chr-hertel in #153
Full Changelog: 0.9.1...0.9.2
0.9.1
0.9.0
What's Changed
- [BC BREAK] Extend
VectorSearchInterface::query()
for a$minScore
by @OskarStark in #151
Full Changelog: 0.8.1...0.9.0
0.8.1
What's Changed
- ci: execute php cs fixer with parallel processes by @chr-hertel in #147
- ci: surpress php 8.4 warning for PHP CS Fixer by @chr-hertel in #148
- refactor: introduce PlatformInterface by @chr-hertel in #149
Full Changelog: 0.8...0.8.1
0.8
Breaking Changes
Please be aware that this release contains a large amount of breaking changes due to namespace refactoring and redesign of components.
Mostly caused by #68 and #140.
The Symfony integration bundle is not yet compatible with this release, see php-llm/llm-chain-bundle#42
What's Changed
- Simplify tests by @OskarStark in #115
- chore: remove reasoning example to safe my credit card by @chr-hertel in #116
- Revert "chore: remove reasoning example to safe my credit card (#116)" by @OskarStark in #119
- refactor:
ResponseInterface
asChain
return value by @chr-hertel in #117 - fix: indicate example was skipped in runner by @chr-hertel in #121
- feat: support creation of image from binary file by @chr-hertel in #122
- fix: options handling in chain and processors by @chr-hertel in #124
- feat: add verbose mode to example runner and extend error handling by @chr-hertel in #125
- fix: streamed tool call by @chr-hertel in #126
- feat: introduce chain awareness in chain processors to nest them by @chr-hertel in #118
- Remove superflous header by @OskarStark in #127
- Move classes to
Fixture
dir by @OskarStark in #130 - fix: remove clock suggestion since it is mandatory nowadays by @chr-hertel in #133
- [Anthropic] Make version configurable by @OskarStark in #128
- Fix test class name by @OskarStark in #136
- Argument validation in the constructor by @OskarStark in #138
- docs: rework readme to cover all features by @chr-hertel in #131
- chore: define export ignore via git attributes by @chr-hertel in #139
- Conflict with PHPDocumentor higher then 5.5 because of doc parser bugs by @DZunke in #143
- Add interface to final readonly chain for testability by @DZunke in #144
- Fix empty tool list in request is ending in 400 bad request by @DZunke in #142
- Extend parameter description pattern to stop for single line comment by @DZunke in #145
- refactor: from vendor to structural namespaces for models and platforms by @chr-hertel in #68
- feat: adding llama support via replicate and ollama by @chr-hertel in #73
- refactor: introduce decoupled platform layer and convert models to state objects by @chr-hertel in #140
- docs: add contrib.rocks credits by @chr-hertel in #146
- feat: introducing async responses for parallel calling by @chr-hertel in #141
Full Changelog: 0.7.1...0.8
0.7.1
What's Changed
- Introduce
NullVector
andVectorInterface
by @OskarStark in #114
Full Changelog: 0.7...0.7.1
0.7
What's Changed
- Clear exception hierachy by @OskarStark in #94
- Introduce
ResponseFormatInterface
by @OskarStark in #93 - Rename
ContentInterface
toContent
by @OskarStark in #104 - Simplify
SchemaFactory
by @OskarStark in #100 - Add initial
AsToolTest
by @OskarStark in #98 - Do not call
upsert()
with empty array by @OskarStark in #102 - No mocks in
DocumentEmbedderTest
by @OskarStark in #103 - Move fixtures to
tests/Fixture
by @OskarStark in #99 - Rework
ToolAnalyzerTest
by @OskarStark in #96 - fix: changed class in rector config by @chr-hertel in #106
- Add
ChainProcessorTest
by @OskarStark in #97 - feat: add example runner for parallel execution of examples by @chr-hertel in #107
- tests: improve coverage by usage attributes by @chr-hertel in #108
- feat: support streaming of responses by @chr-hertel in #58
- docs: add pinecone example by @chr-hertel in #109
- Streamline examples by @OskarStark in #111
- Use
#[\SensitiveParameter]
by @OskarStark in #112 - refactor: split
Document
intoTextDocument
andVectorDocument
by @chr-hertel in #110
Full Changelog: 0.6.0...0.7
0.6.0
What's Changed
- Change order of commands in
Makefile
by @OskarStark in #76 - Fix namespace of test by @OskarStark in #78
- Filter out
Document
s without text inDocumentEmbedder
+ tests by @OskarStark in #79 - Fix test method name by @OskarStark in #81
- Use
match
by @OskarStark in #83 - Linebreak CPP by @OskarStark in #87
- Use
symfony/clock
inDocumentEmbedder
by @OskarStark in #84 - Add test for
ResponseFormatFactory
by @OskarStark in #86 - Enable
PHPUnitSetList::PHPUNIT_CODE_QUALITY
by @OskarStark in #88 - Add ability to describe tool parameters via
#[ToolParameter]
attribute by @OskarStark in #75 - Fix test by @OskarStark in #90
- Execute rector by @OskarStark in #91
- refactor: introduce attribute namespace for
AsTool
by @chr-hertel in #89
Full Changelog: 0.5.0...0.6.0