{
  "name": "RAG Retrieval Example",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "search",
        "responseMode": "responseNode"
      },
      "id": "12345678-1234-1234-1234-123456789012",
      "name": "Search Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "query": "={{ $json.query }}",
        "searchType": "vector",
        "limit": 10,
        "threshold": 0.7,
        "embeddingProvider": "openai",
        "embeddingModel": "text-embedding-ada-002",
        "vectorStoreProvider": "qdrant",
        "vectorStoreEndpoint": "http://localhost:6333",
        "collectionName": "knowledge_base",
        "includeMetadata": true
      },
      "id": "23456789-2345-2345-2345-234567890123",
      "name": "RAG Retrieval",
      "type": "n8n-nodes-rag.ragRetrieval",
      "typeVersion": 1,
      "position": [
        460,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ JSON.stringify($json) }}"
      },
      "id": "34567890-3456-3456-3456-345678901234",
      "name": "Respond with Results",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        680,
        300
      ]
    }
  ],
  "connections": {
    "Search Webhook": {
      "main": [
        [
          {
            "node": "RAG Retrieval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RAG Retrieval": {
      "main": [
        [
          {
            "node": "Respond with Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "versionId": "45678901-4567-4567-4567-456789012345",
  "id": "56789012-5678-5678-5678-567890123456",
  "tags": []
}