public final class ChatCompletionResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatCompletionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChatCompletionResponse.Builder |
builder() |
List<ChatCompletionChoice> |
choices() |
String |
content()
Convenience method to get the content of the message from the first choice.
|
Integer |
created() |
boolean |
equals(Object another) |
int |
hashCode() |
String |
id() |
String |
model() |
String |
systemFingerprint() |
String |
toString() |
Usage |
usage() |
public String id()
public Integer created()
public String model()
public List<ChatCompletionChoice> choices()
public Usage usage()
public String systemFingerprint()
public String content()
public static ChatCompletionResponse.Builder builder()
Copyright © 2024. All rights reserved.