package com.yaoai.ai.core.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class ChatRequest {

    private String model;
    private List<ChatMessage> messages;

    @Builder.Default
    private double temperature = 0.7;

    @JsonProperty("max_tokens")
    @Builder.Default
    private int maxTokens = 4096;
}
