学習評価ツール。初心者チュートリアル

中級

これはMiscellaneous, AI Summarization, Multimodal AI分野の自動化ワークフローで、15個のノードを含みます。主にSet, Evaluation, ManualTrigger, Agent, EvaluationTriggerなどのノードを使用。 🎓 学習評価ツール。GeminiとGoogle Sheetsを使用した初心者向けチュートリアル

前提条件
  • Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "xmOsgkv5077DUdwA",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Learn Evaluate tool. Tutorial for Beginners",
  "tags": [],
  "nodes": [
    {
      "id": "22780f9e-13f3-456d-9c5e-65cba74c648c",
      "name": "データセット行を取得時",
      "type": "n8n-nodes-base.evaluationTrigger",
      "position": [
        -320,
        -320
      ],
      "parameters": {
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ/edit#gid=0",
          "cachedResultName": "Foglio1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ/edit?usp=drivesdk",
          "cachedResultName": "Simple Evaluation Test"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "JYR6a64Qecd6t8Hb",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "8e5f86a4-75eb-4eaa-a1c5-3d772a068f00",
      "name": "AIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        176,
        -192
      ],
      "parameters": {
        "text": "={{ $json.text }}",
        "options": {
          "systemMessage": "You are a helpful assistant.\n\nUse the calculator for math operations or tasks. \n\nReply only with the result",
          "returnIntermediateSteps": true
        },
        "promptType": "define"
      },
      "typeVersion": 2.2
    },
    {
      "id": "f64d8c51-0bba-4af6-9215-fac691b5b2ae",
      "name": "計算機",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        336,
        16
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "34454af4-4bf8-4f01-a5fc-ead383a33cbc",
      "name": "Google Gemini チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        176,
        16
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "AaNPKXAphyMzRgfA",
          "name": "Google Gemini(PaLM) (Eure)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c909b2c0-a6f3-430c-890b-e5d808384bea",
      "name": "Google Gemini チャットモデル1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1344,
        -144
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "AaNPKXAphyMzRgfA",
          "name": "Google Gemini(PaLM) (Eure)"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "932c05a1-d041-46f6-9908-caa7f751796f",
      "name": "「ワークフロー実行」クリック時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -320,
        -48
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "08627269-df4a-44e9-80a2-566006be0712",
      "name": "評価?",
      "type": "n8n-nodes-base.evaluation",
      "position": [
        480,
        -192
      ],
      "parameters": {
        "operation": "checkIfEvaluating"
      },
      "typeVersion": 4.7
    },
    {
      "id": "07c2955e-bb88-4e85-85af-930f03981216",
      "name": "チャット応答を返す",
      "type": "n8n-nodes-base.noOp",
      "position": [
        736,
        -96
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4f910377-a0ea-4f9e-a1ce-31b4c1cef790",
      "name": "出力評価を設定",
      "type": "n8n-nodes-base.evaluation",
      "position": [
        960,
        -304
      ],
      "parameters": {
        "outputs": {
          "values": [
            {
              "outputName": "actual_output",
              "outputValue": "={{ $json.output }}"
            }
          ]
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ/edit#gid=0",
          "cachedResultName": "Foglio1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ/edit?usp=drivesdk",
          "cachedResultName": "Simple Evaluation Test"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "JYR6a64Qecd6t8Hb",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "bc2b70a6-8761-4ded-8453-36d0f3661885",
      "name": "出力を取得",
      "type": "n8n-nodes-base.set",
      "position": [
        736,
        -304
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "f9cbadca-1b23-48f3-9362-8c83f6580912",
              "name": "output",
              "type": "string",
              "value": "={{ $json.output }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "88732929-f06b-42ec-8e87-166f8074a802",
      "name": "入力を取得",
      "type": "n8n-nodes-base.set",
      "position": [
        -48,
        -320
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "9bba92a2-259f-4b52-8d8c-33e0c8aadeae",
              "name": "text",
              "type": "string",
              "value": "={{ $json.input }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "171ac411-e369-4e43-a8b5-f655fcd8bace",
      "name": "手動入力を取得",
      "type": "n8n-nodes-base.set",
      "position": [
        -48,
        -48
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "cac1815d-78eb-4df9-9ad0-e1926a3bafab",
              "name": "text",
              "type": "string",
              "value": "=How much is 8 * 3?"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "53e78ed8-5af7-4d88-9446-08ae12a8bfd7",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        -656
      ],
      "parameters": {
        "width": 576,
        "height": 240,
        "content": "## Learn Evaluate tool. Tutorial for Beginners\n\nThis workflow is a beginner-friendly tutorial demonstrating how to use the **Evaluation tool** to automatically score the AI’s output against a known correct answer (“ground truth”) stored in a Google Sheet.\n\nEvaluate the factual correctness of a given output compared to the provided ground truth on a scale from 1 to 5.\n\n\n- Clone this [sheet](https://docs.google.com/spreadsheets/d/1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ/edit?usp=sharing)\n"
      },
      "typeVersion": 1
    },
    {
      "id": "7d232a78-21cd-473a-82b5-8dcc883c7b3d",
      "name": "正確性",
      "type": "n8n-nodes-base.evaluation",
      "position": [
        1152,
        -304
      ],
      "parameters": {
        "options": {
          "metricName": "Correctness"
        },
        "operation": "setMetrics",
        "actualAnswer": "={{ $('Get output').item.json.output }}",
        "expectedAnswer": "={{ $('When fetching a dataset row').item.json.expected_output }}"
      },
      "typeVersion": 4.7
    },
    {
      "id": "a1f6b120-ad00-48a8-938c-c137911c416b",
      "name": "正確性を設定",
      "type": "n8n-nodes-base.evaluation",
      "position": [
        1472,
        -304
      ],
      "parameters": {
        "outputs": {
          "values": [
            {
              "outputName": "correctness",
              "outputValue": "={{ $json.Correctness }}"
            }
          ]
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ/edit#gid=0",
          "cachedResultName": "Foglio1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y6Gyjws8se12QX0uG4eS9il5-v29IpsgdFx3VqIYzWQ/edit?usp=drivesdk",
          "cachedResultName": "Simple Evaluation Test"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "JYR6a64Qecd6t8Hb",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.7
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "bc99c4ad-2614-4cc7-b823-b0fabf05e7d9",
  "connections": {
    "8e5f86a4-75eb-4eaa-a1c5-3d772a068f00": {
      "main": [
        [
          {
            "node": "08627269-df4a-44e9-80a2-566006be0712",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "88732929-f06b-42ec-8e87-166f8074a802": {
      "main": [
        [
          {
            "node": "8e5f86a4-75eb-4eaa-a1c5-3d772a068f00",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f64d8c51-0bba-4af6-9215-fac691b5b2ae": {
      "ai_tool": [
        [
          {
            "node": "8e5f86a4-75eb-4eaa-a1c5-3d772a068f00",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "7d232a78-21cd-473a-82b5-8dcc883c7b3d": {
      "main": [
        [
          {
            "node": "a1f6b120-ad00-48a8-938c-c137911c416b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bc2b70a6-8761-4ded-8453-36d0f3661885": {
      "main": [
        [
          {
            "node": "4f910377-a0ea-4f9e-a1ce-31b4c1cef790",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "08627269-df4a-44e9-80a2-566006be0712": {
      "main": [
        [
          {
            "node": "bc2b70a6-8761-4ded-8453-36d0f3661885",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "07c2955e-bb88-4e85-85af-930f03981216",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a1f6b120-ad00-48a8-938c-c137911c416b": {
      "main": [
        []
      ]
    },
    "171ac411-e369-4e43-a8b5-f655fcd8bace": {
      "main": [
        [
          {
            "node": "8e5f86a4-75eb-4eaa-a1c5-3d772a068f00",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4f910377-a0ea-4f9e-a1ce-31b4c1cef790": {
      "main": [
        [
          {
            "node": "7d232a78-21cd-473a-82b5-8dcc883c7b3d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "34454af4-4bf8-4f01-a5fc-ead383a33cbc": {
      "ai_languageModel": [
        [
          {
            "node": "8e5f86a4-75eb-4eaa-a1c5-3d772a068f00",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "c909b2c0-a6f3-430c-890b-e5d808384bea": {
      "ai_languageModel": [
        [
          {
            "node": "7d232a78-21cd-473a-82b5-8dcc883c7b3d",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "22780f9e-13f3-456d-9c5e-65cba74c648c": {
      "main": [
        [
          {
            "node": "88732929-f06b-42ec-8e87-166f8074a802",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "932c05a1-d041-46f6-9908-caa7f751796f": {
      "main": [
        [
          {
            "node": "171ac411-e369-4e43-a8b5-f655fcd8bace",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - その他, AI要約, マルチモーダルAI

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数15
カテゴリー3
ノードタイプ9
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34