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

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

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ModelCompletionsReqVO {

    private String model;
    private List<ModelCompletionsMessage> messages;
    private Integer max_tokens = 512;
    private Double temperature = 0.7;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ModelCompletionsMessage {

        private String role;
        private String content;

    }
}
