mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-02-07 13:00:05 +08:00
删除 对话类型
This commit is contained in:
parent
e8f4dd7905
commit
a33ea4aa82
@ -17,26 +17,23 @@ import lombok.experimental.Accessors;
|
|||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
public class ChatReq {
|
public class ChatReq {
|
||||||
|
|
||||||
@Schema(description = "chat角色模板")
|
@Schema(description = "ai模型(查看 AiClientNameEnum)")
|
||||||
private Long chatRoleId;
|
@NotNull(message = "模型不能为空!")
|
||||||
|
@Size(max = 30, message = "模型字符最大30个字符!")
|
||||||
|
private String modal;
|
||||||
|
|
||||||
@Schema(description = "对话Id")
|
@Schema(description = "对话Id")
|
||||||
|
@NotNull(message = "对话id不能为空")
|
||||||
private Long conversationId;
|
private Long conversationId;
|
||||||
|
|
||||||
@Schema(description = "对话类型(new、continue),如果是new会创建一个新的对话,continue就会继续对话!")
|
@Schema(description = "chat角色模板")
|
||||||
@NotNull(message = "对话类型,不能为空!")
|
private Long chatRoleId;
|
||||||
private String conversationType;
|
|
||||||
|
|
||||||
@NotNull(message = "提示词不能为空!")
|
@NotNull(message = "提示词不能为空!")
|
||||||
@Size(max = 5000, message = "提示词最大5000个字符!")
|
@Size(max = 5000, message = "提示词最大5000个字符!")
|
||||||
@Schema(description = "填入固定值,1 issues, 2 pr")
|
@Schema(description = "填入固定值,1 issues, 2 pr")
|
||||||
private String prompt;
|
private String prompt;
|
||||||
|
|
||||||
@Schema(description = "ai模型(查看 AiClientNameEnum)")
|
|
||||||
@NotNull(message = "模型不能为空!")
|
|
||||||
@Size(max = 30, message = "模型字符最大30个字符!")
|
|
||||||
private String modal;
|
|
||||||
|
|
||||||
@Schema(description = "用于控制随机性和多样性的温度参数")
|
@Schema(description = "用于控制随机性和多样性的温度参数")
|
||||||
private Double temperature;
|
private Double temperature;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user