You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package cn.teammodel.model.dto.ai;
|
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
public class ChatCompletionReqDto {
|
|
|
|
|
private String sessionId;
|
|
|
|
|
/**
|
|
|
|
|
* 预设的会话 id
|
|
|
|
|
*/
|
|
|
|
|
@ApiModelProperty("会话id,没有则为空")
|
|
|
|
|
private String appId;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty("模型类型: 科大讯飞:SparkMax;DeepSeek:DeepSeek_Chat")
|
|
|
|
|
private String model = "SparkMax";
|
|
|
|
|
|
|
|
|
|
@NotBlank(message = "请输入消息内容")
|
|
|
|
|
private String text;
|
|
|
|
|
}
|