package cn.iocoder.yudao.module.llm.service.http.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ModelCompletionsReqVO {

    private String model;
    private List<ModelCompletionsMessage> messages;
    private Integer max_tokens = 4096;
    private Double temperature = 0.7;
//    private Integer max_length = 120000;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ModelCompletionsMessage {

        private String role;
        private String content;

    }
}
