package com.yaoai.ai.core.model;

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

import java.util.List;
import java.util.Map;

@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;

    @JsonProperty("response_format")
    private Map<String, Object> responseFormat;
}
