Completion chunk event CompletionChunkEvent Bases: BaseEvent Source code in griptape/griptape/events/completion_chunk_event.py 6 7 8 9 10 11 12 13@define class CompletionChunkEvent(BaseEvent): token: str = field(kw_only=True) def to_dict(self): from griptape.schemas import CompletionChunkEventSchema return dict(CompletionChunkEventSchema().dump(self)) token: str = field(kw_only=True) class-attribute instance-attribute to_dict() Source code in griptape/griptape/events/completion_chunk_event.py 10 11 12 13def to_dict(self): from griptape.schemas import CompletionChunkEventSchema return dict(CompletionChunkEventSchema().dump(self))