forked from Leaf/amber-ui
改进 文档
This commit is contained in:
parent
ee3aff6e73
commit
1fef96bd41
@ -20,6 +20,8 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
prompt:
|
prompt:
|
||||||
type: string
|
type: string
|
||||||
|
public:
|
||||||
|
type: boolean
|
||||||
temperature:
|
temperature:
|
||||||
type: number
|
type: number
|
||||||
updated_at:
|
updated_at:
|
||||||
@ -382,7 +384,6 @@ definitions:
|
|||||||
assistant_id:
|
assistant_id:
|
||||||
type: integer
|
type: integer
|
||||||
message:
|
message:
|
||||||
maxLength: 255
|
|
||||||
type: string
|
type: string
|
||||||
role:
|
role:
|
||||||
enum:
|
enum:
|
||||||
@ -1124,6 +1125,33 @@ paths:
|
|||||||
summary: 绑定 Tool
|
summary: 绑定 Tool
|
||||||
tags:
|
tags:
|
||||||
- assistant
|
- assistant
|
||||||
|
/api/v1/assistants/public:
|
||||||
|
get:
|
||||||
|
consumes:
|
||||||
|
- application/json
|
||||||
|
produces:
|
||||||
|
- application/json
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: OK
|
||||||
|
schema:
|
||||||
|
allOf:
|
||||||
|
- $ref: '#/definitions/schema.ResponseBody'
|
||||||
|
- properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/definitions/entity.Assistant'
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
"400":
|
||||||
|
description: Bad Request
|
||||||
|
schema:
|
||||||
|
$ref: '#/definitions/schema.ResponseBody'
|
||||||
|
security:
|
||||||
|
- ApiKeyAuth: []
|
||||||
|
summary: 获取公开的助理列表
|
||||||
|
tags:
|
||||||
|
- assistant
|
||||||
/api/v1/chat_public:
|
/api/v1/chat_public:
|
||||||
get:
|
get:
|
||||||
consumes:
|
consumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user