curl --request POST \
--url https://open.bigmodel.cn/api/llm-application/open/knowledge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"embedding_id": 3,
"name": "<string>"
}'
{
"data": {
"id": "<string>"
},
"code": 123,
"message": "<string>",
"timestamp": 123
}
用于创建个人知识库,支持绑定向量化模型、设置名称、描述、背景色和图标。
curl --request POST \
--url https://open.bigmodel.cn/api/llm-application/open/knowledge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"embedding_id": 3,
"name": "<string>"
}'
{
"data": {
"id": "<string>"
},
"code": 123,
"message": "<string>",
"timestamp": 123
}
使用以下格式进行身份验证:Bearer <your api key>
业务处理成功
The response is of type object
.