LlmMessage
Defined in the protocols module.Rust AI Agent SDK An LLM message.
Fields
| Name | Type | Description |
|---|---|---|
role | String | Message role |
content | String | Message content |
Methods
system
| Name | Type |
|---|---|
content | impl Into<String> |
user
| Name | Type |
|---|---|
content | impl Into<String> |
assistant
| Name | Type |
|---|---|
content | impl Into<String> |
Source
View on GitHub
praisonai/src/protocols/mod.rs at line 164
