知识库
查询知识图谱
Changed on对单个授权知识库按实体名进行区分大小写的子串查询,返回实体、定向关系及仍然有效的来源分块。不调用模型,不影响默认检索。0 表示使用默认上限。
post/knowledge-bases/{id}/graph-search
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/knowledge-bases/{id}/graph-search
- Auth
- API key in header Authorization
- or API key in header X-API-Key
Path parameters
idstring required
知识库ID
Query parameters
agent_idstring
共享智能体 ID
agent_source_tenant_idinteger
共享智能体来源空间
Request body
Response
OK
Example response
{
"success": true
}Changes
- info
endpoint added
- info