删除 对话类型

This commit is contained in:
cherishsince 2024-04-18 17:08:45 +08:00
parent e8f4dd7905
commit a33ea4aa82
1 changed files with 7 additions and 10 deletions

View File

@ -17,26 +17,23 @@ import lombok.experimental.Accessors;
@Accessors(chain = true)
public class ChatReq {
@Schema(description = "chat角色模板")
private Long chatRoleId;
@Schema(description = "ai模型(查看 AiClientNameEnum)")
@NotNull(message = "模型不能为空!")
@Size(max = 30, message = "模型字符最大30个字符!")
private String modal;
@Schema(description = "对话Id")
@NotNull(message = "对话id不能为空")
private Long conversationId;
@Schema(description = "对话类型(new、continue)如果是new会创建一个新的对话continue就会继续对话!")
@NotNull(message = "对话类型,不能为空!")
private String conversationType;
@Schema(description = "chat角色模板")
private Long chatRoleId;
@NotNull(message = "提示词不能为空!")
@Size(max = 5000, message = "提示词最大5000个字符!")
@Schema(description = "填入固定值1 issues, 2 pr")
private String prompt;
@Schema(description = "ai模型(查看 AiClientNameEnum)")
@NotNull(message = "模型不能为空!")
@Size(max = 30, message = "模型字符最大30个字符!")
private String modal;
@Schema(description = "用于控制随机性和多样性的温度参数")
private Double temperature;