RAG 파이프라인
중급
이것은Engineering, AI분야의자동화 워크플로우로, 13개의 노드를 포함합니다.주로 FormTrigger, Agent, ChatTrigger, LmChatOllama, EmbeddingsOllama 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. 검색 강화 생성(RAG) 기반 로컬 채팅 로봇
사전 요구사항
- •Qdrant 서버 연결 정보
사용된 노드 (13)
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "L9nteAq0NLYqIGxH",
"meta": {
"instanceId": "558d88703fb65b2d0e44613bc35916258b0f0bf983c5d4730c00c424b77ca36a",
"templateCredsSetupCompleted": true
},
"name": "RAG Pipeline",
"tags": [],
"nodes": [
{
"id": "a00e5b5b-1cc1-4272-9790-8ffde3c92efb",
"name": "폼 제출 시",
"type": "n8n-nodes-base.formTrigger",
"position": [
0,
0
],
"webhookId": "4e1e20d4-f759-42c8-8439-87b93f43aa7c",
"parameters": {
"options": {},
"formTitle": "Add your file here",
"formFields": {
"values": [
{
"fieldType": "file",
"fieldLabel": "File",
"requiredField": true,
"acceptFileTypes": ".pdf"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "1218186e-a93e-4e05-b47e-a395f28cf5f9",
"name": "Qdrant 벡터 저장소",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"position": [
220,
0
],
"parameters": {
"mode": "insert",
"options": {},
"qdrantCollection": {
"__rl": true,
"mode": "id",
"value": "rag_collection"
}
},
"credentials": {
"qdrantApi": {
"id": "sFfERYppMeBnFNeA",
"name": "Local QdrantApi database"
}
},
"typeVersion": 1.2
},
{
"id": "9c7fb858-b571-4626-b976-d3e1995c464b",
"name": "임베딩 Ollama",
"type": "@n8n/n8n-nodes-langchain.embeddingsOllama",
"position": [
60,
220
],
"parameters": {
"model": "mxbai-embed-large:latest"
},
"credentials": {
"ollamaApi": {
"id": "xHuYe0MDGOs9IpBW",
"name": "Local Ollama service"
}
},
"typeVersion": 1
},
{
"id": "af14443b-ae01-48dc-8552-5ded7a27fce2",
"name": "기본 데이터 로더",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
360,
220
],
"parameters": {
"options": {},
"dataType": "binary"
},
"typeVersion": 1
},
{
"id": "660380c5-63da-4404-98e6-f9c0ee9aaa90",
"name": "재귀 문자 텍스트 분할기",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
460,
440
],
"parameters": {
"options": {},
"chunkSize": 200,
"chunkOverlap": 50
},
"typeVersion": 1
},
{
"id": "49dbe387-751f-4a2e-8803-290bc2c06ec5",
"name": "스티키 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
-100
],
"parameters": {
"color": 3,
"width": 840,
"height": 700,
"content": "## Data Ingestion\n**Add data to the semantic database"
},
"typeVersion": 1
},
{
"id": "45683271-af59-41d0-9e69-af721d566661",
"name": "채팅 메시지 수신 시",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
940,
-20
],
"webhookId": "5e56a263-3a40-44bd-bc9d-1cfb3bc2a87d",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "af562588-2e8c-4c0b-b041-d6fc8c0affd0",
"name": "AI 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1220,
-20
],
"parameters": {
"options": {
"systemMessage": "You are a helpful assistant. You have access to a tool to retrieve data from a semantic database to answer questions. Always provide arguments when you execute the tool"
}
},
"typeVersion": 2
},
{
"id": "4d924b4a-fe07-4606-8385-613d6ea14991",
"name": "Ollama 채팅 모델",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"position": [
1060,
220
],
"parameters": {
"options": {}
},
"credentials": {
"ollamaApi": {
"id": "xHuYe0MDGOs9IpBW",
"name": "Local Ollama service"
}
},
"typeVersion": 1
},
{
"id": "de87b7bb-6fec-4d8f-a77a-25bc3a30a038",
"name": "단순 메모리",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1260,
220
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "16261539-5218-4df1-8b14-915dd3377167",
"name": "Qdrant 벡터 저장소1",
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"position": [
1540,
240
],
"parameters": {
"mode": "retrieve-as-tool",
"options": {},
"toolName": "retriever",
"toolDescription": "Retrieve data from a semantic database to answer questions",
"qdrantCollection": {
"__rl": true,
"mode": "id",
"value": "rag_collection"
}
},
"credentials": {
"qdrantApi": {
"id": "sFfERYppMeBnFNeA",
"name": "Local QdrantApi database"
}
},
"typeVersion": 1.2
},
{
"id": "57d3be1d-73cd-4464-a3f3-7dd4a3157cdf",
"name": "임베딩 Ollama1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOllama",
"position": [
1460,
440
],
"parameters": {
"model": "mxbai-embed-large:latest"
},
"credentials": {
"ollamaApi": {
"id": "xHuYe0MDGOs9IpBW",
"name": "Local Ollama service"
}
},
"typeVersion": 1
},
{
"id": "5919cc58-05f4-42c8-aada-3782a16574d9",
"name": "스티키 노트1",
"type": "n8n-nodes-base.stickyNote",
"position": [
740,
-100
],
"parameters": {
"color": 4,
"width": 1200,
"height": 700,
"content": "## RAG Chatbot\n**Chat with your data"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "895c0261-fbf5-4bb6-9581-4cea3c4d20bd",
"connections": {
"de87b7bb-6fec-4d8f-a77a-25bc3a30a038": {
"ai_memory": [
[
{
"node": "af562588-2e8c-4c0b-b041-d6fc8c0affd0",
"type": "ai_memory",
"index": 0
}
]
]
},
"9c7fb858-b571-4626-b976-d3e1995c464b": {
"ai_embedding": [
[
{
"node": "1218186e-a93e-4e05-b47e-a395f28cf5f9",
"type": "ai_embedding",
"index": 0
}
]
]
},
"4d924b4a-fe07-4606-8385-613d6ea14991": {
"ai_languageModel": [
[
{
"node": "af562588-2e8c-4c0b-b041-d6fc8c0affd0",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"57d3be1d-73cd-4464-a3f3-7dd4a3157cdf": {
"ai_embedding": [
[
{
"node": "16261539-5218-4df1-8b14-915dd3377167",
"type": "ai_embedding",
"index": 0
}
]
]
},
"a00e5b5b-1cc1-4272-9790-8ffde3c92efb": {
"main": [
[
{
"node": "1218186e-a93e-4e05-b47e-a395f28cf5f9",
"type": "main",
"index": 0
}
]
]
},
"af14443b-ae01-48dc-8552-5ded7a27fce2": {
"ai_document": [
[
{
"node": "1218186e-a93e-4e05-b47e-a395f28cf5f9",
"type": "ai_document",
"index": 0
}
]
]
},
"16261539-5218-4df1-8b14-915dd3377167": {
"ai_tool": [
[
{
"node": "af562588-2e8c-4c0b-b041-d6fc8c0affd0",
"type": "ai_tool",
"index": 0
}
]
]
},
"45683271-af59-41d0-9e69-af721d566661": {
"main": [
[
{
"node": "af562588-2e8c-4c0b-b041-d6fc8c0affd0",
"type": "main",
"index": 0
}
]
]
},
"660380c5-63da-4404-98e6-f9c0ee9aaa90": {
"ai_textSplitter": [
[
{
"node": "af14443b-ae01-48dc-8552-5ded7a27fce2",
"type": "ai_textSplitter",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 엔지니어링, 인공지능
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
Qdrant RAG와 Ollama를 사용한 로컬 AI Kaggle 대회 어시스턴트 구축
Qdrant RAG와 Ollama를 사용하여 로컬 AI Kaggle 경쟁 어시스턴트 구축
Set
Merge
Switch
+
Set
Merge
Switch
23 노드JHH
엔지니어링
问答AI 인텔리전스를 구축합니다.
Llama, RAG, Google 검색을 사용하여 질문 응답 AI 인텔리전스를 구축합니다.
Form Trigger
Mcp Client Tool
Mcp Trigger
+
Form Trigger
Mcp Client Tool
Mcp Trigger
12 노드Thomas Janssen
엔지니어링
AI 스마트 어시스턴트: Supabase 스토리지 및 Google Drive 파일과 대화
AI스마트어시스턴트:与Supabase存储및Google Drive文件对话
If
Set
Wait
+
If
Set
Wait
62 노드Mark Shcherbakov
엔지니어링
RAG(Pinecone과 OpenAI)를 사용하여 GitHub OpenAPI 규격과 대화
GitHub API 문서와 대화: RAG 기반 채팅 로봇, Pinecone와 OpenAI를 사용합니다.
Http Request
Manual Trigger
Agent
+
Http Request
Manual Trigger
Agent
17 노드Mihai Farcas
엔지니어링
⚡AI驱动의YouTube播放列表및视频摘要与분석v2
AI YouTube播放列表与视频분석채팅봇
If
Set
Code
+
If
Set
Code
72 노드dmr
기타
Qdrant, Mistral.ai, OpenAI를 사용하여 세금 법률 어시스턴트를 구축합니다.
Qdrant, Mistral.ai, OpenAI를 사용하여 세금 법률 어시스턴트를 구축합니다.
Set
Wait
Filter
+
Set
Wait
Filter
38 노드Jimleuk
금융