public final class ChatCompletionRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatCompletionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChatCompletionRequest.Builder |
builder() |
boolean |
equals(Object another) |
Double |
frequencyPenalty() |
FunctionCall |
functionCall()
Deprecated.
|
List<Function> |
functions()
Deprecated.
|
int |
hashCode() |
Map<String,Integer> |
logitBias() |
Integer |
maxCompletionTokens() |
Integer |
maxTokens() |
List<Message> |
messages() |
String |
model() |
Integer |
n() |
Boolean |
parallelToolCalls() |
Double |
presencePenalty() |
ResponseFormat |
responseFormat() |
Integer |
seed() |
List<String> |
stop() |
Boolean |
stream() |
StreamOptions |
streamOptions() |
Double |
temperature() |
Object |
toolChoice() |
List<Tool> |
tools() |
Double |
topP() |
String |
toString() |
String |
user() |
public String model()
public Double temperature()
public Double topP()
public Integer n()
public Boolean stream()
public StreamOptions streamOptions()
public Integer maxTokens()
public Integer maxCompletionTokens()
public Double presencePenalty()
public Double frequencyPenalty()
public String user()
public ResponseFormat responseFormat()
public Integer seed()
public Object toolChoice()
public Boolean parallelToolCalls()
@Deprecated public List<Function> functions()
@Deprecated public FunctionCall functionCall()
public static ChatCompletionRequest.Builder builder()
Copyright © 2024. All rights reserved.