cd /news/generative-ai/i-built-a-context-aware-rag-plant-as… · home › topics › generative-ai › article
[ARTICLE · art-148805] src=dev.to ↗ pub= topic=generative-ai verified=true sentiment=↑ positive

I Built a Context-Aware RAG Plant Assistant for Magento 2 — and Added AI Photo Analysis

Johan, a developer running the multilingual Magento 2 plant store Introgreen, built two custom AI tools: Plantcoach, a context-aware RAG assistant that retrieves advice from the store's own plant knowledge library and adapts to the product page a visitor is viewing, and Plant Finder, a recommendation tool whose photo-analysis feature is in public beta. Both tools are custom-built for the five-language store and are now publicly available on its English site.

by read2 min views1 publishedOct 10, 2026

I've spent the past few months building two custom AI tools for Introgreen, my multilingual online plant store running on Magento 2.

Instead of installing a generic chatbot extension, I wanted to develop something that understands which products visitors are viewing, retrieves relevant information from our own plant knowledge library and helps people choose suitable plants.

The result is Plantcoach, a context-aware RAG assistant, and Plant Finder, an AI-powered recommendation tool with photo analysis.

Both are now publicly available, with photo analysis still in beta.

Plantcoach uses Retrieval-Augmented Generation (RAG) to retrieve relevant information from our own plant advice library instead of relying entirely on the model's general knowledge.

The library covers plant care, diseases, pests, growing conditions and plant selection for different environments.

What makes it interesting is its integration with Magento 2.

Plantcoach works through a dedicated page and as a chat popup on the homepage, category pages and product pages.

The assistant adapts to the page context.

For example, when someone visits a Monstera product page and asks, "Why are the leaves turning yellow?", Plantcoach can use the current product context and retrieve relevant plant-specific advice. It also combines plant knowledge with Magento product information, including plant characteristics and availability.

The challenge is providing useful advice without turning every conversation into a sales pitch.

My second tool, Plant Finder, recently gained a photo-analysis feature.

Visitors can:

A photograph alone cannot reliably determine everything. For example, it can't tell us how much natural light a room receives throughout the day.

That's why the tool combines image analysis with follow-up questions.

The photo feature is currently available as a public beta.

Our Magento store operates in five languages: Dutch, German, English, French and Spanish.

Building these tools has involved combining several different sources of information:

One challenge is handling different common names for the same plant across languages.

Another is ensuring recommendations remain relevant to both the user's situation and the actual product catalogue.

There's still plenty to improve, particularly around multilingual retrieval and recommendation quality.

Both tools are available on our English-language store.

Plantcoach — Context-Aware RAG Assistant

https://introgreen.eu/plantcoach/ Ask questions about plant care or try the contextual chat popup on a product page.

Plant Finder — AI Photo Analysis (Beta)

https://introgreen.eu/plant-finder Upload a photo and try the plant recommendations yourself.

I'm particularly interested in hearing from other developers:

Both tools are custom-built for Introgreen, and I'm continuing to improve them.

I'd love to hear your experiences with similar projects or suggestions for improvement.

Thanks for reading!

Johan

── more in #generative-ai 4 stories · sorted by recency
── more on @introgreen 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-a-context-aw…] indexed:0 read:2min 2026-10-10 · —