ChatSessionStreamChunk
A chunk of a streaming chat response
Fields
The session ID this chunk belongs to
Partial text content received
Partial custom app content (for app dev context)
Whether this is the final chunk
The message ID (available in final chunk). In OPS, the stored id of the turn's last assistant message
OPS: a tool the assistant ran
OPS: a tool call proposed instead of run; the turn ends with it
OPS: a personal to-do the assistant suggests
OPS: an outcome the assistant suggests for the conversation's task
Referenced by (1)
Exact type SDL
"""A chunk of a streaming chat response"""
type ChatSessionStreamChunk {
"""The session ID this chunk belongs to"""
sessionId: ChatSessionID!
"""Partial text content received"""
content: String
"""Partial custom app content (for app dev context)"""
appContent: CustomAppContent
"""Whether this is the final chunk"""
isComplete: Boolean!
"""
The message ID (available in final chunk). In OPS, the stored id of the turn's last assistant message
"""
messageId: ChatMessageID
"""OPS: a tool the assistant ran"""
toolStep: ChatToolStep
"""OPS: a tool call proposed instead of run; the turn ends with it"""
toolProposal: ToolCallProposal
"""OPS: a personal to-do the assistant suggests"""
todoSuggestion: TodoSuggestion
"""OPS: an outcome the assistant suggests for the conversation's task"""
outcomeSuggestion: OutcomeSuggestion
}