package com.iailab.module.ai.service.questiontemplate;
|
|
import javax.validation.*;
|
import com.iailab.module.ai.controller.admin.questiontemplate.vo.*;
|
import com.iailab.module.ai.dal.dataobject.questiontemplate.QuestionTemplateDO;
|
import com.iailab.framework.common.pojo.PageResult;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* 大模型问题模板 Service 接口
|
*
|
* @author 超级管理员
|
*/
|
public interface QuestionTemplateService {
|
|
/**
|
* 创建大模型问题模板
|
*
|
* @param createReqVO 创建信息
|
* @return 编号
|
*/
|
String createQuestionTemplate(@Valid QuestionTemplateSaveReqVO createReqVO);
|
|
/**
|
* 更新大模型问题模板
|
*
|
* @param updateReqVO 更新信息
|
*/
|
void updateQuestionTemplate(@Valid QuestionTemplateSaveReqVO updateReqVO);
|
|
/**
|
* 删除大模型问题模板
|
*
|
* @param id 编号
|
*/
|
void deleteQuestionTemplate(String id);
|
|
/**
|
* 获得大模型问题模板
|
*
|
* @param id 编号
|
* @return 大模型问题模板
|
*/
|
QuestionTemplateDO getQuestionTemplate(String id);
|
|
/**
|
* 获得大模型问题模板
|
*
|
* @param reqVO
|
* @return 大模型问题模板
|
*/
|
List<QuestionTemplateDO> getQuestionTemplates(QuestionTemplateReqVO reqVO);
|
|
/**
|
* 获得大模型问题模板分页
|
*
|
* @param pageReqVO 分页查询
|
* @return 大模型问题模板分页
|
*/
|
PageResult<QuestionTemplateDO> getQuestionTemplatePage(QuestionTemplatePageReqVO pageReqVO);
|
|
|
/**
|
* 根据模型id获得大模型问题模板列表
|
*
|
* @param modelId 模型id
|
* @return 大模型问题模板列表
|
*/
|
List<QuestionTemplateDO> getQuestionTemplateList(@Param("modelId") Long modelId );
|
}
|