Skip to content

ChatOutput

Source code in docs_src/capo_assurance/types/chat_output.py
class ChatOutput(TypedDict, closed=True):
    event_stream: "capo_assurance.types.chat_event_stream.ChatEventStream"
    """<p>The stream of chat events returned by the agent.</p>"""
    session_id: "capo_assurance.types.chat_session_id.ChatSessionId"
    """<p>The ID of the session. If you omitted <code>sessionId</code> in the request, use this value to continue the session in subsequent calls.</p>"""
    sequence_number: "capo_assurance.types.chat_sequence_number.ChatSequenceNumber"
    """<p>The updated sequence number for this session. Pass this value as <code>expectedSequenceNumber</code> on your next call.</p>"""

event_stream instance-attribute

event_stream: ChatEventStream

The stream of chat events returned by the agent.

sequence_number instance-attribute

sequence_number: ChatSequenceNumber

The updated sequence number for this session. Pass this value as expectedSequenceNumber on your next call.

session_id instance-attribute

session_id: ChatSessionId

The ID of the session. If you omitted sessionId in the request, use this value to continue the session in subsequent calls.