Recipe Recommendations with Qdrant and Mistral — n8n Workflow

Hoog complexiteit Trigger24 knooppunten🏷️ Miscellaneous👁 6,207 weergavendoor Jimleuk

Overzicht

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 l

Gebruikte knooppunten

HTTP RequestCodeHTMLAI AgentRecursive Character Text SplitterCall n8n Workflow ToolDefault Data LoaderEmbeddings Mistral CloudMistral Cloud Chat ModelQdrant Vector Store

Workflow-voorvertoning

Step 1. Fetch Available Courses For the Curre
To populate our vectorstore, we'll scrape the weekly me
Step 2. Create Recipe Documents For VectorSto
To populate our vectorstore, we'll scrape the weekly me
Step 3. Vectorise Recipes For Recommendation
Read more about Qdrant node
We'll sto
Step 4. Save Original Document to Database
Read more about Code Node
Finally, let's have the original document stored in
5. Chat with Our HelloFresh Recommendation AI
Read more about AI Agents
This agent is designed
5. Using Qdrant's Recommend API & Grouping Fu
Read more about Qdrant's Recommend API
Unlike basic similarity search, Q
Try it out!
This workflow does the following:
* Fetches and stores this week's HelloFresh's menu
* Builds the foundation of a recommendation engine by s
🚨Ensure Qdrant collection exists!
You'll need to run the following command in Qdrant:
```
PUT collections/hello_fresh
{
"vectors": {
🚨Configure Your Qdrant Connection
* Be sure to enter your endpoint address
doctoolembedmodel
W
When clicking "Test work…
Get This Week's Menu
Extract Available Courses
Extract Server Data
G
Get Course Metadata
Get Recipe
Embeddings Mistral Cloud
Default Data Loader
M
Merge Course & Recipe
P
Prepare Documents
Recursive Character Text…
C
Chat Trigger
Extract Recipe Details
Qdrant Recommend API
E
Execute Workflow Trigger
Mistral Cloud Chat Model
G
Get Tool Response
W
Wait for Rate Limits
Get Mistral Embeddings
Use Qdrant Recommend API
Get Recipes From DB
Save Recipes to DB
AI Agent
Qdrant Vector Store
24 nodes22 edges

Hoe het werkt

  1. 1

    Trigger

    De workflow start met een trigger-trigger.

  2. 2

    Verwerking

    Gegevens stromen door 24 knooppunten, connecting agent, chattrigger, code.

  3. 3

    Uitvoer

    De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.

Knooppuntdetails (24)

HT

HTTP Request

httpRequest

#1
CO

Code

code

#2
HT

HTML

html

#3
AI

AI Agent

n8n-nodes-langchain.agent

#4
RE

Recursive Character Text Splitter

n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter

#5
CA

Call n8n Workflow Tool

n8n-nodes-langchain.toolWorkflow

#6
DE

Default Data Loader

n8n-nodes-langchain.documentDefaultDataLoader

#7
EM

Embeddings Mistral Cloud

n8n-nodes-langchain.embeddingsMistralCloud

#8
MI

Mistral Cloud Chat Model

n8n-nodes-langchain.lmChatMistralCloud

#9
QD

Qdrant Vector Store

n8n-nodes-langchain.vectorStoreQdrant

#10

Hoe deze workflow te importeren

  1. 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
  2. 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
  3. 3Selecteer het gedownloade bestand recipe-recommendations-with-qdrant-and-mistral en klik op Importeren.
  4. 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
  5. 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.

Of plak rechtstreeks in n8n → Importeren uit JSON:

{ "name": "Recipe Recommendations with Qdrant and Mistral", "nodes": [...], ...}

Integraties

agentchattriggercodedocumentdefaultdataloaderembeddingsmistralcloudexecuteworkflowtriggerhtmlhttprequestlmchatmistralcloudmanualtriggermergesettextsplitterrecursivecharactertextsplittertoolworkflowvectorstoreqdrantwait

Haal deze workflow op

Download en importeer met één klik

JSON downloadenBekijken op n8n.io
Knooppunten24
Complexiteithigh
Triggertrigger
Weergaven6,207
CategorieMiscellaneous

Gemaakt door

Jimleuk

Jimleuk

@jimleuk

Tags

agentchattriggercodedocumentdefaultdataloaderembeddingsmistralcloudexecuteworkflowtriggerhtmlhttprequestlmchatmistralcloudmanualtrigger

Nieuw bij n8n?

n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.

n8n gratis ophalen →

Related Miscellaneous Workflows