Skip to content

ChatEventStream module-attribute

ChatEventStream: TypeAlias = AnyIterator[_ChatEventStream]

_ChatEventStream module-attribute

ChatEventStreamChunkMember

Source code in docs_src/capo_assurance/types/chat_event_stream.py
class ChatEventStreamChunkMember(TypedDict, closed=True):
    chunk: "capo_assurance.types.chat_chunk_event.ChatChunkEvent"

chunk instance-attribute

ChatEventStreamToolCallMember

Source code in docs_src/capo_assurance/types/chat_event_stream.py
class ChatEventStreamToolCallMember(TypedDict, closed=True):
    toolCall: "capo_assurance.types.chat_tool_call_event.ChatToolCallEvent"

toolCall instance-attribute

ChatEventStreamResponseMember

Source code in docs_src/capo_assurance/types/chat_event_stream.py
class ChatEventStreamResponseMember(TypedDict, closed=True):
    response: "capo_assurance.types.chat_response_event.ChatResponseEvent"

response instance-attribute

ChatEventStreamErrorMember

Source code in docs_src/capo_assurance/types/chat_event_stream.py
class ChatEventStreamErrorMember(TypedDict, closed=True):
    error: "capo_assurance.types.chat_error_event.ChatErrorEvent"

error instance-attribute