n8n+GPT 5.2+Simple Memory + SerpAPI实现向openai提问,机器人可以结合之前提问过的问题回答,支持联网搜索

javascript 复制代码
{
  "name": "gpt5.2+联网搜索",
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "id": "0277fc46-3d97-4df2-824b-825b3a81e5c5",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "53c136fe-3e77-4709-a143-fe82746dd8b6",
      "typeVersion": 1.1
    },
    {
      "parameters": {},
      "id": "99580d27-f048-4520-bbcf-6f94a906698f",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        400,
        240
      ],
      "typeVersion": 1.3
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "gpt-5.2",
          "mode": "list",
          "cachedResultName": "gpt-5.2"
        },
        "options": {}
      },
      "id": "08733dc6-5b70-4642-a96f-565cf867ae37",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        128,
        208
      ],
      "typeVersion": 1.2,
      "credentials": {
        "openAiApi": {
          "id": "2NGP0rW0STRYkHov",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "4d37c627-9573-4e1f-85bc-35cf9a26e786",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        608,
        176
      ],
      "typeVersion": 1,
      "credentials": {
        "serpApi": {
          "id": "RpvLg5ijn2GlixsY",
          "name": "SerpAPI account"
        }
      }
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "b1c5d6fb-21cb-4f3b-80f8-ea4c758a50f2",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        0
      ],
      "typeVersion": 1.8
    }
  ],
  "pinData": {},
  "connections": {
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "0e1930d9-9025-4691-bef1-57b1d13852a5",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "e6d562a11669b4d2f353eafef58b0a2d41d2839326a8b4201a24f4610bf43de1"
  },
  "id": "Jv3HGjgWKG2MnBF7",
  "tags": []
}
相关推荐
Ztopcloud极拓云视角5 小时前
GPT-6 & DeepSeek V4 双雄临近:企业多模型路由网关实战指南
人工智能·gpt·deepseek·gpt-6
汤姆yu5 小时前
GPT-6核心能力解析及与现有主流大模型对比
gpt·大模型·gpt6
m晴朗1 天前
测试覆盖率从35%到80%:我用AI批量生成C++单元测试的完整方案
c++·gpt·ai
咕噜企业分发小米1 天前
GPUStack私有模型仓库配置教程
gpt
PD我是你的真爱粉1 天前
大模型可控性实践:护栏技术、结构化输出、GPT Structured Outputs 与 GPTCache
人工智能·gpt
东北洗浴王子讲AI1 天前
GPT-5.4英语口语学习全攻略:从开口困难到流利表达的进阶之路
gpt·学习
Sim14801 天前
GPT-5倒计时:多模态AI助手大战一触即发,谁将主导下一代操作系统?
人工智能·gpt·microsoft
东北洗浴王子讲AI1 天前
GPT-5.4英语写作能力提升:从基础表达到专业写作的系统训练方法
gpt
东北洗浴王子讲AI1 天前
GPT-5.4在自动化测试与质量保障中的创新应用实践
人工智能·gpt·自然语言处理·chatgpt