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 | Array.<({type: "text", text: string}|{type: "attachment", attachment: {mime: string, url: string}})> |
<optional> |
The content of the message, which can be a string or an array of content objects (either text or URL attachments). |
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. |