Recipe Recommendations with Qdrant and Mistral

Nodes

3b9f1b78-6b80-4575-aa6c-9669870003892e3e39e3-0e17-4fae-9ac5-9ee31f9711eda97f27bd-6185-4b9b-bade-f7020a7a188598668362-b7e1-43ca-bdc5-05fe30c5079857932fab-a25f-4afc-8917-5e99648bfd3c767a4dc9-a96d-4faf-8994-3ca756304676+9

Created by

JiJimleuk

Last edited 39 days ago

This n8n workflow demonstrates creating a recipe recommendation chatbot using the Qdrant vector store recommendation API.

Use this example to build recommendation features in your AI Agents for your users.

How it works

  • For our recipes, we'll use HelloFresh's weekly course and recipes for data. We'll scrape the website for this data.
  • Each recipe is split, vectorised and inserted into a Qdrant Collection using Mistral Embeddings
  • Additionally the whole recipe is stored in a SQLite database for later retrieval.
  • Our AI Agent is setup to recommend recipes from our Qdrant vector store. However, instead of the default similarity search, we'll use the Recommendation API instead.
  • Qdrant's Recommendation API allows you to provide a negative prompt; in our case, the user can specify recipes or ingredients to avoid.
  • The AI Agent is now able to suggest a recipe recommendation better suited for the user and increase customer satisfaction.

Requirements

  • Qdrant vector store instance to save the recipes
  • Mistral.ai account for embeddings and LLM agent

Customising the workflow

This workflow can work for a variety of different audiences. Try different sets of data such as clothes, sports shoes, vehicles or even holidays.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!