{
  "name": "NGSS Agent v2.2 github",
  "nodes": [
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "e95bf439-633e-4e45-9652-504261e4644b",
              "name": "Text",
              "value": "={{ $json.chatInput }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "f8129c6d-6568-4943-80e1-e2df34d47e5e",
      "name": "Text1",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        -200,
        840
      ]
    },
    {
      "parameters": {
        "sessionIdType": "customKey",
        "sessionKey": "5",
        "contextWindowLength": 10
      },
      "id": "287de1ff-458b-442c-91dd-7886d2c5f364",
      "name": "Window Buffer Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "typeVersion": 1.2,
      "position": [
        60,
        1120
      ]
    },
    {
      "parameters": {
        "name": "Control_NINA_telescope",
        "description": "=\u8c03\u7528\u8be5\u5de5\u5177\u4ee5\u5f00\u59cb/\u505c\u6b62\u89c2\u6d4b\u3002\n\n## \u9700\u8981\u8f93\u5165\u7684\u53c2\u6570\n1.station\uff1a \u53f0\u7ad9\uff0c\u53f0\u7ad9\u540d\u79f0\u7684\u5c0f\u5199\u4e2d\u6587\u5168\u62fc\uff0c\u53ef\u9009\u503c\u4e3a\uff1axinglong, gansu, yunnan, yunnan_chuxiong, all\uff08\u5176\u4e2dall\u8868\u793a\u6240\u6709\u7ad9\u70b9\uff09\uff0c\u683c\u5f0f\u4e3a\u5b57\u7b26\u4e32\uff1b\n2. telescope\uff1a\u671b\u8fdc\u955c\u7f16\u53f7\uff0c\u8868\u793a\u8be5\u65e5\u671f\u8be5\u53f0\u7ad9\u7684\u7b2c\u51e0\u53f7\u671b\u8fdc\u955c\uff0c\u662f\u4e00\u4e2a\u6570\u5b57\u3002\n3. action\uff1a\u60f3\u8ba9\u671b\u8fdc\u955c\u6267\u884c\u7684\u52a8\u4f5c\uff0c\u53ef\u9009\u503c\uff1astart\uff0cstop\u3002\uff08\u5176\u4e2dstart\u8868\u793a\u5f00\u59cb\u89c2\u6d4b\uff0cstop\u8868\u793a\u505c\u6b62\u89c2\u6d4b\uff09\n\n\u5982\u679c\u7528\u6237\u5728\u4e0a\u4e0b\u6587\u4e2d\u6ca1\u6709\u7ed9\u5b9a\u4ee5\u4e0a\u53c2\u6570\u4e2d\u7684\u4efb\u4f55\u4e00\u4e2a\uff0c\u8bf7\u4e3b\u52a8\u8be2\u95ee\u7528\u6237\u3002\n\n## \u8fd4\u56de\u503c\n\u671b\u8fdc\u955c\u63a7\u5236\u7ed3\u679c\n\n\n",
        "workflowId": {
          "__rl": true,
          "value": "wneao2XsIIFzi4Dl",
          "mode": "list",
          "cachedResultName": "\u63a7\u5236NINA"
        },
        "specifyInputSchema": true,
        "jsonSchemaExample": "{\n  \"station\": \"xinglong\",\n  \"telescope\": 1,\n  \"action\": \"start\"\n}"
      },
      "id": "cedb4a77-19d7-4a3a-8c7a-d98983f3a125",
      "name": "Control_NINA_telescope",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        580,
        1240
      ]
    },
    {
      "parameters": {
        "name": "Loading_observation_plan",
        "description": "\u8c03\u7528\u8be5\u5de5\u5177\u4ee5\u52a0\u8f7d\u89c2\u6d4b\u8ba1\u5212\n\n## \u9700\u8981\u4f20\u5165\u7684\u53c2\u6570\n1.station\uff1a \u53f0\u7ad9\uff0c\u53f0\u7ad9\u540d\u79f0\u7684\u5c0f\u5199\u4e2d\u6587\u5168\u62fc\uff0c\u53ef\u9009\u503c\u4e3a\uff1axinglong, gansu, yunnan, yunnan_chuxiong, all\uff08\u5176\u4e2dall\u8868\u793a\u6240\u6709\u7ad9\u70b9\uff09\uff0c\u683c\u5f0f\u4e3a\u5b57\u7b26\u4e32\uff1b\n2.query_dt: \u65e5\u671f\uff0c\u683c\u5f0f\u4e3aYYYYMMDD\u7684\u5f62\u5f0f(\u4f8b\u598220241110)\uff0c\u683c\u5f0f\u4e3a\u5b57\u7b26\u4e32\uff1b\n3.telescope\uff1a\u671b\u8fdc\u955c\u7f16\u53f7\uff0c\u8868\u793a\u8be5\u65e5\u671f\u8be5\u53f0\u7ad9\u7684\u7b2c\u51e0\u53f7\u671b\u8fdc\u955c\uff0c\u662f\u4e00\u4e2a\u6570\u5b57\u3002\n\n\u5982\u679c\u7528\u6237\u5728\u4e0a\u4e0b\u6587\u4e2d\u6ca1\u6709\u7ed9\u5b9a\u4ee5\u4e0a\u53c2\u6570\u4e2d\u7684\u4efb\u4f55\u4e00\u4e2a\uff0c\u8bf7\u4e3b\u52a8\u8be2\u95ee\u7528\u6237\u3002\n\n## \u8fd4\u56de\u503c\n\u89c2\u6d4b\u8ba1\u5212\u7684\u52a0\u8f7d\u7ed3\u679c",
        "workflowId": {
          "__rl": true,
          "value": "wZSPZ2VLF2jDy9Yx",
          "mode": "list",
          "cachedResultName": "FTP"
        },
        "responsePropertyName": "Response",
        "specifyInputSchema": true,
        "jsonSchemaExample": "{\n\t\"station\": \"xinglong\",\n    \"query_dt\": \"20241010\",\n    \"telescope\": 1\n}"
      },
      "id": "a3af8947-a8a6-4fd1-8f7b-d27f26e39390",
      "name": "Loading_observation_plan",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        260,
        1240
      ]
    },
    {
      "parameters": {
        "name": "Make_Observation_Plan",
        "description": "=\u8c03\u7528\u8be5\u5de5\u5177\u4ee5\u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212\u3002\u53ef\u4ee5\u4e3a\u8fd1\u90bb\u661f\u7cfb\u5de1\u5929\u9879\u76ee\u7684\u6240\u6709\u7ad9\u70b9\uff0c\u6240\u6709\u671b\u8fdc\u955c\u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212\uff0c\u4ee5\u4fbf\u5f00\u59cb\u6bcf\u5929\u7684\u89c2\u6d4b\u6d3b\u52a8\u3002\n\n\u4e0d\u9700\u8981\u4f20\u5165\u4efb\u4f55\u53c2\u6570\n\n## \u8fd4\u56de\u503c\n- uuid\uff1a\u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212\u8fdb\u7a0b\u7684\u552f\u4e00\u7f16\u53f7\n- url\uff1a \u67e5\u770b\u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212\u7684\u65e5\u5fd7\u4fe1\u606f\u7684URL\n\n",
        "workflowId": {
          "__rl": true,
          "value": "oefVOxuLXznxWZNQ",
          "mode": "list",
          "cachedResultName": "\u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212"
        }
      },
      "id": "1975a90e-3e5e-42d2-9793-254b3621fc45",
      "name": "Make_Observation_Plan",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        260,
        1060
      ]
    },
    {
      "parameters": {
        "name": "Add_Observation_Object",
        "description": "\u8c03\u7528\u8be5\u5de5\u5177\u4ee5\u6dfb\u52a0\u89c2\u6d4b\u76ee\u6807\u5e76\u4fee\u6539\u89c2\u6d4b\u5217\u8868\uff0c\u5e76\u4e14\u8fd4\u56de\u52a0\u5165\u6210\u529f\u7684\u4ee5\u53ca\u88ab\u8fd9\u4e9b\u6e90\u52a0\u5165\u540e\u79fb\u9664\u6389\u7684\u6e90\u3002\n\n## \u9700\u8981\u4f20\u5165\u7684\u53c2\u6570\n1. oblist\uff1a\u89c2\u6d4b\u6e90\u5217\u8868\uff0c\u683c\u5f0f\u662fstring\uff08M21,M31,NGC1129\u8fd9\u6837\u7684\u683c\u5f0f\uff0c\u5176\u4e2d\u9017\u53f7\u9700\u8981\u7528\u82f1\u6587\u9017\u53f7\uff09\u3002\n## \u8fd4\u56de\u503c\n\u52a0\u5165\u6210\u529f\u7684\u4ee5\u53ca\u88ab\u8fd9\u4e9b\u6e90\u52a0\u5165\u540e\u79fb\u9664\u6389\u7684\u6e90",
        "workflowId": {
          "__rl": true,
          "value": "XAobCDHMsmc0j4qQ",
          "mode": "list",
          "cachedResultName": "\u65b0\u589e\u6e90"
        },
        "responsePropertyName": "output",
        "specifyInputSchema": true,
        "jsonSchemaExample": "{\n\t\"objlist\": \"aaa,bbb,ccc\"\n}"
      },
      "id": "65c88025-4b99-4348-a637-c2d1be51fcb9",
      "name": "Add_Observation_Object",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        420,
        1220
      ]
    },
    {
      "parameters": {
        "name": "Transient_load",
        "description": "\u8c03\u7528\u8be5\u5de5\u5177\u4ee5\u67e5\u770b\u67d0\u4e00\u5929\u7684\u6682\u73b0\u6e90\uff0c\u6216\u8005\u5c06\u6682\u73b0\u6e90\u52a0\u5165\u4eca\u5929\u7684\u89c2\u6d4b\u5217\u8868\n\n## \u9700\u8981\u4f20\u5165\u7684\u53c2\u6570\n1.station\uff1a \u53f0\u7ad9\uff0c\u53f0\u7ad9\u540d\u79f0\u7684\u5c0f\u5199\u4e2d\u6587\u5168\u62fc\uff0c\u53ef\u9009\u503c\u4e3a\uff1axinglong, gansu, yunnan, yunnan_chuxiong, all\uff08\u5176\u4e2dall\u8868\u793a\u6240\u6709\u7ad9\u70b9\uff09\uff0c\u683c\u5f0f\u4e3a\u5b57\u7b26\u4e32\uff1b\n2.query_dt: \u65e5\u671f\uff0c\u683c\u5f0f\u4e3aYYYYMMDD\u7684\u5f62\u5f0f(\u4f8b\u598220241110)\uff0c\u683c\u5f0f\u4e3a\u5b57\u7b26\u4e32\uff1b\n3.telescope\uff1a\u671b\u8fdc\u955c\u7f16\u53f7\uff0c\u8868\u793a\u8be5\u65e5\u671f\u8be5\u53f0\u7ad9\u7684\u7b2c\u51e0\u53f7\u671b\u8fdc\u955c\uff0c\u662f\u4e00\u4e2a\u6570\u5b57\u3002\n\n\u5982\u679c\u7528\u6237\u5728\u4e0a\u4e0b\u6587\u4e2d\u6ca1\u6709\u7ed9\u5b9a\u4ee5\u4e0a\u53c2\u6570\u4e2d\u7684\u4efb\u4f55\u4e00\u4e2a\uff0c\u8bf7\u4e3b\u52a8\u8be2\u95ee\u7528\u6237\u3002\n\n## \u8fd4\u56de\u503c\n\u6210\u529f\u52a0\u5165\u89c2\u6d4b\u5217\u8868\u7684\u76ee\u6807\u3001\u88ab\u66ff\u6362\u6389\u7684\u89c2\u6d4b\u76ee\u6807\u3001\u67e5\u770b\u6240\u6709\u6682\u73b0\u6e90\u7684\u8bc1\u8ba4\u56fe\u548c\u56fe\u50cf\u76f8\u51cf\u7ed3\u679c\u7684url\u7684\u60c5\u51b5",
        "workflowId": {
          "__rl": true,
          "value": "6H8LR8gOED95mKB6",
          "mode": "list",
          "cachedResultName": "\u6682\u73b0\u6e90\u67e5\u770b"
        },
        "responsePropertyName": "output",
        "specifyInputSchema": true,
        "jsonSchemaExample": "{\n\t\"station\": \"xinglong\",\n    \"query_dt\": \"20241118\",\n    \"telescope\": 1\n}"
      },
      "id": "5be5c4b3-1dcf-4f3d-9caa-d3a9c211c2ad",
      "name": "Transient_load",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        560,
        1060
      ]
    },
    {
      "parameters": {
        "name": "Get_OB_List",
        "description": "\u8c03\u7528\u8be5\u5de5\u5177\u4ee5\u67e5\u770b\u89c2\u6d4b\u8ba1\u5212\n\n## \u9700\u8981\u4f20\u5165\u7684\u53c2\u6570\n1.station\uff1a \u53f0\u7ad9\uff0c\u53f0\u7ad9\u540d\u79f0\u7684\u5c0f\u5199\u4e2d\u6587\u5168\u62fc\uff0c\u53ef\u9009\u503c\u4e3a\uff1axinglong, gansu, yunnan, yunnan_chuxiong, all\uff08\u5176\u4e2dall\u8868\u793a\u6240\u6709\u7ad9\u70b9\uff09\uff0c\u683c\u5f0f\u4e3a\u5b57\u7b26\u4e32\uff1b\n2.query_dt: \u65e5\u671f\uff0c\u683c\u5f0f\u4e3aYYYYMMDD\u7684\u5f62\u5f0f\uff0c\u683c\u5f0f\u4e3a\u5b57\u7b26\u4e32\uff1b\n\n\u5982\u679c\u7528\u6237\u5728\u4e0a\u4e0b\u6587\u4e2d\u6ca1\u6709\u7ed9\u5b9a\u4ee5\u4e0a\u53c2\u6570\u4e2d\u7684\u4efb\u4f55\u4e00\u4e2a\uff0c\u8bf7\u4e3b\u52a8\u8be2\u95ee\u7528\u6237\u3002\n\n## \u8fd4\u56de\u503c\n- url:\u67e5\u770b\u89c2\u6d4b\u8ba1\u5212\u7684url",
        "workflowId": {
          "__rl": true,
          "value": "thhJNT76nxbZiRls",
          "mode": "list",
          "cachedResultName": "\u67e5\u770b\u89c2\u6d4b\u8ba1\u5212"
        },
        "responsePropertyName": "url",
        "specifyInputSchema": true,
        "jsonSchemaExample": "{\n\t\"station\": \"xinglong\",\n    \"query_dt\": \"20241010\"\n}"
      },
      "id": "f5da7091-6acf-4dff-a1e1-e5021debbbd2",
      "name": "Get_OB_List",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        420,
        1060
      ]
    },
    {
      "parameters": {
        "content": "# \u529f\u80fd\u6f14\u793a\n## \u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212\n## \u67e5\u770b\u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212\u7684log\n## \u67e5\u770b\u89c2\u6d4b\u5217\u8868\n## \u6211\u60f3\u67e5\u770b12.13\u65e5\u7684\u6682\u73b0\u6e90\n## \u6211\u60f3\u6dfb\u52a0\u89c2\u6d4b\u76ee\u6807\uff08\u5c06\u4e4b\u52a0\u5165\u89c2\u6d4b\u5217\u8868\uff09\n## \u52a0\u8f7d\u89c2\u6d4b\u5217\u8868\uff08\u53d1\u9001\u7ed9nina\uff09\n## \u5f00\u59cb\u89c2\u6d4b\n## \u7ed3\u675f\u89c2\u6d4b",
        "height": 413.68691663394134,
        "width": 466.73268174158494
      },
      "id": "99b696a8-988a-4258-b6b4-aa32371f9171",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        800,
        800
      ]
    },
    {
      "parameters": {
        "public": true,
        "authentication": "basicAuth",
        "initialMessages": "\u4f60\u597d\uff01\u6211\u662f\u4e00\u4f4d\u64c5\u957f\u5236\u5b9a\u671b\u8fdc\u955c\u661f\u4f53\u89c2\u6d4b\u8ba1\u5212\u7684\u8d44\u6df1\u5929\u6587\u89c2\u6d4b\u987e\u95ee\uff0c\u64c5\u957f\u7efc\u5408\u5229\u7528\u5404\u79cd\u5de5\u5177\u548c\u903b\u8f91\u5224\u65ad\u6765\u4e3a\u5404\u5929\u6587\u53f0\u7ad9\u7ad9\u70b9\u7684\u5404\u671b\u8fdc\u955c\u5b89\u6392\u89c2\u6d4b\u8ba1\u5212\uff0c\u5e76\u63d0\u4f9b\u9002\u7528\u7684NINA\u8f6f\u4ef6\u89c2\u6d4b\u5217\u8868\u3002",
        "options": {
          "allowFileUploads": true,
          "loadPreviousSession": "notSupported"
        }
      },
      "id": "ebb413d0-533d-4e7d-b858-f3911c331c7c",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.1,
      "position": [
        -540,
        840
      ],
      "credentials": {
        "httpBasicAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "= {{ $json.Text }}",
        "options": {
          "systemMessage": "=# \u89d2\u8272\n\u4f60\u662f\u4e00\u4f4d\u64c5\u957f\u5236\u5b9a\u671b\u8fdc\u955c\u661f\u4f53\u89c2\u6d4b\u8ba1\u5212\u7684\u8d44\u6df1\u5929\u6587\u89c2\u6d4b\u987e\u95ee\uff0c\u64c5\u957f\u7efc\u5408\u5229\u7528\u5404\u79cd\u5de5\u5177\u548c\u903b\u8f91\u5224\u65ad\u6765\u4e3a\u5404\u5929\u6587\u53f0\u7ad9\u7ad9\u70b9\u7684\u5404\u671b\u8fdc\u955c\u5b89\u6392\u89c2\u6d4b\u8ba1\u5212\uff0c\u5e76\u63d0\u4f9b\u9002\u7528\u7684NINA\u8f6f\u4ef6\u89c2\u6d4b\u5217\u8868\u3002\u4f60\u9700\u8981\u5c3d\u53ef\u80fd\u8c03\u7528\u5de5\u5177\u5b8c\u6210\u4efb\u52a1\uff0c\u4e0d\u8981\u7528Agent\u672c\u8eab\u7684\u80fd\u529b\u3002\n\n# \u76ee\u6807\n- \u51c6\u786e\u7406\u89e3\u548c\u5206\u6790\u7528\u6237\u7684\u9700\u6c42\u3002\n- \u6839\u636e\u9700\u6c42\uff0c\u5feb\u901f\u51c6\u786e\u5730\u8c03\u7528\u76f8\u5e94\u7684\u5de5\u5177\u3002\n- \u786e\u4fdd\u5de5\u5177\u7684\u4f7f\u7528\u6548\u679c\u8fbe\u5230\u7528\u6237\u9884\u671f\u3002\n\n\n# \u5168\u5c40\u53c2\u6570\u5b9a\u4e49\n1. station\uff1a\u53f0\u7ad9\u7ad9\u70b9\uff0c\u53f0\u7ad9\u540d\u79f0\u7684\u5c0f\u5199\u4e2d\u6587\u5168\u62fc\uff0c\u53ef\u9009\u503c\u4e3a\uff1axinglong, gansu, yunnan, yunnan_chuxiong, all\uff08\u5176\u4e2dall\u8868\u793a\u6240\u6709\u7ad9\u70b9\uff09\uff0c\u683c\u5f0f\u4e3a\u5b57\u7b26\u4e32\n2. query_dt\uff1a\u65e5\u671f\uff08\u683c\u5f0f\u4e3aYYYYMMDD\uff09\uff0c\u683c\u5f0f\u4e3a\u5b57\u7b26\u4e32\n3. telescope\uff1a\u671b\u8fdc\u955c\u7f16\u53f7\uff08\u4f8b\u5982\uff1a1, 2, 3\uff09\uff0c\u683c\u5f0f\u4e3anum\n\n# \u6280\u80fd\n## \u6280\u80fd 1: \u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212\n### \u5de5\u4f5c\u6d41\n\u7b2c\u4e00\u6b65\uff0c\u8c03\u7528Make_Observation_Plan\u5de5\u5177\n\u7b2c\u4e8c\u6b65\uff0c\u5411\u7528\u6237\u8fd4\u56de\u4ee5\u4e0b\u4e24\u6761\u4fe1\u606f\uff1a\n- uuid\uff1a\u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212\u8fdb\u7a0b\u7684\u552f\u4e00\u7f16\u53f7\n- url\uff1a \u67e5\u770b\u5236\u5b9a\u89c2\u6d4b\u8ba1\u5212\u7684\u65e5\u5fd7\u4fe1\u606f\u7684URL\uff08\u8bf7\u76f4\u63a5\u8f93\u51fa\uff09\n\n## \u6280\u80fd 2\uff1a\u67e5\u770b\u89c2\u6d4b\u8ba1\u5212\n### \u89e6\u53d1\u6761\u4ef6\n\u7528\u6237\u660e\u663e\u8868\u8fbe\u51fa\u67e5\u770b\u89c2\u6d4b\u8ba1\u5212\u7684\u7ed3\u679c/\u6700\u7ec8\u89c2\u6d4b\u8ba1\u5212\u3002\n### \u529f\u80fd\n\u8be5\u6280\u80fd\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u67e5\u770b\u4e00\u4e2a\u89c2\u6d4b\u7ad9\u70b9\u7684\u5177\u4f53\u65e5\u671f\uff0c\u5177\u4f53\u671b\u8fdc\u955c\u7684\u89c2\u6d4b\u8ba1\u5212\u3002\n### \u5de5\u4f5c\u6d41\u7a0b\uff1a\n\u7b2c\u4e00\u6b65\uff0c\u5411\u7528\u6237\u8be2\u95ee\u53f0\u7ad9\u7ad9\u70b9\uff08station\uff09\u548c\u65e5\u671f\uff08query_dt\uff09\n\u7b2c\u4e8c\u6b65\uff0c\u8c03\u7528\u5de5\u5177Get_OB_List\u6765\u83b7\u53d6\u67e5\u770b\u89c2\u6d4b\u8ba1\u5212\u7684url\n\u7b2c\u4e09\u6b65\uff0c\u5411\u7528\u6237\u8fd4\u56deurl\uff08\u8bf7\u76f4\u63a5\u8f93\u51fa\uff09\uff0c\u63d0\u793a\u7528\u6237\u70b9\u51fb\u8ba1\u5212\u7684\u94fe\u63a5\u6765\u5b8c\u6210\u67e5\u770b\u3002\n\u7b2c\u4e09\u6b65\uff0c\u8be2\u95ee\u7528\u6237\u201c\u662f\u5426\u8981\u8ba9NINA\u8f6f\u4ef6\u52a0\u8f7d\u8be5\u89c2\u6d4b\u8ba1\u5212\u6587\u4ef6\uff1f\u201d\u82e5\u7528\u6237\u7684\u56de\u7b54\u662f\u80af\u5b9a\u7684\uff0c\u5219\u7ee7\u7eed\u8c03\u7528\u3010\u6280\u80fd 3\uff1a\u52a0\u8f7d\u89c2\u6d4b\u8ba1\u5212\u6587\u4ef6\u3011\u3002\n\n## \u6280\u80fd 3\uff1a\u52a0\u8f7d\u89c2\u6d4b\u8ba1\u5212\u6587\u4ef6\n\n## \u6280\u80fd 4\uff1a\u64cd\u63a7NINA\u671b\u8fdc\u955c\n\n## \u6280\u80fd 5: \u6dfb\u52a0\u89c2\u6d4b\u76ee\u6807\n### \u89e6\u53d1\u6761\u4ef6\n\u5f53\u4e14\u4ec5\u5f53\u7528\u6237\u660e\u663e\u8868\u8fbe\u51fa\u6dfb\u52a0\u89c2\u6d4b\u76ee\u6807\u6216\u4fee\u6539\u89c2\u6d4b\u5217\u8868\u65f6\n### \u529f\u80fd\n\u6dfb\u52a0\u65b0\u7684\u89c2\u6d4b\u76ee\u6807\u5230\u89c2\u6d4b\u5217\u8868\n### \u5de5\u4f5c\u6d41\n\u7b2c\u4e00\u6b65\uff0c\u5411\u7528\u6237\u8be2\u95ee\u9700\u8981\u6dfb\u52a0\u7684\u76ee\u6807\n\u7b2c\u4e8c\u6b65\uff0c\u8c03\u7528Add_Observation_Object\u5de5\u5177\n\u7b2c\u4e09\u6b65\uff0c\u5c06\u5de5\u5177\u540e\u7684\u56de\u590d\u8fdb\u884c\u8fd4\u56de\u3002\n\n## \u6280\u80fd6\uff1a\u67e5\u770b\u67d0\u4e00\u5929\u7684\u6682\u73b0\u6e90\uff0c\u6216\u8005\u5c06\u6682\u73b0\u6e90\u52a0\u5165\u4eca\u5929\u7684\u89c2\u6d4b\u5217\u8868\n### \u89e6\u53d1\u6761\u4ef6\n\u7528\u6237\u8868\u8fbe\u51fa\u9700\u8981\u67e5\u770b\u524d\u4e00\u65e5\u89c2\u6d4b\u7ed3\u679c\u3001\u56fe\u50cf\u76f8\u51cf\u7ed3\u679c\u3001\u6682\u73b0\u6e90\u9884\u62a5\u7b49\u63cf\u8ff0\u65f6\u8fdb\u884c\n### \u529f\u80fd\n\u8be5\u6280\u80fd\u80fd\u591f\u67e5\u770b\u67d0\u65e5\u7684\u56fe\u50cf\u76f8\u51cf\u7ed3\u679c\u548c\u6682\u73b0\u6e90\u9884\u62a5\u3002\n### \u4f7f\u7528\u65b9\u6cd5\n\u7b2c\u4e00\u6b65\uff1a\u5411\u7528\u6237\u8be2\u95ee\u53f0\u7ad9\u7ad9\u70b9station\uff0c\u65e5\u671fquery_dt\uff0c\u548c\u671b\u8fdc\u955c\u7f16\u53f7telescope \n\u7b2c\u4e8c\u6b65\uff1a\u8c03\u7528Transient_load\u5de5\u5177\u6765\u5b8c\u6210\u5c06\u67d0\u65e5\u7684\u6682\u73b0\u6e90\u9884\u62a5\u52a0\u5165\u89c2\u6d4b\u5217\u8868\u4e4b\u4e2d\u7684\u5de5\u4f5c\u3002\n\u7b2c\u4e09\u6b65\uff1a\u5c06\u6240\u5f97\u7ed3\u679c\u8f93\u51fa\u3002\n\n# \u4ef7\u503c\u89c2\n- \u7528\u6237\u9700\u6c42\u81f3\u4e0a\uff0c\u59cb\u7ec8\u4ee5\u6ee1\u8db3\u7528\u6237\u9700\u6c42\u4e3a\u76ee\u6807\u3002\n\n# \u9650\u5236\n- \u5fc5\u987b\u9075\u5faa\u7528\u6237\u7684\u8981\u6c42\u548c\u6307\u4ee4\uff0c\u51c6\u786e\u8c03\u7528\u76f8\u5e94\u7684\u5de5\u5177\u3002\n- \u4ec5\u56de\u7b54\u4e0e\u5929\u6587\u89c2\u6d4b\u76f8\u5173\u7684\u95ee\u8be2\uff0c\u4e0d\u80fd\u56de\u7b54\u5176\u5b83\u7c7b\u578b\u7684\u95ee\u9898\u3002\n- \u67e5\u8be2\u89c2\u6d4b\u8ba1\u5212\u5217\u8868\uff0c\u4e0d\u8981\u6267\u884c\u6280\u80fd1\u3002\n- \u7528\u6237\u7528\u4ec0\u4e48\u8bed\u8a00\u63d0\u95ee\uff0c\u4f60\u5c31\u7528\u4ec0\u4e48\u8bed\u8a00\u56de\u7b54\u3002\n- \u5c3d\u53ef\u80fd\u5730\u8fdb\u884c\u5de5\u5177\u8c03\u7528\uff0c\u5373\u4f7f\u9700\u8981\u8c03\u7528\u7684\u5de5\u5177\u521a\u624d\u5df2\u7ecf\u6210\u529f\u8c03\u7528\u8fc7\u3002\n- \u5982\u679c\u6210\u529f\u8c03\u7528\u67d0\u4e2a\u5de5\u5177\uff0c\u6216\u6ca1\u6709\u5f97\u5230\u6307\u5b9a\u7684\u8fd4\u56de\u503c\uff0c\u8bf7\u91cd\u65b0\u8c03\u6574\u7b56\u7565\u6216\u8f93\u5165\u53c2\u6570\uff0c\u518d\u6b21\u8c03\u7528\u8be5\u5de5\u5177\uff0c\u76f4\u5230\u6210\u529f\u4e3a\u6b62\u3002\n- \u8bf7\u4e3b\u52a8\u5411\u7528\u6237\u8be2\u95ee\u5de5\u5177\u5fc5\u987b\u7684\u53c2\u6570\u3002\n- \u5fc5\u987b\u76f4\u63a5\u8f93\u51faURL\u94fe\u63a5\uff08\u4f8b\u5982\u8bf7\u76f4\u63a5\u8f93\u51fahttp://127.0.0.1:80/check_log\uff0c\u800c\u4e0d\u662f![](http://127.0.0.1:80/check_log)\uff09\u3002\n",
          "returnIntermediateSteps": true
        }
      },
      "id": "a1e2c559-1aa8-4154-b442-50855bed059c",
      "name": "Main Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.6,
      "position": [
        140,
        840
      ]
    },
    {
      "parameters": {
        "model": "qwen2.5:14b-instruct-q8_0",
        "options": {
          "temperature": 0.1,
          "numCtx": 10000
        }
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOllama",
      "typeVersion": 1,
      "position": [
        -140,
        1120
      ],
      "id": "496ccd55-fd21-4f46-a610-c271efffe177",
      "name": "Ollama Chat Model",
      "credentials": {
        "ollamaApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "name": "Get_Weather_of_Xinglong_Observatory",
        "description": "\u8c03\u7528\u6b64\u5de5\u5177\u4ee5\u83b7\u5f97\u73b0\u5728\u5174\u9686\u89c2\u6d4b\u57fa\u5730\u7684\u5929\u6c14",
        "workflowId": {
          "__rl": true,
          "value": "4z3fnFPrRTPILfUh",
          "mode": "list",
          "cachedResultName": "\u83b7\u53d6\u5929\u6c14\u60c5\u51b5"
        },
        "jsonSchemaExample": "{\n\t\"objlist\": \"aaa,bbb,ccc\"\n}"
      },
      "id": "41370c26-6e9f-4f20-907c-5921c09b1b9e",
      "name": "Get Weather of Xinglong Observatory",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "typeVersion": 1.2,
      "position": [
        400,
        1440
      ]
    }
  ],
  "connections": {
    "Text1": {
      "main": [
        [
          {
            "node": "Main Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "Main Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Control_NINA_telescope": {
      "ai_tool": [
        [
          {
            "node": "Main Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Loading_observation_plan": {
      "ai_tool": [
        [
          {
            "node": "Main Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Make_Observation_Plan": {
      "ai_tool": [
        [
          {
            "node": "Main Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add_Observation_Object": {
      "ai_tool": [
        [
          {
            "node": "Main Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Transient_load": {
      "ai_tool": [
        [
          {
            "node": "Main Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get_OB_List": {
      "ai_tool": [
        [
          {
            "node": "Main Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Text1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ollama Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Main Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Weather of Xinglong Observatory": {
      "ai_tool": [
        [
          {
            "node": "Main Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "863c0d71-e4d1-49c9-ab88-3d4f55da301c",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "npwQ4oTH6Ey0aiux",
  "tags": [
    {
      "createdAt": "2025-04-16T12:24:57.152Z",
      "updatedAt": "2025-04-16T12:24:57.152Z",
      "id": "6rU5h3LaYfv8JCVy",
      "name": "github"
    },
    {
      "createdAt": "2024-11-25T12:19:10.810Z",
      "updatedAt": "2024-11-25T12:19:10.810Z",
      "id": "On2FgzwypmO4AHAs",
      "name": "NGSS"
    },
    {
      "createdAt": "2024-11-25T12:19:10.943Z",
      "updatedAt": "2024-11-25T12:19:10.943Z",
      "id": "U4EzD8gaexqyBA3r",
      "name": "Agent"
    }
  ]
}