Initial project setup for Telegram-to-Qdrant knowledge base.

Add unified n8n workflow, userbot ingestion script, and detailed README for running n8n with a separate Dockerized Telethon collector.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-23 20:20:56 +03:00
commit a8d634f422
13 changed files with 1768 additions and 0 deletions

View File

@@ -0,0 +1,183 @@
{
"name": "Создание базы",
"nodes": [
{
"parameters": {
"mode": "insert",
"qdrantCollection": {
"__rl": true,
"mode": "list",
"value": "111"
},
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
"typeVersion": 1.3,
"position": [
928,
-144
],
"id": "acfdb2b7-e113-42a6-8793-566f5da7d0e2",
"name": "Qdrant Vector Store",
"credentials": {
"qdrantApi": {
"id": "gS1LJOMgnR7VJFRO",
"name": "QdrantApi account 2"
}
}
},
{
"parameters": {
"model": "qwen3-embedding:8b"
},
"type": "@n8n/n8n-nodes-langchain.embeddingsOllama",
"typeVersion": 1,
"position": [
880,
48
],
"id": "67815ae1-6b99-4e41-94e6-9b7986d12738",
"name": "Embeddings Ollama",
"credentials": {
"ollamaApi": {
"id": "Uis7Bsdb0l1qDDL7",
"name": "Ollama account 2"
}
}
},
{
"parameters": {
"dataType": "binary",
"loader": "docxLoader",
"textSplittingMode": "custom",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"typeVersion": 1.1,
"position": [
1040,
64
],
"id": "291df053-ad1c-4041-964d-0a427e547fca",
"name": "Default Data Loader"
},
{
"parameters": {
"chunkSize": 500,
"chunkOverlap": 50
},
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"typeVersion": 1,
"position": [
1136,
272
],
"id": "703047dd-e772-4d36-aed8-f6ba091bce5c",
"name": "Character Text Splitter"
},
{
"parameters": {
"fileSelector": "={{ $json.path }}",
"options": {}
},
"type": "n8n-nodes-base.readWriteFile",
"typeVersion": 1.1,
"position": [
592,
-144
],
"id": "d1e6082c-71f2-440c-9b34-011ae652fa5b",
"name": "Read/Write Files from Disk"
},
{
"parameters": {
"triggerOn": "folder",
"path": "/data/vid",
"events": [
"add"
],
"options": {
"usePolling": true
}
},
"type": "n8n-nodes-base.localFileTrigger",
"typeVersion": 1,
"position": [
320,
-144
],
"id": "4bd85a42-f9d0-436f-9617-0ebf42db1a7f",
"name": "Local File Trigger"
}
],
"pinData": {},
"connections": {
"Embeddings Ollama": {
"ai_embedding": [
[
{
"node": "Qdrant Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Default Data Loader": {
"ai_document": [
[
{
"node": "Qdrant Vector Store",
"type": "ai_document",
"index": 0
}
]
]
},
"Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "Default Data Loader",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"Read/Write Files from Disk": {
"main": [
[
{
"node": "Qdrant Vector Store",
"type": "main",
"index": 0
}
]
]
},
"Local File Trigger": {
"main": [
[
{
"node": "Read/Write Files from Disk",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1",
"availableInMCP": false
},
"versionId": "d1e2bb08-fb79-49f3-85d4-c6f491447f11",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "96706479c2e398d2a4e75bb05002310bb6030e8268be45294cab77c6640a0fe6"
},
"id": "lK4wQ7btZPq3elWleb7ry",
"tags": []
}