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

Parameters

class Parameters(BaseModel)
源码Source agentscope/asr/_openai/_model.py:17–27

参数,处理低延迟的实时语音与多模态交互。位于 agentscope.asr 包。

Options supported by OpenAI transcription models. Declared in agentscope.asr.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
languagestr | None
`language` 字段。
Field(default=None, description='Optional ISO-639-1 language code for the audio.')
promptstr | None
提示词字段。
Field(default=None, description='Optional transcription guidance.')

属性详情Attribute Detail

language

str | None = Field(default=None, description='Optional ISO-639-1 language code for the audio.')

language 字段。声明为 str | None。

Optional ISO-639-1 language code for the audio.

源码Source agentscope/asr/_openai/_model.py:20

prompt

str | None = Field(default=None, description='Optional transcription guidance.')

提示词字段。声明为 str | None。

Optional transcription guidance.

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