Leichtester KI-Chatbot (mit Wissensdatenbank)

Anfänger

Dies ist ein Support Chatbot, AI RAG-Bereich Automatisierungsworkflow mit 5 Nodes. Hauptsächlich werden Form, FormTrigger, HttpRequest und andere Nodes verwendet. Erstelle einen AI-Chatbot mit InfraNodus-Wissensgraph integriert für verbesserte Antworten

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "rd0xUJjrbul18Wka",
  "meta": {
    "instanceId": "334f4f928505fa56392672dcbddf0c1a39709717127e8d60d133a12f8f82b3b4"
  },
  "name": "Lightest AI Chatbot with a Knowledge Base",
  "tags": [],
  "nodes": [
    {
      "id": "31d979f0-23e6-44cc-adb3-2eeec331c661",
      "name": "KI-Antwort",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        496,
        32
      ],
      "parameters": {
        "url": "https://infranodus.com/api/v1/graphAndAdvice?doNotSave=true&addStats=true&optimize=develop&includeStatements=true&includeGraphSummary=true&includeGraph=false",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "eightos_system"
            },
            {
              "name": "requestMode",
              "value": "response"
            },
            {
              "name": "aiTopics",
              "value": "true"
            },
            {
              "name": "prompt",
              "value": "={{ $json['Your message'] }}"
            }
          ]
        },
        "genericAuthType": "httpBearerAuth"
      },
      "credentials": {
        "httpBearerAuth": {
          "id": "C3Li2OwYebUs6Dmg",
          "name": "InfraNodus Expert"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "75c16fd0-b166-4ce8-a72a-fd588541e619",
      "name": "Bei Formularabgabe",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        176,
        32
      ],
      "webhookId": "7045f129-7e80-42d3-82bb-ee37819d4d9e",
      "parameters": {
        "options": {},
        "formTitle": "What would you like to know?",
        "formFields": {
          "values": [
            {
              "fieldType": "textarea",
              "fieldLabel": "Your message"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "cb7aa17c-4c86-4307-8638-dfd69a62c1d2",
      "name": "Formular",
      "type": "n8n-nodes-base.form",
      "position": [
        768,
        32
      ],
      "webhookId": "abd82196-4e25-4d04-b200-e9317202987e",
      "parameters": {
        "options": {
          "customCss": ":root {\n\t--font-family: 'Open Sans', sans-serif;\n\t--font-weight-normal: 400;\n\t--font-weight-bold: 600;\n\t--font-size-body: 12px;\n\t--font-size-label: 14px;\n\t--font-size-test-notice: 12px;\n\t--font-size-input: 14px;\n\t--font-size-header: 20px;\n\t--font-size-paragraph: 14px;\n\t--font-size-link: 12px;\n\t--font-size-error: 12px;\n\t--font-size-html-h1: 28px;\n\t--font-size-html-h2: 20px;\n\t--font-size-html-h3: 16px;\n\t--font-size-html-h4: 14px;\n\t--font-size-html-h5: 12px;\n\t--font-size-html-h6: 10px;\n\t--font-size-subheader: 14px;\n\n\t/* Colors */\n\t--color-background: #fbfcfe;\n\t--color-test-notice-text: #e6a23d;\n\t--color-test-notice-bg: #fefaf6;\n\t--color-test-notice-border: #f6dcb7;\n\t--color-card-bg: #ffffff;\n\t--color-card-border: #dbdfe7;\n\t--color-card-shadow: rgba(99, 77, 255, 0.06);\n\t--color-link: #7e8186;\n\t--color-header: #525356;\n\t--color-label: #555555;\n\t--color-input-border: #dbdfe7;\n\t--color-input-text: #71747A;\n\t--color-focus-border: rgb(90, 76, 194);\n\t--color-submit-btn-bg: #ff6d5a;\n\t--color-submit-btn-text: #ffffff;\n\t--color-error: #ea1f30;\n\t--color-required: #ff6d5a;\n\t--color-clear-button-bg: #7e8186;\n\t--color-html-text: #555;\n\t--color-html-link: #ff6d5a;\n\t--color-header-subtext: #7e8186;\n\n\t/* Border Radii */\n\t--border-radius-card: 8px;\n\t--border-radius-input: 6px;\n\t--border-radius-clear-btn: 50%;\n\t--card-border-radius: 8px;\n\n\t/* Spacing */\n\t--padding-container-top: 24px;\n\t--padding-card: 24px;\n\t--padding-test-notice-vertical: 12px;\n\t--padding-test-notice-horizontal: 24px;\n\t--margin-bottom-card: 16px;\n\t--padding-form-input: 12px;\n\t--card-padding: 24px;\n\t--card-margin-bottom: 16px;\n\n\t/* Dimensions */\n\t--container-width: 448px;\n\t--submit-btn-height: 48px;\n\t--checkbox-size: 18px;\n\n\t/* Others */\n\t--box-shadow-card: 0px 4px 16px 0px var(--color-card-shadow);\n\t--opacity-placeholder: 0.5;\n}"
        },
        "operation": "completion",
        "completionTitle": "Your response",
        "completionMessage": "={{ $json.aiAdvice[0].text }}"
      },
      "typeVersion": 1
    },
    {
      "id": "be2ab913-3e83-4c9a-8c9a-10a56b06bd64",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        -256
      ],
      "parameters": {
        "width": 272,
        "height": 448,
        "content": "## Add your knowledge base\n\n### 1. Create a graph in [InfraNodus](https://infranodus.com) with the data you want to use as a knowledge base\n\n### 2. Add its name into the `name` field here"
      },
      "typeVersion": 1
    },
    {
      "id": "0957b83e-ce99-4746-8c70-8c3877a325e3",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        -256
      ],
      "parameters": {
        "width": 256,
        "height": 448,
        "content": "## Publicly available chat\n\n### Copy the `production` URL from here and share it the public"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "4b55069b-2153-4557-8e96-010b9e2ec78a",
  "connections": {
    "31d979f0-23e6-44cc-adb3-2eeec331c661": {
      "main": [
        [
          {
            "node": "cb7aa17c-4c86-4307-8638-dfd69a62c1d2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "75c16fd0-b166-4ce8-a72a-fd588541e619": {
      "main": [
        [
          {
            "node": "31d979f0-23e6-44cc-adb3-2eeec331c661",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Anfänger - Support-Chatbot, KI RAG

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Verwandte Workflows

Workflow-Informationen
Schwierigkeitsgrad
Anfänger
Anzahl der Nodes5
Kategorie2
Node-Typen4
Schwierigkeitsbeschreibung

Für n8n-Anfänger, einfache Workflows mit 1-5 Nodes

Autor
InfraNodus

InfraNodus

@infranodus

I'm Dmitry, the founder of InfraNodus — an AI text network analysis tool. I'm passionate about networks and data visualization and its ability to reveal what everyone else is missing and to highlight different perspectives. I'm sharing the n8n templates that make use of this unique capability of InfraNodus for multiple scenarios.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34