知识库创建

基本信息

  • 接口说明:知识库创建
  • 请求地址:http(s)://sparkbot.xf-yun.com/v1/retrieval/repo_create
  • 请求格式:application/json

  • 请求方式:POST

请求参数说明

参数 类型 必选 说明 其他信息
app_id string 应用ID 平台申请的应用
comment string 知识库描述(不超过20个字符)

响应参数说明

参数 类型 说明
code int 0- 成功
result string repo_id
message string 提示信息
sid string 会话的唯一id

示例

  • 请求示例
{
  "app_id":"app_id",
  "comment": "test"
}
  • 响应示例
{
    "code": 0,
    "message": "Success",
    "data": "554f697d0ac84f6dbcc992349cd33f5c",
    "sid": "cht000cb087@dx18793cd421fb894542"
}
powered by 飞云 all right reserved,powered by Gitbook该文章修订时间: 2025-04-08 13:23:31

results matching ""

    No results matching ""