Empty Search Results
When asking for product recommendations, the bot reports that no matching products could be found.
Symptoms
When asking for product recommendations, the bot reports that no matching products could be found.
Diagnostics & Resolution
- Verify Embeddings Generation:
- Run
php bin/magento generate:embeddingsvia CLI to generate or refresh vector embeddings.
- Run
- Confirm Background Queue Worker is Running:
- Ensure the consumer is active:
php bin/magento queue:consumers:start aichatbot.product.embedding.generate
- Ensure the consumer is active:
- Check Product Salability & Visibility:
- Products must be Enabled, In Stock, and have Visibility set to
Catalog, SearchorSearch.
- Products must be Enabled, In Stock, and have Visibility set to
- Review AI Model Dimension & Minimum Search Score:
- Verify that AI Model Dimension matches your embedding model (e.g.,
1536for OpenAItext-embedding-3-small,768or1024for Gemini). - If Minimum Searching Score is set too high, lower the threshold to improve match recall.
- Verify that AI Model Dimension matches your embedding model (e.g.,
