【优化】ai modal 注释

This commit is contained in:
cherishsince 2024-04-25 15:00:42 +08:00
parent d6a8ec6bd2
commit faade05528
2 changed files with 42 additions and 0 deletions

View File

@ -14,9 +14,26 @@ import cn.iocoder.yudao.module.ai.vo.AiChatModalListRes;
*/
public interface AiChatModalService {
/**
* ai modal - 列表
*
* @param req
* @return
*/
PageResult<AiChatModalListRes> list(AiChatModalListReq req);
/**
* ai modal - 添加
*
* @param req
*/
void add(AiChatModalAddReq req);
/**
* ai modal - 更新
*
* @param id
* @param req
*/
void update(Long id, AiChatModalAddReq req);
}

View File

@ -13,4 +13,29 @@ import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
public class AiChatModalListRes {
/**
* 编号
*/
private Long id;
/**
* 模型名字
*/
private Long modelName;
/**
* 模型类型(qianwenyiyanxinghuoopenai)
*/
private String modelType;
/**
* 模型照片
*/
private String modalImage;
/**
* 模型配置JSON
*/
private String modelConfig;
/**
* 禁用 0正常 1禁用
*/
private Integer disable;
}