add plugin fastgpt

This commit is contained in:
lloydzhou
2024-09-04 11:32:48 +08:00
parent 9b1dc3049c
commit d86e3f5ccd
4 changed files with 114 additions and 0 deletions

34
plugins/fastgpt/README.md Normal file
View 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
![Preview](./preview.png)