8
n8n 한국어amn8n.com

다람쥐

중급

이것은Engineering, AI Chatbot분야의자동화 워크플로우로, 6개의 노드를 포함합니다.주로 Set, HttpRequest, ChatTrigger 등의 노드를 사용하며. Novita AI를 사용하여 검토되지 않은 Dolphin Mixtral 8x22B와 대화합니다.

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "k4dOhz5YNYLVPUs1",
  "meta": {
    "instanceId": "9219ebc7795bea866f70aa3d977d54417fdf06c41944be95e20cfb60f992db19",
    "templateCredsSetupCompleted": true
  },
  "name": "dolphin",
  "tags": [],
  "nodes": [
    {
      "id": "15298662-69ee-4458-a792-9f4878b5fcbd",
      "name": "채팅 메시지 수신 시",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -272,
        0
      ],
      "webhookId": "147714d9-629d-4a94-9e62-02f45886c7b6",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "db22e3ea-e88c-463f-bfc8-5897765e10c9",
      "name": "채팅 완성 생성",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        176,
        0
      ],
      "parameters": {
        "url": "https://api.novita.ai/v3/openai/chat/completions",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"model\": \"cognitivecomputations/dolphin-mixtral-8x22b\",\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"{{ $json.systemPrompt }}\"\n    },\n    {\n      \"role\": \"user\",\n      \"content\": \"{{ $('When chat message received').item.json.chatInput }}\"\n    }\n  ],\n  \"max_tokens\": {{ $json.MaxTokens }}\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer {{ $json.NovitaKey }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "301be5e4-8b78-44c6-83d2-c5a62f6074ef",
      "name": "출력 반환",
      "type": "n8n-nodes-base.set",
      "position": [
        400,
        0
      ],
      "parameters": {
        "options": {
          "ignoreConversionErrors": false
        },
        "assignments": {
          "assignments": [
            {
              "id": "a497c430-1449-48dd-915b-6c922ec0d56d",
              "name": "output",
              "type": "string",
              "value": "={{ $json.choices[0].message.content.trim() }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "0fead77e-12d8-40d5-a305-0dec2ea6663a",
      "name": "필드 설정",
      "type": "n8n-nodes-base.set",
      "position": [
        -64,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "fef0c4b6-9451-4848-b681-7ed11461637e",
              "name": "NovitaKey",
              "type": "string",
              "value": "yourNovitakey"
            },
            {
              "id": "215393bd-94bf-4de1-8915-89ccb38f531e",
              "name": "MaxTokens",
              "type": "number",
              "value": 500
            },
            {
              "id": "f987e35d-b291-47b6-b9de-1e5a0d16d468",
              "name": "systemPrompt",
              "type": "string",
              "value": "you are a professional AI helper."
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "3fb3452f-0d2a-4da8-9306-f2ca6de2cf0c",
      "name": "스티커 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        208
      ],
      "parameters": {
        "width": 800,
        "height": 240,
        "content": "## Requirements \n- Create a [Novita](https://novita.ai/?ref=mze5m2e&utm_source=affiliate) account\n- Get your Novita api key\n\n## How it works\n- Set your fields and add more parameters as needed into the endpoint\n- Review the [novita docs](https://novita.ai/docs/api-reference/model-apis-llm-create-chat-completion) for chat completions"
      },
      "typeVersion": 1
    },
    {
      "id": "f0781099-1e79-47e0-997e-fa34593406df",
      "name": "스티커 노트1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        -128
      ],
      "parameters": {
        "color": 4,
        "width": 224,
        "height": 320,
        "content": "## Config \nSet fields to pass into the chat completion api"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "9bd09b4b-66e4-472c-b7ff-410e7ff59f2f",
  "connections": {
    "0fead77e-12d8-40d5-a305-0dec2ea6663a": {
      "main": [
        [
          {
            "node": "db22e3ea-e88c-463f-bfc8-5897765e10c9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "db22e3ea-e88c-463f-bfc8-5897765e10c9": {
      "main": [
        [
          {
            "node": "301be5e4-8b78-44c6-83d2-c5a62f6074ef",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "15298662-69ee-4458-a792-9f4878b5fcbd": {
      "main": [
        [
          {
            "node": "0fead77e-12d8-40d5-a305-0dec2ea6663a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 엔지니어링, AI 챗봇

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수6
카테고리2
노드 유형4
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Aitor | 1Node

Aitor | 1Node

@aitoralonso

Hi, I’m Aitor. At 1Node, we help businesses save up to 5 figures annually by deploying private AI infrastructure instead of relying on expensive Cloud Enterprise solutions. As n8n enthusiasts, we love exploring its possibilities and sharing free basic workflows.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34