symfony/ai-meilisearch-message-store
Meilisearch Message Store integrates Meilisearch as a persistent message store for Symfony AI Chat. Index and query chat messages using Meilisearch APIs, with support for async task handling and configurable index settings via Meilisearch.
user_id or timestamp).tenant_123_chat_messages), eliminating the need for database sharding or complex middleware.symfony/ai) to avoid reinventing wheel, while Laravel’s compatibility reduces integration risk.timestamp, user_id, or custom tags).meilisearch-client) or a microservice wrapper (e.g., FastAPI).HttpClient implementation).*"This package lets us deploy a high-performance, cost-efficient AI chat system using Meilisearch—a leading open-source search engine—as the message store, cutting cloud costs by 50–70% vs. proprietary alternatives like Pinecone or Weaviate. By integrating with Symfony AI (via Laravel adapters), we gain:
*"This bridge connects Symfony AI Chat to Meilisearch for message storage, handling:
user_id, timestamp, embedding).HttpClient and DI container.meilisearch/meilisearch-php SDK.
Start with a spike to validate latency/throughput for your expected load (e.g., 10K messages), then integrate via a ServiceProvider and custom MessageStoreInterface implementation.
Pro Tip: Use Laravel’s queues to batch Meilisearch operations and avoid rate limits during peak times."**"Meilisearch enables:
tenant_{id}_messages) reduce cross-contamination risk in multi-tenant apps.user_id, timestamp, or custom tags without querying the LLM, improving analytics.encryption facade for sensitive fields (e.g., user_id in metadata).*"This package supports three high-impact use cases:
*"Meilisearch integration requires:
How can I help you explore Laravel packages today?