You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* events</a> as they become available, with the stream terminated by a data: [DONE] message.
88
87
*/
89
-
@JsonProperty("logit_bias")
90
-
Map<String, Integer> logitBias;
88
+
Booleanstream;
91
89
90
+
/**
91
+
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower
92
+
* values like 0.2 will make it more focused and deterministic.<br>
93
+
* We generally recommend altering this or top_p but not both.
94
+
*/
95
+
Doubletemperature;
92
96
93
97
/**
94
-
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
98
+
* An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens
99
+
* with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.<br>
100
+
* We generally recommend altering this or temperature but not both.
95
101
*/
96
-
Stringuser;
102
+
@JsonProperty("top_p")
103
+
DoubletopP;
97
104
98
105
/**
99
-
* A list of the available functions.
106
+
* A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.
100
107
*/
101
-
List<?> functions;
108
+
Stringuser;
102
109
103
110
/**
104
111
* Controls how the model responds to function calls, as specified in the <a href="https://platform.openai.com/docs/api-reference/chat/create#chat/create-function_call">OpenAI documentation</a>.
105
112
*/
106
113
@JsonProperty("function_call")
107
114
ChatCompletionRequestFunctionCallfunctionCall;
108
115
116
+
/**
117
+
* A list of the available functions.
118
+
*/
119
+
List<?> functions;
120
+
109
121
@Data
110
122
@Builder
111
123
@AllArgsConstructor
@@ -118,4 +130,18 @@ public static ChatCompletionRequestFunctionCall of(String name) {
0 commit comments