Package | Description |
---|---|
com.oracle.bmc.generativeaiagentruntime.model |
Modifier and Type | Method and Description |
---|---|
static Message.Role |
Message.Role.create(String key) |
Message.Role |
Message.getRole()
The role of the sender of this message.
|
static Message.Role |
Message.Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Role[] |
Message.Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Message.Builder |
Message.Builder.role(Message.Role role)
The role of the sender of this message.
|
Constructor and Description |
---|
Message(Message.Role role,
MessageContent content,
Date timeCreated)
Deprecated.
|
Copyright © 2016–2024. All rights reserved.