类class
agentscope.realtimeControlFrame
class ControlFrame(BaseModel)
源码Source
agentscope/realtime/_transport/_base.py:38–42Control Frame,处理低延迟的实时语音与多模态交互。位于 agentscope.realtime 包。
One upstream control event. Declared in agentscope.realtime.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
type | ControlFrameType | 类型字段。 | — |
data | dict | 数据字段。 | {} |
属性详情Attribute Detail
type
ControlFrameType类型字段。声明为 ControlFrameType。
The type field.
源码Source
agentscope/realtime/_transport/_base.py:41data
dict = {}数据字段。声明为 dict。
The data field.
源码Source
agentscope/realtime/_transport/_base.py:42