Package com.alibaba.cloud.ai.service
Class AgentKnowledgeService
java.lang.Object
com.alibaba.cloud.ai.service.AgentKnowledgeService
智能体知识服务类
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbatchUpdateStatus(List<Integer> ids, String status) 批量更新知识状态intcountKnowledgeByAgent(Integer agentId) 统计智能体知识数量countKnowledgeByType(Integer agentId) 统计各类型知识数量createKnowledge(AgentKnowledge knowledge) 创建知识boolean删除知识getKnowledgeByAgentId(Integer agentId) 根据智能体ID查询知识列表根据ID查询知识详情getKnowledgeByStatus(Integer agentId, String status) 根据状态查询知识列表getKnowledgeByType(Integer agentId, String type) 根据类型查询知识列表searchKnowledge(Integer agentId, String keyword) 搜索知识updateKnowledge(Integer id, AgentKnowledge knowledge) 更新知识
-
Constructor Details
-
AgentKnowledgeService
public AgentKnowledgeService()
-
-
Method Details
-
getKnowledgeByAgentId
根据智能体ID查询知识列表 -
getKnowledgeById
根据ID查询知识详情 -
createKnowledge
创建知识 -
updateKnowledge
更新知识 -
deleteKnowledge
删除知识 -
getKnowledgeByType
根据类型查询知识列表 -
getKnowledgeByStatus
根据状态查询知识列表 -
searchKnowledge
搜索知识 -
batchUpdateStatus
批量更新知识状态 -
countKnowledgeByAgent
统计智能体知识数量 -
countKnowledgeByType
统计各类型知识数量
-