Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Method and Description |
---|---|
static CohereChatResponse.FinishReason |
CohereChatResponse.FinishReason.create(String key) |
CohereChatResponse.FinishReason |
CohereChatResponse.getFinishReason()
Why the generation stopped.
|
static CohereChatResponse.FinishReason |
CohereChatResponse.FinishReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CohereChatResponse.FinishReason[] |
CohereChatResponse.FinishReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CohereChatResponse.Builder |
CohereChatResponse.Builder.finishReason(CohereChatResponse.FinishReason finishReason)
Why the generation stopped.
|
Constructor and Description |
---|
CohereChatResponse(String text,
List<CohereMessage> chatHistory,
List<Citation> citations,
Boolean isSearchRequired,
CohereChatResponse.FinishReason finishReason,
String errorMessage,
List<SearchQuery> searchQueries,
List<Object> documents,
List<CohereToolCall> toolCalls,
String prompt)
Deprecated.
|
Copyright © 2016–2024. All rights reserved.