类class
agentscope.eventDataBlockStartEvent
class DataBlockStartEvent(EventBase)
源码Source
agentscope/event/_event.py:197–209数据块启动事件,描述执行过程中的事件。位于 agentscope.event 包,继承自 EventBase。
Data block start event. Declared in agentscope.event. Extends EventBase.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
type | Literal[EventType.DATA_BLOCK_START] | 类型字段。 | EventType.DATA_BLOCK_START |
reply_id | str | 回复标识字段。 | — |
block_id | str | 块标识字段。 | — |
media_type | str | `media_type` 字段。 | — |
name | str | None | 名称字段。 | None |
属性详情Attribute Detail
type
Literal[EventType.DATA_BLOCK_START] = EventType.DATA_BLOCK_START类型字段。声明为 Literal[EventType.DATA_BLOCK_START]。
The type field.
源码Source
agentscope/event/_event.py:200reply_id
str回复标识字段。声明为 str。
The reply id field.
源码Source
agentscope/event/_event.py:202block_id
str块标识字段。声明为 str。
The block id field.
源码Source
agentscope/event/_event.py:204media_type
strmedia_type 字段。声明为 str。
The media type field.
源码Source
agentscope/event/_event.py:206name
str | None = None名称字段。声明为 str | None。
The name field.
源码Source
agentscope/event/_event.py:208