Package | Description |
---|---|
com.oracle.bmc.generativeaiinference.model |
Modifier and Type | Method and Description |
---|---|
static CohereMessage.Role |
CohereMessage.Role.create(String key) |
CohereMessage.Role |
CohereMessage.getRole()
One of CHATBOT|USER to identify who the message is coming from.
|
static CohereMessage.Role |
CohereMessage.Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CohereMessage.Role[] |
CohereMessage.Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CohereMessage.Builder |
CohereMessage.Builder.role(CohereMessage.Role role)
One of CHATBOT|USER to identify who the message is coming from.
|
Constructor and Description |
---|
CohereMessage(CohereMessage.Role role,
String message)
Deprecated.
|
Copyright © 2016–2024. All rights reserved.