| Package | Description |
|---|---|
| org.noear.solon.ai.chat | |
| org.noear.solon.ai.chat.message |
| Modifier and Type | Method and Description |
|---|---|
static ChatRole |
ChatRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatRole[] |
ChatRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ChatRole |
ChatMessage.getRole()
角色
|
ChatRole |
UserMessage.getRole()
角色
|
ChatRole |
SystemMessage.getRole()
角色
|
ChatRole |
ToolMessage.getRole()
角色
|
ChatRole |
AssistantMessage.getRole()
角色
|
Copyright © 2025. All rights reserved.