|
|
|
@ -21,40 +21,7 @@ import javax.validation.constraints.NotNull;
|
|
|
|
|
@ApiModel(value = "大模型分析信息") |
|
|
|
|
@Data |
|
|
|
|
@EqualsAndHashCode(callSuper = false) |
|
|
|
|
public class ZhipuAnalysisInfoVO extends TenantEntity { |
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class) |
|
|
|
|
@ApiModelProperty(value = "主键id") |
|
|
|
|
@TableId(value = "id", type = IdType.ASSIGN_ID) |
|
|
|
|
private Long id; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "策略编码") |
|
|
|
|
@NotNull |
|
|
|
|
private String code; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "策略名称") |
|
|
|
|
private String name; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "调用模型名称") |
|
|
|
|
@NotNull |
|
|
|
|
private String model; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "模型交互内容") |
|
|
|
|
private String requestContent; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "结果解析策略") |
|
|
|
|
private String resultStrategy; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "结果类型") |
|
|
|
|
private String resultType; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "结果查询key值") |
|
|
|
|
private String resultKey; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "结果对比内容") |
|
|
|
|
private String resultCondition; |
|
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "对比方式") |
|
|
|
|
private String resultJudgeModel; |
|
|
|
|
public class ZhipuAnalysisInfoVO extends ZhipuAnalysisInfoEntity { |
|
|
|
|
|
|
|
|
|
public ZhipuAnalysisInfoEntity toEntity() { |
|
|
|
|
return BeanUtil.copy(this, ZhipuAnalysisInfoEntity.class); |
|
|
|
|