Repository navigation
v0.6
Changes in this release:
- EmbeddingProviderInterface — new contract for generating text embeddings via embed(string|array $input, array $options): EmbeddingResponse
- EmbeddingResponse — value object for embedding results with first(), dimensions(), count(), and usage tracking
- VectorStoreInterface — new contract for vector storage with upsert(), query(), delete(), flush(), and count()
- InMemoryVectorStore — pure PHP implementation with cosine similarity search and metadata filtering, zero dependencies
- FailoverProvider — wraps multiple providers with automatic failover on failure, configurable retry exception types, and getLastUsedProvider() tracking
- SearchResult — value object for vector query results with id, score, metadata, and content
- Development tooling — PHP CS Fixer (PSR-12), Psalm level 4 static analysis, CI workflow for PHP 8.2–8.5, pre-commit hooks, 75% minimum test coverage
- Bug fixes — removed unused variables in Agent, added toAnthropic()/toOpenAI() to ToolInterface, fixed redundant null check in Schema, adding missing imports in AgentInterface