类class
agentscope.realtimeSpeechTransition
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:11ENDED
= 'ended'ENDED字段。
The ENDED field.
源码Source
agentscope/realtime/_vad.py:12