应用中心增加模型区分类型
This commit is contained in:
parent
7ff8df322d
commit
4cab32f083
@ -87,4 +87,6 @@ public class ApplicationRespVO {
|
||||
|
||||
@Schema(description = "创建人")
|
||||
private String creatorName;
|
||||
@Schema(description = "模型类型(0普通1官方)")
|
||||
private Integer appModelType;
|
||||
}
|
||||
|
@ -62,4 +62,7 @@ public class ApplicationSaveReqVO {
|
||||
|
||||
@Schema(description = "创建人")
|
||||
private String creatorName;
|
||||
|
||||
@Schema(description = "模型类型(0普通1官方)")
|
||||
private Integer appModelType;
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
package cn.iocoder.yudao.module.llm.dal.dataobject.application;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import java.time.LocalDateTime;
|
||||
@ -86,4 +87,9 @@ public class ApplicationDO extends BaseDO {
|
||||
*/
|
||||
private String prompt;
|
||||
|
||||
/**
|
||||
* 模型类型
|
||||
*/
|
||||
private Integer appModelType;
|
||||
|
||||
}
|
||||
|
@ -89,6 +89,9 @@ public class ApplicationServiceImpl implements ApplicationService {
|
||||
List<LabelDO> labelDOS = labelMapper.selectList(wrapper);
|
||||
List<String> collect = labelDOS.stream().map(LabelDO::getLabelName).collect(Collectors.toList());
|
||||
bean.setAppLabelName(String.join(",", collect));
|
||||
if (applicationDO.getAppModelType() == 0){
|
||||
|
||||
}
|
||||
}
|
||||
return bean;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user