Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/ai-chat/services/chat-machine
ChatMachineEvent
Type Alias ChatMachineEvent
ChatMachineEvent
:
|
{
message
:
string
;
type
:
"SEND_CHAT_MESSAGE"
}
|
{
message
:
ChatMessage
;
type
:
"RECEIVE_CHAT_MESSAGE"
}
|
{
agentId
:
string
;
type
:
"SELECT_AGENT"
}
|
{
isProcessing
:
boolean
;
type
:
"SET_PROCESSING"
}
|
{
error
:
string
|
null
;
type
:
"SET_ERROR"
}
|
{
type
:
"CLEAR_MESSAGES"
}
|
{
messageId
:
string
;
type
:
"REMOVE_MESSAGE"
}
|
{
type
:
"CREATE_NEW_CHAT"
}
|
{
session
:
ChatListItem
;
type
:
"NEW_CHAT_CREATED"
}
|
{
sessionId
:
string
;
type
:
"LOAD_SESSION"
}
|
{
sessionId
:
string
;
type
:
"DELETE_SESSION"
}
|
{
sessionId
:
string
;
type
:
"SWITCH_SESSION"
}
|
{
sessions
:
ChatListItem
[]
;
type
:
"UPDATE_SESSIONS"
}
|
{
prompt
:
string
;
type
:
"CREATE_TIMELINE_FROM_PROMPT"
}
|
{
query
:
string
;
type
:
"ANALYZE_RESOURCES"
}
|
{
command
:
string
;
params
?:
any
;
type
:
"EXECUTE_AI_COMMAND"
}
|
{
result
:
any
;
type
:
"TIMELINE_OPERATION_SUCCESS"
}
|
{
error
:
string
;
type
:
"TIMELINE_OPERATION_ERROR"
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Timeline Studio API Documentation - v0.26.0
Loading...