类class
agentscope.ttsParameters
class Parameters(BaseModel)
源码Source
agentscope/tts/_dashscope/_cosyvoice_model.py:33–45参数,处理低延迟的实时语音与多模态交互。位于 agentscope.tts 包。
Frontend-exposed parameters for DashScope CosyVoice TTS models. Declared in agentscope.tts.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
voice | str | 语音字段。 | Field(default='longanhuan', title='Voice', description='The voice to use for synthesis.') |
realtime | bool | 判断是否到启用流式输入模式。 | Field(default=False, title='Realtime', description='Whether to enable streaming input mode.') |
属性详情Attribute Detail
voice
str = Field(default='longanhuan', title='Voice', description='The voice to use for synthesis.')语音字段。声明为 str。
The voice to use for synthesis.
源码Source
agentscope/tts/_dashscope/_cosyvoice_model.py:36realtime
bool = Field(default=False, title='Realtime', description='Whether to enable streaming input mode.')判断是否到启用流式输入模式。
Whether to enable streaming input mode.
源码Source
agentscope/tts/_dashscope/_cosyvoice_model.py:41