产品试金石 - 高效思维

一起探索未来

Search
Close this search box.
Nextchat插件配置

NextChat插件配置说明

简介

NextChat开源版本已支持插件调用,程序访问入口>>

不过,插件的配置略复杂,为了降低普通用户的配置难度,本文基于聚合AI站 >>提供的中转API做详细配置说明,后续如果有新增插件,本文也将同步更新配置说明。

在配置具体插件之前,你需要执行以下操作:

点击左侧的“发现”按钮,并“新建”进入插件配置页面。

第一步

第二步

第三步

记住,所有的插件都是这么新增进来的,下面的步骤就根据具体需要的插件进行单独配置即可。

1、免费联网插件 - Duckduckgo

这是一个搜索引擎插件,完全免费,效果适中,略弱于付费的Google Search API。

  • 授权方式:不需要授权
  • 使用代理:勾选
  • OpenAPI Schema导入链接:
				
					https://nextchatplugin.gptacg.com/plugins/duckduckgolite/openapi.json
				
			
  • 建议导入实现,如果导入不成功,可以手动复制以下json到输入框内(导入和复制二选一),后续插件都是这样设置,导入为主,不再赘述:
				
					{
  "openapi": "3.1.0",
  "info": {
    "title": "duckduckgo lite",
    "description": "a search engine. useful for when you need to answer questions about current events. input should be a search query.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://lite.duckduckgo.com"
    }
  ],
  "paths": {
    "/lite/": {
      "post": {
        "operationId": "DuckDuckGoLiteSearch",
        "description": "a search engine. useful for when you need to answer questions about current events. input should be a search query.",
        "deprecated": false,
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "keywords for query.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "s",
            "in": "query",
            "description": "can be `0`",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "o",
            "in": "query",
            "description": "can be `json`",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api",
            "in": "query",
            "description": "can be `d.js`",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kl",
            "in": "query",
            "description": "wt-wt, us-en, uk-en, ru-ru, etc. Defaults to `wt-wt`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bing_market",
            "in": "query",
            "description": "wt-wt, us-en, uk-en, ru-ru, etc. Defaults to `wt-wt`.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {}
  }
}
				
			

效果展示:

使用方法

使用方法2

2、绘图插件 - Dall-e-3

这是一个绘图插件,通过调用聚合API实现,并不是必须的,因为自带模型中已经加入了Dall-e-3模型,可以直接调用画图。

  • 授权方式:Bearer
  • 位置:header
  • Token:你在聚合AI XD Store里>>购买的API-Key
  • 使用代理:勾选
  • OpenAPI Schema导入链接:
				
					https://nextchatplugin.gptacg.com/plugins/dalle/openapi.json
				
			
  • 建议导入实现,如果导入不成功,可以手动复制以下json到输入框内(导入和复制二选一):
				
					{
  "openapi": "3.1.0",
  "info": {
    "title": "Dalle3",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.juheai.top"
    }
  ],
  "paths": {
    "/v1/images/generations": {
      "post": {
        "operationId": "Dalle3",
        "x-openai-isConsequential": false,
        "summary": "openai's dall-e image generator.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "model",
                  "n",
                  "prompt",
                  "size",
                  "quality",
                  "style"
                ],
                "properties": {
                  "model": {
                    "type": "string",
                    "description": "model name, required and value is `dall-e-3`."
                  },
                  "n": {
                    "type": "number",
                    "description": "value is `1`"
                  },
                  "prompt": {
                    "type": "string",
                    "description": "A text description of the desired image(s). input must be a english prompt."
                  },
                  "size": {
                    "type": "string",
                    "description": "images size, can be `1024x1024`, `1024x1792`, `1792x1024`. default value is `1024x1024`"
                  },
                  "quality": {
                    "type": "string",
                    "description": "images quality, can be `standard`, `hd`. default value is `hd`"
                  },
                  "style": {
                    "type": "string",
                    "description": "images style, can be `vivid`, `natural`. default value is `vivid`"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
				
			

效果展示:

效果展示dalle

3、代码解释器插件 - CodeInterpreter

把你的需求用python写成代码并通过内置环境跑起来,把结果返回给你。

  • 授权方式:不需要授权
  • 使用代理:勾选
  • OpenAPI Schema导入链接:
				
					https://nextchatplugin.gptacg.com/plugins/codeinterpreterapi/openapi.json
				
			
  • 建议导入实现,如果导入不成功,可以手动复制以下json到输入框内(导入和复制二选一):
				
					{
  "openapi": "3.1.0",
  "info": {
    "title": "CodeInterpreter",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://code.leez.tech"
    }
  ],
  "paths": {
    "/runcode": {
      "post": {
        "operationId": "CodeInterpreter",
        "x-openai-isConsequential": false,
        "summary": "Run a given Python program and return the output.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["code", "languageType", "variables"],
                "properties": {
                  "code": {
                    "type": "string",
                    "description": "The Python code to execute"
                  },
                  "languageType": {
                    "type": "string",
                    "description": "value is `python`"
                  },
                  "variables": {
                    "type": "object",
                    "description": "value is empty dict: `{}`"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
				
			

效果展示:

效果展示代码解释

效果展示代码解释2

4、论文查询插件 - ArxivSearch

arXiv 是一个广泛使用的开放获取预印本存档库,主要用于科学家和研究人员发布他们的研究论文。它涵盖了多个学术领域,尤其是在物理学、数学、计算机科学等领域非常知名。

  • 授权方式:不需要授权
  • 使用代理:勾选
  • OpenAPI Schema导入链接:
				
					https://nextchatplugin.gptacg.com/plugins/arxivsearch/openapi.json
				
			
  • 建议导入实现,如果导入不成功,可以手动复制以下json到输入框内(导入和复制二选一):
				
					{
  "openapi": "3.1.0",
  "info": {
    "title": "arxiv search",
    "description": "Run Arxiv search and get the article information.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://export.arxiv.org"
    }
  ],
  "paths": {
    "/api/query": {
      "get": {
        "operationId": "ArxivSearch",
        "description": "Run Arxiv search and get the article information.",
        "deprecated": false,
        "parameters": [
          {
            "name": "search_query",
            "in": "query",
            "required": true,
            "description": "same as the search_query parameter rules of the arxiv API.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "description": "can be `relevance`, `lastUpdatedDate`, `submittedDate`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "description": "can be either `ascending` or `descending`.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "description": "the index of the first returned result.",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "max_results",
            "in": "query",
            "description": "the number of results returned by the query.",
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {}
  }
}
				
			

效果展示:

论文搜索

5、GPTs集成插件 - gapier

内含50个免费的API,清单请查看官网,每天免费调用50次,包含了比较有用的谷歌搜索、获取当前时间、获取最新汇率等,下面是已知能力清单:

  • GetCurrentTime 获取当前时间
  • GetLastRate 获取最后汇率
  • GetIpInfo 获取 IP 信息
  • GenerateQrcode 生成二维码
  • GenerateRandomUser 生成随机用户
  • SearchBook 搜索书籍
  • SearchMovie 搜索电影
  • GetCryptoInformation 获取加密信息
  • GetFestivalsInformation 获取节日信息
  • SearchImage 搜索图片
  • SearchMusic 搜索音乐
  • GetTopNews 获取头条新闻
  • GeneratePoster 生成海报
  • GetWeather 获取天气
  • SearchBookByGoogle 谷歌图书搜索
  • SendEmail 发送电子邮件
  • SearchBDomainInformation 搜索 B 域信息
  • GeneratesGraphVizCharts 生成 GraphViz 图表
  • GenerateQuoteCard 生成报价卡
  • GetVideoInfo 获取视频信息
  • GeneratesCharts 生成图表
  • StoreSnapshot 存储快照
    ExtractSnapshot 提取快照
  • GenerateMixedPosterImage 生成混合海报图片
  • GenerateMermaidDiagram 生成 Mermaid 图表
  • GenerateMindMap 生成思维导图
  • ReadWebpage 阅读网页
  • ReadArXiv 阅读 ArXiv
  • SearchNews 搜索新闻
  • GoogleSearch 谷歌搜索

在开始配置前,请先去官网https://gapier.com/注册一个账号并获取属于你自己跌专属Key,无需支付,每天有50次调用机会。

APIKEY

  • 授权方式:Bearer
  • 位置:header
  • Token:你刚才在他们官网注册账号后获取的APIkey
  • 使用代理:勾选
  • OpenAPI Schema导入链接:
				
					https://a.gapier.com/free
				
			
  • 建议导入实现,如果导入不成功,可以手动复制以下json到输入框内(导入和复制二选一):
				
					{
  "openapi": "3.1.0",
  "info": {
    "title": "Gapier: 50 powerful free GPTs Actions API",
    "description": "A free exclusive GPTs Actions API provided by gapier.com, which can be used to enhance the capabilities of GPTs. Highly recommended for ChatGPT users!",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://a.gapier.com"
    }
  ],
  "paths": {
    "/api/v1/time": {
      "get": {
        "operationId": "GetCurrentTime",
        "description": "Get current time",
        "deprecated": false
      }
    },
    "/api/v1/rate": {
      "get": {
        "operationId": "GetLastRate",
        "description": "Get real-time currency exchange rates",
        "deprecated": false
      }
    },
    "/api/v1/ip": {
      "get": {
        "operationId": "GetIpInfo",
        "description": "Get IP information",
        "deprecated": false,
        "parameters": [
          {
            "name": "ip",
            "in": "query",
            "required": true,
            "description": "Obtain the geographical location of an IP address",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/qrcode": {
      "post": {
        "operationId": "GenerateQrcode",
        "description": "Input any string to receive a QR code image",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "content": {
                    "type": "string",
                    "description": "The content to be used for generating the QR code"
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/randomuser": {
      "get": {
        "operationId": "GenerateRandomUser",
        "description": "The generated virtual user information can be used for content creation and other scenarios",
        "deprecated": false
      }
    },
    "/api/v1/searchbook": {
      "get": {
        "operationId": "SearchBook",
        "description": "Search for book information from Openlibrary using keywords",
        "deprecated": false,
        "parameters": [
          {
            "name": "keywords",
            "in": "query",
            "required": true,
            "description": "Keywords used to search for books on Openlibrary",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/searchmovie": {
      "get": {
        "operationId": "SearchMovie",
        "description": "Search for movie information from TMDB using keywords",
        "deprecated": false,
        "parameters": [
          {
            "name": "keywords",
            "in": "query",
            "required": true,
            "description": "Search keywords to find movies on TMDB",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/crypto": {
      "get": {
        "operationId": "GetCryptoInformation",
        "description": "Retrieve information about the current cryptocurrency",
        "deprecated": false
      }
    },
    "/api/v1/festivals": {
      "get": {
        "operationId": "GetFestivalsInformation",
        "description": "Get data of important festival information",
        "deprecated": false
      }
    },
    "/api/v1/searchimg": {
      "get": {
        "operationId": "SearchImage",
        "description": "Search image by your keywords.",
        "deprecated": false,
        "parameters": [
          {
            "name": "keywords",
            "in": "query",
            "required": true,
            "description": "Keywords used to search for images on pixabay. The keyword must be in English. If user does not specify the keyword explicitly, the keyword of the image is inferred from the intent based on the context.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/searchmusic": {
      "get": {
        "operationId": "SearchMusic",
        "description": "Search for Music, Artist, Album, Playlist, podcast using keywords",
        "deprecated": false,
        "parameters": [
          {
            "name": "keywords",
            "in": "query",
            "required": true,
            "description": "Keywords for searching Artist, Music or Track titles, album names, playlists, and podcasts.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "num",
            "in": "query",
            "required": true,
            "description": "Return how many search results, default is 5 and maximum is 10.",
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    },
    "/api/v1/topnews": {
      "get": {
        "operationId": "GetTopNews",
        "description": "Retrieve the hottest news currently",
        "deprecated": false,
        "parameters": [
          {
            "name": "keywords",
            "in": "query",
            "required": false,
            "description": "Keywords for searching headline news. Optional parameter, Default is ''.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "description": "The lowercase 2-letter ISO 3166-1 code of the country you want to get headlines for.Optional parameter,Default is 'us'.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/poster": {
      "post": {
        "operationId": "GeneratePoster",
        "description": "Create attractive social media text poster images with your text content. If there are no specific requests, please display the images directly instead of providing download links.",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "theme": {
                    "type": "string",
                    "description": "The theme of the poster includes theme1, theme2, theme3 ... and theme8. If none is specified or it is not one of these eight, randomly select one from the themes."
                  },
                  "title": {
                    "type": "string",
                    "description": "Poster title, text only. If not specified, leave it blank"
                  },
                  "time": {
                    "type": "string",
                    "description": "The date of the poster is specified by the user, if not specified, it is an empty string."
                  },
                  "md": {
                    "type": "string",
                    "description": "The content used for generating the images is expected to be in markdown format, supporting only second-level headers (##), lists (- and *), bold (**), and regular text."
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/weather": {
      "get": {
        "operationId": "GetWeather",
        "description": "Retrieve current weather information based on location name, postal code, coordinates, or IP address",
        "deprecated": false,
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "description": "The query parameter. Can be a location name (e.g., 'New York'), UK/Canada/US ZIP code (e.g., '99501'), coordinates (latitude/longitude, e.g., '40.7831,-73.9712').",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/googlebook": {
      "get": {
        "operationId": "SearchBookByGoogle",
        "description": "Search for book information from Google Book using keywords",
        "deprecated": false,
        "parameters": [
          {
            "name": "keywords",
            "in": "query",
            "required": true,
            "description": "Keywords used to search for images on Google Book",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/sendemail": {
      "post": {
        "operationId": "SendEmail",
        "description": "Send your text to a specified email address",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "to": {
                    "type": "string",
                    "description": "The received email address parameter"
                  },
                  "subject": {
                    "type": "string",
                    "description": "The email title"
                  },
                  "html": {
                    "type": "string",
                    "description": "Email body, supports plain text, simple email HTML, and other formatted strings, defaults to plain text"
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/domain": {
      "get": {
        "operationId": "SearchBDomainInformation",
        "description": "Look up the registration information for a domain name",
        "deprecated": false,
        "parameters": [
          {
            "name": "domain",
            "in": "query",
            "required": true,
            "description": "Domain name string",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/graphviz": {
      "post": {
        "operationId": "GeneratesGraphVizCharts",
        "description": "Generate GraphViz chart with Dot language.",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "width": {
                    "type": "number",
                    "description": "Width of the generated image"
                  },
                  "height": {
                    "type": "number",
                    "description": "Height of the generated image"
                  },
                  "graph": {
                    "type": "string",
                    "description": "Description of the GraphViz chart, supports only Dot language."
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/quotecard": {
      "post": {
        "operationId": "GenerateQuoteCard",
        "description": "Create a Quote Card image using a piece of quoted text.If there are no specific requests, please display the images directly instead of providing download links.",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "theme": {
                    "type": "string",
                    "description": "The theme of the Quote Card includes theme1, theme2, theme3 ... and theme8. If none is specified or it is not one of these eight, randomly select one from the themes."
                  },
                  "quote": {
                    "type": "string",
                    "description": "The quoted text can be in plain text format or Markdown format. Markdown format supports only one first-level heading (#), lists (- and *), bold (**), and regular text."
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/videoinfo": {
      "get": {
        "operationId": "GetVideoInfo",
        "description": "Get the video's title, description, download link, and other text information from video websites such as YouTube.",
        "deprecated": false,
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "description": "URLs for videos from websites like YouTube, such as \"https://www.youtube....\". Please refer to the supported website list of the youtube-dl library.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/chart": {
      "get": {
        "operationId": "GeneratesCharts",
        "description": " Create and draw common statistical charts, and return PNG images.",
        "deprecated": false,
        "parameters": [
          {
            "name": "param",
            "in": "query",
            "required": true,
            "description": "Use natural language to describe the statistical chart parameters; refer to the https://quickchart.io/natural API.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/mem/snapshot_store": {
      "post": {
        "operationId": "StoreSnapshot",
        "description": "Store a snapshot of the conversation. The StoreSnapshot method is always used in conjunction with ExtractSnapshot.",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "snapshot_content": {
                    "type": "string",
                    "description": "A summary of the content of all current conversations for future review, as detailed as possible, including all details and facts, 1000 to 5000 words."
                  },
                  "short_description": {
                    "type": "string",
                    "description": "Summarize the conversation snapshot(snapshot_content) in 5 to 20 words. "
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mem/snapshot_extract": {
      "get": {
        "operationId": "ExtractSnapshot",
        "description": "Extract a snapshot of the conversation. The StoreSnapshot method is always used in conjunction with ExtractSnapshot.",
        "deprecated": false,
        "parameters": [
          {
            "name": "snapshot_idx",
            "in": "query",
            "required": true,
            "description": "snapshot_idx is a unique index for the snapshot, used to specify the specified snapshot of the current conversation. If this parameter is an empty string, the last snapshot will be returned by default.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/mixedposter": {
      "post": {
        "operationId": "GenerateMixedPosterImage",
        "description": "Generate a poster image with a mixture of text and images.If there are no specific requests, please display the images directly instead of providing download links.",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "theme": {
                    "type": "string",
                    "description": "The theme of the poster includes theme1, theme2, theme3 ... and theme8. If none is specified or it is not one of these eight, randomly select one from the themes."
                  },
                  "md": {
                    "type": "string",
                    "description": "Content for creating mixed poster image in Markdown format."
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mermaid": {
      "post": {
        "operationId": "GenerateMermaidDiagram",
        "description": "Generate a diagrams and visualizations using Mermaid.",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "mermaid": {
                    "type": "string",
                    "description": "A diagram created using Mermaid code."
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/mindmap": {
      "post": {
        "operationId": "GenerateMindMap",
        "description": "Create an image of a mind map based on the text content.If there are no specific requests, please display the images directly instead of providing download links.",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "md": {
                    "type": "string",
                    "description": "When creating a mind map with the Markmap library using Markdown format, you should use headings to represent different levels or nodes of the mind map, while avoiding the use of combined tags, such as - ##."
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/readwebpage": {
      "post": {
        "operationId": "ReadWebpage",
        "description": "Extract text information from web pages",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Extract the address of the page information"
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/readArXiv": {
      "post": {
        "operationId": "ReadArXiv",
        "description": "Receive a paper address from arXiv (URL starts with https://arxiv.org/abs/), and this Action will automatically fetch the content of the paper.",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The arXiv paper address starts with `https://arxiv.org/abs/`"
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/searchnews": {
      "post": {
        "operationId": "SearchNews",
        "description": "Search for News information from Google using keywords",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "keywords": {
                    "type": "string",
                    "description": "Keywords used to search for News on Google"
                  },
                  "locale": {
                    "type": "string",
                    "description": "Google uses this parameter to customize the language in the search location, following the ISO-639 standard. For example, entering `en` will search for English language web pages. The default is `en`."
                  },
                  "country": {
                    "type": "string",
                    "description": "Google uses this parameter to customize the country information in the search location, using a two-letter lowercase country code. For example, entering `us` will prioritize searching web pages in the United States region.The default is `us`."
                  },
                  "time_limit": {
                    "type": "string",
                    "description": "Use this field to define the time interval for the news. The optional values must be one of ['d', 'w', 'm', 'y'], corresponding to day, week, month, year, with the default being w."
                  },
                  "max_results": {
                    "type": "string",
                    "description": "This parameter can be used to specify the number of news articles to be returned. The default value is 10, with a maximum limit of 20."
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/searchgoogle": {
      "post": {
        "operationId": "GoogleSearch",
        "description": "Use Google to search for keywords. Each search will return 10 search results (sorted by relevance, each result contains a website, webpage description[snippet], ranking[position], etc.). You can use the ReadWebpage Action to further access these webpages, and a knowledge graph (if available).",
        "deprecated": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "keywords": {
                    "type": "string",
                    "description": "Keywords used to search on Google"
                  },
                  "locale": {
                    "type": "string",
                    "description": "Google uses this parameter to customize the language in the search location, following the ISO-639 standard. For example, entering `en` will search for English language web pages. The default is `en`."
                  },
                  "country": {
                    "type": "string",
                    "description": "Google uses this parameter to customize the country information in the search location, using a two-letter lowercase country code. For example, entering `us` will prioritize searching web pages in the United States region.The default is `us`."
                  },
                  "original_text": {
                    "type": "string",
                    "description": "Please provide the original request(only containing user input) that triggered the API call, as this information will be used to improve the performance of the API. If the text contains sensitive user data such as names, please redact them as ***."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {

    }
  }
}
				
			

效果展示:

 

更多插件后续补充…

全文结束

文章目录