mirror of
https://github.com/ChatGPTNextWeb/NextChat-Awesome-Plugins.git
synced 2026-07-08 01:32:03 +08:00
add plugin fastgpt
This commit is contained in:
@@ -9,4 +9,5 @@ This project stores [Plugins](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
|
|||||||
- [DuckDuckGoLiteSearch](./plugins/duckduckgolite)
|
- [DuckDuckGoLiteSearch](./plugins/duckduckgolite)
|
||||||
- [gapier](./plugins/gapier)
|
- [gapier](./plugins/gapier)
|
||||||
- [Webpilot](./plugins/webpilot)
|
- [Webpilot](./plugins/webpilot)
|
||||||
|
- [FastGPT](./plugins/fastgpt)
|
||||||
|
|
||||||
|
|||||||
34
plugins/fastgpt/README.md
Normal file
34
plugins/fastgpt/README.md
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
# FastGPT
|
||||||
|
|
||||||
|
> FastGPT 是一个基于 LLM 大语言模型的知识库问答系统,提供开箱即用的数据处理、模型调用等能力。同时可以通过 Flow 可视化进行工作流编排,从而实现复杂的问答场景!
|
||||||
|
|
||||||
|
## Schema
|
||||||
|
[openapi.json](./openapi.json)
|
||||||
|
|
||||||
|
## Servers
|
||||||
|
|
||||||
|
`https://api.fastgpt.in`
|
||||||
|
|
||||||
|
## Operations
|
||||||
|
|
||||||
|
1. GetDatasetList
|
||||||
|
> Get Dataset list with `id`, `name` and other info
|
||||||
|
|
||||||
|
2. SearchFromDatasetById
|
||||||
|
> search chunks from dataset by `datesetId`
|
||||||
|
|
||||||
|
## Authentication
|
||||||
|
|
||||||
|
type: bearer
|
||||||
|
location: header
|
||||||
|
|
||||||
|
## Context Prompts
|
||||||
|
```
|
||||||
|
please get `datasetId` which name is "NextChat README", and query context from this dataset, and then answer user's question.
|
||||||
|
```
|
||||||
|
|
||||||
|
## Preview
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
79
plugins/fastgpt/openapi.json
Normal file
79
plugins/fastgpt/openapi.json
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
{
|
||||||
|
"openapi": "3.1.0",
|
||||||
|
"info": {
|
||||||
|
"title": "FastGPT",
|
||||||
|
"description": "FastGPT 是一个基于 LLM 大语言模型的知识库问答系统,提供开箱即用的数据处理、模型调用等能力。同时可以通过 Flow 可视化进行工作流编排,从而实现复杂的问答场景!",
|
||||||
|
"version": "v1.0.0"
|
||||||
|
},
|
||||||
|
"servers": [
|
||||||
|
{
|
||||||
|
"url": "https://api.fastgpt.in"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"paths": {
|
||||||
|
"/api/core/dataset/list": {
|
||||||
|
"post": {
|
||||||
|
"operationId": "GetDatasetList",
|
||||||
|
"description": "Get Dataset list with `id`, `name` and other info",
|
||||||
|
"deprecated": false,
|
||||||
|
"requestBody": {
|
||||||
|
"required": true,
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"parentId": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"/api/core/dataset/searchTest": {
|
||||||
|
"post": {
|
||||||
|
"operationId": "SearchFromDatasetById",
|
||||||
|
"description": "search chunks from dataset by `datesetId`",
|
||||||
|
"deprecated": false,"requestBody": {
|
||||||
|
"required": true,
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"required": ["datasetId", "text"],
|
||||||
|
"properties": {
|
||||||
|
"datasetId": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "id for dataset, can query from `GetDatasetList`"
|
||||||
|
},
|
||||||
|
"text": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "keyword to query from dataset"
|
||||||
|
},
|
||||||
|
"limit": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "limit for response data."
|
||||||
|
},
|
||||||
|
"searchMode": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "can be `embedding`"
|
||||||
|
},
|
||||||
|
"usingReRank": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "can be `false`"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"schemas": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
plugins/fastgpt/preview.png
Normal file
BIN
plugins/fastgpt/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 121 KiB |
Reference in New Issue
Block a user