Preparing search index...
The search index is not available
Mosaia Node.js SDK - v0.0.31
Mosaia Node.js SDK
ChatMessage
Interface ChatMessage
interface
ChatMessage
{
role
?:
"user"
|
"system"
|
"assistant"
|
"tool"
;
content
?:
string
;
refusal
?:
string
;
annotations
?:
string
[]
;
tool_calls
?:
ToolCall
[]
;
tool_call_id
?:
string
;
}
Index
Properties
role?
content?
refusal?
annotations?
tool_
calls?
tool_
call_
id?
Properties
Optional
role
role
?:
"user"
|
"system"
|
"assistant"
|
"tool"
Optional
content
content
?:
string
Optional
refusal
refusal
?:
string
Optional
annotations
annotations
?:
string
[]
Optional
tool_
calls
tool_calls
?:
ToolCall
[]
Optional
tool_
call_
id
tool_call_id
?:
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
role
content
refusal
annotations
tool_
calls
tool_
call_
id
Mosaia Node.js SDK - v0.0.31
Loading...