Natural language → filtered grid. AI-powered filtering for Sylius admin grids.
In an admin grid (orders, products, customers...), the assistant adds a search bar at the top. Type your query in plain language:
"orders over $100 from john.doe@gmail.com last month"
The plugin sends the query to a Large Language Model (OpenAI, Gemini, Anthropic, Mistral...), gets back structured filters and sorting (JSON Schema strict), and redirects to the same grid with the filters applied - exactly as if you had clicked them manually.
- PHP ^8.2
- Sylius ^2.1
- An AI provider account (OpenAI, Gemini, Anthropic, Mistral...) and its API key
This plugin ships a Symfony Flex recipe. With the Guiziweb recipe endpoint configured in your project (see linked repo), the install boils down to:
composer require guiziweb/sylius-grid-assistant-plugin
composer require symfony/ai-bundle symfony/ai-open-ai-platform # or another bridgeThen fill in your API key in .env.local and enable the grids you want. The Flex recipes (plugin + bridge) take care of the rest (bundle registration, config files, env var stub).
Full step-by-step guide (with and without Flex): installation.
- Installation - full setup steps
- Usage - admin guide with query examples
- Extending - add custom filter types
MIT - see LICENSE.
