symfony/ai-maria-db-store
MariaDB vector store integration for Symfony AI Store, enabling vector search and RAG with MariaDB's native VECTOR type, VECTOR INDEX, and distance functions. Requires MariaDB 11.7 or later.
Distance::Distance now requires MariaDB 11.8. This raises the effective database floor from 11.7 to 11.8 for distance-based vector operations. Architecturally this is a tightening of platform prerequisites, not a redesign, but it may invalidate earlier PoCs or staging environments built on 11.7.count capability and VectorDocumentInterface remain useful abstractions. Count support helps pagination, admin dashboards, RAG context budgeting, and monitoring, but exact-vs-approximate semantics still need validation. The document interface remains the recommended boundary for reducing future store-swap risk.Distance::Distance and therefore distance-based vector operations. Environments on 11.7 must upgrade before adopting v0.15.0 if distance functionality is used.0.x; minor releases may include contract-affecting and platform-affecting changes. The MariaDB 11.8 requirement is a practical breaking change for 11.7 deployments.Distance directly must confirm MariaDB version compatibility.config/ai.php, adding maintenance overhead.VectorDocumentInterface still slightly reduces future migration debt if adopted cleanly.0.x versioning means the team should pin versions and run regression tests before upgrading production wrappers.count capability exact or approximate? Does it use an index, metadata filter, or full scan? What is its performance on tables above 100K or 1M vectors?VectorDocumentInterface require changes to existing DTOs, repositories, ingestion jobs, or Laravel service providers?pgvector, Milvus, or managed vector services where relevant.VectorDocumentInterface to ease future store swaps, and what is the exit strategy if MariaDB vector support proves insufficient?VectorDocumentInterface as the Boundary: Map Laravel DTOs, Eloquent models, or ingestion payloads to the new interface at the repository boundary. This keeps vector document handling consistent and reduces coupling to concrete package classes.count on large tables during request-critical paths.symfony/dependency-injection and related bridge components only if needed, or isolate the package behind a Laravel-native repository.config/ai.php.VectorDocumentInterface, count support, and index-distance verification only where they add clear value.composer why checks for Symfony AI 0.15 compatibility.VectorDocumentInterface mapping.config/ai.php, including distance metric and count settings.Distance::Distance.v0.15.0 and validate against Symfony AI 0.15 as required by the updated constraints. Since this is 0.x, do not assume safe minor upgrades without regression tests.v0.15.0 in a branch.VectorDocumentInterface if used.VECTOR column and index management remains required. The new index-distance behavior adds a version-sensitive operation: index creation should be tied to store distance configuration and documented in runbooks.VectorDocumentInterface should reduce long-term coupling if adopted consistently, but custom adapters must be maintained and tested across package updates.0.x, pin versions and review release notes before every upgrade. The v0.15.0 MariaDB 11.8 requirement is a clear example of why version pinning matters.v0.15.0 improves correctness and query efficiency but raises the database prerequisite and may require index rebuilds.VectorDocumentInterface improves abstraction but does not change underlying database scaling characteristics.Distance::Distance requires 11.8; deploying v0.15.0 to 11.7 environments may break distance-based search.0.x upgrade or partial adoption of VectorDocumentInterface may break custom ingestion or retrieval paths.ALTER TABLE, index recreation, or reindexing may affect production availability.VectorDocumentInterface mapping pattern, count semantics, and the importance of aligning store distance with index distance before production rollout.How can I help you explore Laravel packages today?