AS AgentScopeAPI 手册 / API Reference
类class agentscope.realtime

ControlFrame

class ControlFrame(BaseModel)
源码Source agentscope/realtime/_transport/_base.py:38–42

Control Frame,处理低延迟的实时语音与多模态交互。位于 agentscope.realtime 包。

One upstream control event. Declared in agentscope.realtime.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
typeControlFrameType
类型字段。
—
datadict
数据字段。
{}

属性详情Attribute Detail

type

ControlFrameType

类型字段。声明为 ControlFrameType。

The type field.

源码Source agentscope/realtime/_transport/_base.py:41

data

dict = {}

数据字段。声明为 dict。

The data field.

源码Source agentscope/realtime/_transport/_base.py:42
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.