symfony/ai-typesense-store
Typesense Store integrates the Typesense vector database with Symfony AI Store, enabling vector indexing and similarity search via Typesense’s vector search API. Part of the Symfony AI ecosystem, with issues and PRs handled in the main Symfony AI repo.
StoreInterface.symfony/ai).typesense/typesense).weaviate-client, pinecone-client)."This package lets us deploy AI features faster and cheaper by integrating Typesense—a high-performance, open-source vector database—into our Laravel/Symfony apps. Here’s why it’s a no-brainer:
"This is a drop-in vector store for Symfony AI that abstracts Typesense’s complexity. Here’s how it fits into our stack:
StoreInterface—same pattern as Redis or PostgreSQL stores. Example:
$store = new TypesenseStore(
new TypesenseClient(['nodes' => ['http://typesense.example.com:8108']]),
'products'
);
$results = $store->find($query->setVector($embedding)->setLimit(5));
HNSW parameters) without changing app code.
Proposal: Use this for our [AI Search MVP], then evaluate scaling needs (e.g., sharding, cloud vs. self-hosted). Let’s start with a POC using our existing Symfony AI setup.""This package bridges your embeddings to production systems seamlessly. Key benefits:
$store->add($embedding, ['category' => 'electronics', 'price' => 99.99]);
$neighbors = $store->find($query->setVector($query_embedding)->setLimit(3));
category=electronics) with vector similarity for precise retrieval."Typesense is a lightweight, scalable vector database that fits our infrastructure:
How can I help you explore Laravel packages today?