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

SpeechEndedEvent

class SpeechEndedEvent(ModelEvent)
源码Source agentscope/realtime/_events.py:30–34

语音 Ended 事件,描述执行过程中的事件。位于 agentscope.realtime 包,继承自 ModelEvent。

The provider's own VAD detected the user stopping. Declared in agentscope.realtime. Extends ModelEvent.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
item_idstr
条目标识字段。
''
at_msint
at ms字段。
0

属性详情Attribute Detail

item_id

str = ''

条目标识字段。声明为 str。

The item id field.

源码Source agentscope/realtime/_events.py:33

at_ms

int = 0

at ms字段。声明为 int。

The at ms field.

源码Source agentscope/realtime/_events.py:34
基于官方固定版本源码静态生成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.