Represents a message in the Llaminate service.
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
role |
"assistant" | "developer" | "system" | "user" | "tool" | The role of the message sender. | |
content |
string | any |
<optional> |
The content of the message, which can be a string or any JSON-serializable object. |
name |
string |
<optional> |
The name of the tool used in tool responses. |
tool_call_id |
string |
<optional> |
The ID linking tool messages to calls. |
tool_calls |
Array.<{type: string, function: {name: string, arguments: string}, id: string}> |
<optional> |
The tool calls associated with assistant messages. |