package cn.iocoder.yudao.module.ai.controller.admin.model.vo.model;
|
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.idev.excel.annotation.ExcelProperty;
|
import lombok.AllArgsConstructor;
|
import lombok.Builder;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
/**
|
* AI 模型 Excel 导入 VO
|
*/
|
@Data
|
@Builder
|
@AllArgsConstructor
|
@NoArgsConstructor
|
public class AiModelImportExcelVO {
|
|
@ExcelProperty("模型名字")
|
private String name;
|
|
@ExcelProperty("API 密钥名称")
|
private String keyName;
|
|
@ExcelProperty("模型标识")
|
private String model;
|
|
@ExcelProperty(value = "模型平台", converter = DictConvert.class)
|
@DictFormat("ai_platform")
|
private String platform;
|
|
@ExcelProperty(value = "模型类型", converter = DictConvert.class)
|
@DictFormat("ai_model_type")
|
private Integer type;
|
|
@ExcelProperty("排序")
|
private Integer sort;
|
|
@ExcelProperty(value = "状态", converter = DictConvert.class)
|
@DictFormat("common_status")
|
private Integer status;
|
|
@ExcelProperty("温度")
|
private Double temperature;
|
|
@ExcelProperty("最大 Token 数")
|
private Integer maxTokens;
|
|
@ExcelProperty("最大上下文数")
|
private Integer maxContexts;
|
|
}
|