Package com.alibaba.cloud.ai.service
Class AgentPresetQuestionService
java.lang.Object
com.alibaba.cloud.ai.service.AgentPresetQuestionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbatchSave(Long agentId, List<AgentPresetQuestion> questions) 批量保存预设问题(先删除再插入)create(AgentPresetQuestion question) 创建预设问题voiddeleteByAgentId(Long agentId) 删除智能体的所有预设问题voiddeleteById(Long id) 删除预设问题findByAgentId(Long agentId) 根据智能体ID获取预设问题列表voidupdate(Long id, AgentPresetQuestion question) 更新预设问题
-
Constructor Details
-
AgentPresetQuestionService
public AgentPresetQuestionService()
-
-
Method Details
-
findByAgentId
根据智能体ID获取预设问题列表 -
create
创建预设问题 -
update
更新预设问题 -
deleteById
删除预设问题 -
deleteByAgentId
删除智能体的所有预设问题 -
batchSave
批量保存预设问题(先删除再插入)
-