| Package | Description |
|---|---|
| dev.langchain4j.model.output |
| Modifier and Type | Method and Description |
|---|---|
FinishReason |
Response.finishReason() |
static FinishReason |
FinishReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FinishReason[] |
FinishReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Response<T> |
Response.from(T content,
TokenUsage tokenUsage,
FinishReason finishReason) |
| Constructor and Description |
|---|
Response(T content,
TokenUsage tokenUsage,
FinishReason finishReason) |
Copyright © 2023. All rights reserved.