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

SpeechTransition

class SpeechTransition(StrEnum)
源码Source agentscope/realtime/_vad.py:7–12

语音 Transition,处理低延迟的实时语音与多模态交互。位于 agentscope.realtime 包,继承自 StrEnum。

A transition in voice activity, as detected by a VAD. Declared in agentscope.realtime. Extends StrEnum.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
STARTED—
已启动字段。
'started'
ENDED—
ENDED字段。
'ended'

属性详情Attribute Detail

STARTED

 = 'started'

已启动字段。

The STARTED field.

源码Source agentscope/realtime/_vad.py:11

ENDED

 = 'ended'

ENDED字段。

The ENDED field.

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