Junjie
8 天以前 1b93474a67aa2323d20630b1bb026713b2bad009
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.zy.ai.entity;
 
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
 
import java.util.List;
 
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ResponsesApiRequest {
 
    private String model;
    private Object input;
    private Object instructions;
    private Double temperature;
    private Boolean stream;
    private List<Object> tools;
 
    @JsonProperty("tool_choice")
    private Object toolChoice;
 
    @JsonProperty("max_output_tokens")
    private Integer maxOutputTokens;
}