volcengine-audio 0.2.6__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/.github/workflows/tests.yml +1 -1
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/CHANGELOG.md +12 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/PKG-INFO +27 -12
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/README.md +20 -9
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/README.zh-CN.md +17 -8
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc/seeduplex-schema-audit.md +21 -8
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc_sync/volcengine/1257544-tts_voice_list.md +352 -302
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc_sync/volcengine/1594356-realtime_dialogue.md +6 -7
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc_sync/volcengine/2549732-seeduplex_integration.md +24 -3
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc_sync/volcengine/2549778-seeduplex_realtime.md +9 -5
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc_sync/volcengine/manifest.json +11 -11
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/pyproject.toml +7 -3
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/src/volcengine_audio/__init__.py +1 -1
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/src/volcengine_audio/realtime.py +3 -3
- volcengine_audio-0.3.0/tests/test_doc_sync.py +340 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/tests/test_realtime.py +28 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/tests/test_seeduplex.py +20 -2
- volcengine_audio-0.3.0/uv.lock +617 -0
- volcengine_audio-0.2.6/tests/test_doc_sync.py +0 -129
- volcengine_audio-0.2.6/uv.lock +0 -352
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/.agents/skills/volcengine-audio-doc-sync/SKILL.md +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/.agents/skills/volcengine-audio-doc-sync/agents/openai.yaml +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/.gitignore +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/AGENTS.md +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc_sync/volcengine/1329505-tts_websocket_bidirectional_v3.md +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc_sync/volcengine/1354869-stt_streaming_bigmodel.md +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc_sync/volcengine/1598757-tts_http_chunked_sse_v3.md +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/doc_sync/volcengine/1719100-tts_websocket_unidirectional_v3.md +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/scripts/sync_volcengine_docs.py +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/src/volcengine_audio/protocol.py +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/src/volcengine_audio/stt.py +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/src/volcengine_audio/tts.py +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/tests/test_stt.py +0 -0
- {volcengine_audio-0.2.6 → volcengine_audio-0.3.0}/tests/test_tts.py +0 -0
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0 — 2026-10-26
|
|
4
|
+
|
|
5
|
+
- Refresh all eight upstream documentation snapshots as of 2026-10-26,
|
|
6
|
+
including multilingual voice capabilities and the native 64K-token context.
|
|
7
|
+
- Accept native Seeduplex `pcm_s16le` output and clarify that `pcm` output
|
|
8
|
+
is 32-bit PCM. Input `pcm` remains 16-bit PCM.
|
|
9
|
+
- Default legacy realtime web search to the currently documented `web` mode.
|
|
10
|
+
Explicit legacy `web_summary` values remain accepted for existing callers.
|
|
11
|
+
- Declare Python 3.14 and 3.15 support and test Python 3.11 through 3.15 in CI.
|
|
12
|
+
Require orjson 3.12+ and Pydantic 2.14+ on Python 3.15 and newer without
|
|
13
|
+
changing dependency minimums on older Python versions.
|
|
14
|
+
|
|
3
15
|
## 0.2.6 — 2026-09-13
|
|
4
16
|
|
|
5
17
|
- Add native Seeduplex JSON models for sessions, audio, speech, context,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: volcengine-audio
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Python SDK for Volcengine Audio Services (TTS, STT, and Realtime Dialogue)
|
|
5
5
|
Project-URL: Homepage, https://github.com/aiyou178/volcengine-audio
|
|
6
6
|
Project-URL: Issues, https://github.com/aiyou178/volcengine-audio/issues
|
|
@@ -15,11 +15,15 @@ Classifier: Programming Language :: Python :: 3
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
20
|
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
|
19
21
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
22
|
Requires-Python: >=3.11
|
|
21
|
-
Requires-Dist: orjson
|
|
22
|
-
Requires-Dist:
|
|
23
|
+
Requires-Dist: orjson; python_version < '3.15'
|
|
24
|
+
Requires-Dist: orjson>=3.12.0; python_version >= '3.15'
|
|
25
|
+
Requires-Dist: pydantic<3.0,>=2.0; python_version < '3.15'
|
|
26
|
+
Requires-Dist: pydantic<3.0,>=2.14.0; python_version >= '3.15'
|
|
23
27
|
Provides-Extra: dev
|
|
24
28
|
Requires-Dist: pytest-asyncio>=1.4.0; extra == 'dev'
|
|
25
29
|
Requires-Dist: pytest-randomly>=3.16.0; extra == 'dev'
|
|
@@ -43,9 +47,16 @@ Python SDK for Volcengine (ByteDance) Audio Services, providing comprehensive su
|
|
|
43
47
|
|
|
44
48
|
## Documentation
|
|
45
49
|
|
|
46
|
-
Documentation checked: `2026-
|
|
50
|
+
Documentation checked: `2026-10-26`.
|
|
47
51
|
|
|
48
|
-
|
|
52
|
+
The latest sync adds native Seeduplex `pcm_s16le` output, corrects `pcm` output
|
|
53
|
+
to 32-bit PCM, and uses `web` as the legacy realtime search default. Native
|
|
54
|
+
instructions, internal prompts, conversation history and function-call results
|
|
55
|
+
share a 64K-token context limit. The voice snapshot includes current multilingual
|
|
56
|
+
voices; TTS language detection is available through
|
|
57
|
+
`TTSReqParams.Additions.enable_language_detector`.
|
|
58
|
+
|
|
59
|
+
Version 0.3.0 includes native Seeduplex session, audio, speech, context and tool-call
|
|
49
60
|
schemas. See the [release notes](CHANGELOG.md) and
|
|
50
61
|
[schema coverage](doc/seeduplex-schema-audit.md) for details and documented
|
|
51
62
|
protocol ambiguities. Authentication, WebSocket transport and tool execution
|
|
@@ -53,18 +64,19 @@ remain the caller's responsibility.
|
|
|
53
64
|
|
|
54
65
|
### Current Tracked Sources
|
|
55
66
|
|
|
56
|
-
- Native Seeduplex API: `2026-
|
|
57
|
-
- Native Seeduplex integration guide: `2026-
|
|
58
|
-
- Realtime dialogue: `2026-
|
|
67
|
+
- Native Seeduplex API: `2026-10-24T04:52:02Z` - <https://www.volcengine.com/docs/6561/2549778?lang=zh>
|
|
68
|
+
- Native Seeduplex integration guide: `2026-10-20T12:04:54Z` - <https://www.volcengine.com/docs/6561/2549732?lang=zh>
|
|
69
|
+
- Realtime dialogue: `2026-09-28T06:55:02Z` - <https://www.volcengine.com/docs/6561/1594356?lang=zh>
|
|
59
70
|
- TTS WebSocket bidirectional V3: `2026-05-25T08:51:30Z` - <https://www.volcengine.com/docs/6561/1329505?lang=zh>
|
|
60
71
|
- TTS WebSocket unidirectional V3: `2026-05-25T08:49:18Z` - <https://www.volcengine.com/docs/6561/1719100?lang=zh>
|
|
61
72
|
- TTS HTTP Chunked/SSE V3: `2026-05-25T09:03:36Z` - <https://www.volcengine.com/docs/6561/1598757?lang=zh>
|
|
62
73
|
- STT streaming bigmodel: `2026-08-06T09:40:25Z` - <https://www.volcengine.com/docs/6561/1354869?lang=zh>
|
|
63
|
-
- TTS voice list: `2026-
|
|
74
|
+
- TTS voice list: `2026-10-13T08:17:11Z` - <https://www.volcengine.com/docs/6561/1257544?lang=zh>
|
|
64
75
|
|
|
65
76
|
## Installation
|
|
66
77
|
|
|
67
|
-
Requires Python 3.11 or newer.
|
|
78
|
+
Requires Python 3.11 or newer. CI covers Python 3.11 through 3.15. On Python
|
|
79
|
+
3.15+, installation requires orjson 3.12+ and Pydantic 2.14+.
|
|
68
80
|
|
|
69
81
|
### Install from PyPI
|
|
70
82
|
|
|
@@ -107,7 +119,7 @@ request_frame = encode_seeduplex_request({
|
|
|
107
119
|
'instructions': 'Answer briefly.',
|
|
108
120
|
'audio': {
|
|
109
121
|
'input': {'format': {'type': 'pcm', 'rate': 16000}},
|
|
110
|
-
'output': {'format': {'type': '
|
|
122
|
+
'output': {'format': {'type': 'pcm_s16le', 'rate': 24000}},
|
|
111
123
|
},
|
|
112
124
|
'tools': [],
|
|
113
125
|
},
|
|
@@ -127,6 +139,9 @@ Tool results use `conversation.item.create` with `role: "tool"`, the original
|
|
|
127
139
|
`call_id` and `content: [{"type": "input_text", "text": completed_result}]`.
|
|
128
140
|
Aggregate every result in the received batch before returning it.
|
|
129
141
|
|
|
142
|
+
For output, `pcm_s16le` selects 16-bit PCM, `pcm` selects 32-bit PCM, and
|
|
143
|
+
`ogg_opus` selects Ogg Opus. All native output formats use 24 kHz.
|
|
144
|
+
|
|
130
145
|
### Speech-to-Text (STT)
|
|
131
146
|
|
|
132
147
|
```python
|
|
@@ -603,7 +618,7 @@ config = RealtimeDialogueConfig(
|
|
|
603
618
|
dialog=RealtimeDialogueConfig.DialogConfig(
|
|
604
619
|
extra=RealtimeDialogueConfig.DialogConfig.Extra(
|
|
605
620
|
enable_volc_websearch=True,
|
|
606
|
-
volc_websearch_type="
|
|
621
|
+
volc_websearch_type="web",
|
|
607
622
|
volc_websearch_api_key="your-api-key",
|
|
608
623
|
volc_websearch_result_count=5,
|
|
609
624
|
),
|
|
@@ -14,9 +14,16 @@ Python SDK for Volcengine (ByteDance) Audio Services, providing comprehensive su
|
|
|
14
14
|
|
|
15
15
|
## Documentation
|
|
16
16
|
|
|
17
|
-
Documentation checked: `2026-
|
|
17
|
+
Documentation checked: `2026-10-26`.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
The latest sync adds native Seeduplex `pcm_s16le` output, corrects `pcm` output
|
|
20
|
+
to 32-bit PCM, and uses `web` as the legacy realtime search default. Native
|
|
21
|
+
instructions, internal prompts, conversation history and function-call results
|
|
22
|
+
share a 64K-token context limit. The voice snapshot includes current multilingual
|
|
23
|
+
voices; TTS language detection is available through
|
|
24
|
+
`TTSReqParams.Additions.enable_language_detector`.
|
|
25
|
+
|
|
26
|
+
Version 0.3.0 includes native Seeduplex session, audio, speech, context and tool-call
|
|
20
27
|
schemas. See the [release notes](CHANGELOG.md) and
|
|
21
28
|
[schema coverage](doc/seeduplex-schema-audit.md) for details and documented
|
|
22
29
|
protocol ambiguities. Authentication, WebSocket transport and tool execution
|
|
@@ -24,18 +31,19 @@ remain the caller's responsibility.
|
|
|
24
31
|
|
|
25
32
|
### Current Tracked Sources
|
|
26
33
|
|
|
27
|
-
- Native Seeduplex API: `2026-
|
|
28
|
-
- Native Seeduplex integration guide: `2026-
|
|
29
|
-
- Realtime dialogue: `2026-
|
|
34
|
+
- Native Seeduplex API: `2026-10-24T04:52:02Z` - <https://www.volcengine.com/docs/6561/2549778?lang=zh>
|
|
35
|
+
- Native Seeduplex integration guide: `2026-10-20T12:04:54Z` - <https://www.volcengine.com/docs/6561/2549732?lang=zh>
|
|
36
|
+
- Realtime dialogue: `2026-09-28T06:55:02Z` - <https://www.volcengine.com/docs/6561/1594356?lang=zh>
|
|
30
37
|
- TTS WebSocket bidirectional V3: `2026-05-25T08:51:30Z` - <https://www.volcengine.com/docs/6561/1329505?lang=zh>
|
|
31
38
|
- TTS WebSocket unidirectional V3: `2026-05-25T08:49:18Z` - <https://www.volcengine.com/docs/6561/1719100?lang=zh>
|
|
32
39
|
- TTS HTTP Chunked/SSE V3: `2026-05-25T09:03:36Z` - <https://www.volcengine.com/docs/6561/1598757?lang=zh>
|
|
33
40
|
- STT streaming bigmodel: `2026-08-06T09:40:25Z` - <https://www.volcengine.com/docs/6561/1354869?lang=zh>
|
|
34
|
-
- TTS voice list: `2026-
|
|
41
|
+
- TTS voice list: `2026-10-13T08:17:11Z` - <https://www.volcengine.com/docs/6561/1257544?lang=zh>
|
|
35
42
|
|
|
36
43
|
## Installation
|
|
37
44
|
|
|
38
|
-
Requires Python 3.11 or newer.
|
|
45
|
+
Requires Python 3.11 or newer. CI covers Python 3.11 through 3.15. On Python
|
|
46
|
+
3.15+, installation requires orjson 3.12+ and Pydantic 2.14+.
|
|
39
47
|
|
|
40
48
|
### Install from PyPI
|
|
41
49
|
|
|
@@ -78,7 +86,7 @@ request_frame = encode_seeduplex_request({
|
|
|
78
86
|
'instructions': 'Answer briefly.',
|
|
79
87
|
'audio': {
|
|
80
88
|
'input': {'format': {'type': 'pcm', 'rate': 16000}},
|
|
81
|
-
'output': {'format': {'type': '
|
|
89
|
+
'output': {'format': {'type': 'pcm_s16le', 'rate': 24000}},
|
|
82
90
|
},
|
|
83
91
|
'tools': [],
|
|
84
92
|
},
|
|
@@ -98,6 +106,9 @@ Tool results use `conversation.item.create` with `role: "tool"`, the original
|
|
|
98
106
|
`call_id` and `content: [{"type": "input_text", "text": completed_result}]`.
|
|
99
107
|
Aggregate every result in the received batch before returning it.
|
|
100
108
|
|
|
109
|
+
For output, `pcm_s16le` selects 16-bit PCM, `pcm` selects 32-bit PCM, and
|
|
110
|
+
`ogg_opus` selects Ogg Opus. All native output formats use 24 kHz.
|
|
111
|
+
|
|
101
112
|
### Speech-to-Text (STT)
|
|
102
113
|
|
|
103
114
|
```python
|
|
@@ -574,7 +585,7 @@ config = RealtimeDialogueConfig(
|
|
|
574
585
|
dialog=RealtimeDialogueConfig.DialogConfig(
|
|
575
586
|
extra=RealtimeDialogueConfig.DialogConfig.Extra(
|
|
576
587
|
enable_volc_websearch=True,
|
|
577
|
-
volc_websearch_type="
|
|
588
|
+
volc_websearch_type="web",
|
|
578
589
|
volc_websearch_api_key="your-api-key",
|
|
579
590
|
volc_websearch_result_count=5,
|
|
580
591
|
),
|
|
@@ -15,27 +15,34 @@
|
|
|
15
15
|
|
|
16
16
|
## 文档
|
|
17
17
|
|
|
18
|
-
文档核对日期:`2026-
|
|
18
|
+
文档核对日期:`2026-10-26`。
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
本次同步新增原生 Seeduplex 的 `pcm_s16le` 输出,将 `pcm` 输出说明修正为
|
|
21
|
+
32 位 PCM,并将旧版实时对话的默认联网模式改为 `web`。原生接口的系统提示词、
|
|
22
|
+
模型内部提示词、对话历史和工具调用结果共享 64K tokens 上下文上限。
|
|
23
|
+
音色快照已更新多语种能力;TTS 自动语种识别使用
|
|
24
|
+
`TTSReqParams.Additions.enable_language_detector`。
|
|
25
|
+
|
|
26
|
+
0.3.0 包含原生 Seeduplex 会话、音频、语音合成、上下文和工具调用模型。
|
|
21
27
|
功能变更与协议说明见[版本记录](CHANGELOG.md)和
|
|
22
28
|
[字段覆盖记录](doc/seeduplex-schema-audit.md)。鉴权、WebSocket 传输和工具执行
|
|
23
29
|
由调用方管理。
|
|
24
30
|
|
|
25
31
|
### 当前跟踪的上游文档
|
|
26
32
|
|
|
27
|
-
* 原生 Seeduplex API:`2026-
|
|
28
|
-
* 原生 Seeduplex 接入必读:`2026-
|
|
29
|
-
* 实时对话:`2026-
|
|
33
|
+
* 原生 Seeduplex API:`2026-10-24T04:52:02Z` - <https://www.volcengine.com/docs/6561/2549778?lang=zh>
|
|
34
|
+
* 原生 Seeduplex 接入必读:`2026-10-20T12:04:54Z` - <https://www.volcengine.com/docs/6561/2549732?lang=zh>
|
|
35
|
+
* 实时对话:`2026-09-28T06:55:02Z` - <https://www.volcengine.com/docs/6561/1594356?lang=zh>
|
|
30
36
|
* TTS WebSocket 双向流式 V3:`2026-05-25T08:51:30Z` - <https://www.volcengine.com/docs/6561/1329505?lang=zh>
|
|
31
37
|
* TTS WebSocket 单向流式 V3:`2026-05-25T08:49:18Z` - <https://www.volcengine.com/docs/6561/1719100?lang=zh>
|
|
32
38
|
* TTS HTTP Chunked/SSE V3:`2026-05-25T09:03:36Z` - <https://www.volcengine.com/docs/6561/1598757?lang=zh>
|
|
33
39
|
* STT 大模型流式识别:`2026-08-06T09:40:25Z` - <https://www.volcengine.com/docs/6561/1354869?lang=zh>
|
|
34
|
-
* TTS 音色列表:`2026-
|
|
40
|
+
* TTS 音色列表:`2026-10-13T08:17:11Z` - <https://www.volcengine.com/docs/6561/1257544?lang=zh>
|
|
35
41
|
|
|
36
42
|
## 安装
|
|
37
43
|
|
|
38
|
-
要求 Python 3.11
|
|
44
|
+
要求 Python 3.11 或更高版本,CI 覆盖 Python 3.11 至 3.15。
|
|
45
|
+
Python 3.15 及以上版本要求 orjson 3.12+ 和 Pydantic 2.14+。
|
|
39
46
|
|
|
40
47
|
### 从 PyPI 安装
|
|
41
48
|
|
|
@@ -78,7 +85,7 @@ request_frame = encode_seeduplex_request({
|
|
|
78
85
|
'instructions': '请简短回答。',
|
|
79
86
|
'audio': {
|
|
80
87
|
'input': {'format': {'type': 'pcm', 'rate': 16000}},
|
|
81
|
-
'output': {'format': {'type': '
|
|
88
|
+
'output': {'format': {'type': 'pcm_s16le', 'rate': 24000}},
|
|
82
89
|
},
|
|
83
90
|
'tools': [],
|
|
84
91
|
},
|
|
@@ -92,6 +99,8 @@ print(event.session.id)
|
|
|
92
99
|
```
|
|
93
100
|
|
|
94
101
|
编码器保留显式传入的字段,支持会话部分更新,以及通过 `tools: []` 清空工具。
|
|
102
|
+
输出格式中,`pcm_s16le` 为 16 位 PCM,`pcm` 为 32 位 PCM,`ogg_opus` 为
|
|
103
|
+
Ogg Opus;原生接口输出均为 24 kHz。
|
|
95
104
|
单声道 PCM16 输入按实时节奏发送 20 ms 分片(16 kHz 时每片 640 字节);
|
|
96
105
|
暂停或恢复输入时发送原生静音或取消静音事件。
|
|
97
106
|
工具结果通过 `conversation.item.create` 回传,条目携带 `role: "tool"`、原始
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
# Native Seeduplex schema audit — 2026-
|
|
1
|
+
# Native Seeduplex schema audit — 2026-10-26
|
|
2
2
|
|
|
3
3
|
Scope: reconcile the native JSON API, not replace the legacy binary realtime
|
|
4
4
|
protocol. Source metadata, timestamps and hashes are in
|
|
5
|
-
[`manifest.json`](../doc_sync/volcengine/manifest.json).
|
|
5
|
+
[`manifest.json`](../doc_sync/volcengine/manifest.json). Native sources are
|
|
6
6
|
the [API](https://www.volcengine.com/docs/6561/2549778?lang=zh) and
|
|
7
7
|
[integration guide](https://www.volcengine.com/docs/6561/2549732?lang=zh).
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
All eight sources were refreshed. Native output now documents `pcm_s16le`
|
|
9
|
+
alongside 32-bit `pcm`; instructions, internal prompts, history and tool-call
|
|
10
|
+
results share a 64K-token context. Legacy realtime search now defaults to `web`,
|
|
11
|
+
and the voice catalog documents expanded multilingual support, already modeled
|
|
12
|
+
by the TTS language-detection and explicit-language fields.
|
|
13
|
+
`realtime.py` owns models/helpers; `protocol.py` owns native event names
|
|
10
14
|
and endpoint constants. No OpenAI, LiveKit, HTTP client or application dependency
|
|
11
15
|
is introduced into this SDK.
|
|
12
16
|
|
|
@@ -15,7 +19,7 @@ is introduced into this SDK.
|
|
|
15
19
|
| Official surface | SDK mapping |
|
|
16
20
|
| --- | --- |
|
|
17
21
|
| Session create/update, restored ID, fixed model, instructions, audio, full tool replacement | `SeeduplexSessionRequest`, `SeeduplexSession`, `SeeduplexTool` |
|
|
18
|
-
| PCM/speech_opus 16 kHz input; PCM/
|
|
22
|
+
| PCM/speech_opus 16 kHz input; 32-bit PCM/int16 PCM/Ogg Opus 24 kHz output; open voice IDs, speed/loudness -50..100 | `SeeduplexAudio`, input/output format models |
|
|
19
23
|
| ASR twopass, hotword/regex table IDs and names, inline hotwords/corrections | `SeeduplexExtension.asr`, reused typed StartSession fields |
|
|
20
24
|
| Location, QA/timestamps, audit, search, music, loudness normalization, exit intent | `SeeduplexExtension.Dialog`; native search types custom/global override legacy defaults |
|
|
21
25
|
| Parenthesis filtering, eight dialects, five AIGC metadata fields | `SeeduplexExtension.TTS`; native parenthesis field added |
|
|
@@ -49,9 +53,10 @@ request types.
|
|
|
49
53
|
AIGC metadata, ASR `context`); their child fields, concrete examples and the
|
|
50
54
|
guide's StartSession compatibility rule specify structured objects. Hotword
|
|
51
55
|
prose says `words`, while the example and existing SDK use `word`.
|
|
52
|
-
- The guide
|
|
53
|
-
|
|
54
|
-
native `pcm` is
|
|
56
|
+
- The guide now specifies output configuration through `session.audio.output`.
|
|
57
|
+
The existing typed StartSession-compatible extension remains available, but
|
|
58
|
+
examples use native `session.audio`. Native output `pcm` is 32-bit;
|
|
59
|
+
`pcm_s16le` is int16. Input `pcm` remains int16.
|
|
55
60
|
- Native usage counters are unspecified. Do not invent OpenAI counters or claim
|
|
56
61
|
the legacy binary usage shape is a documented native contract.
|
|
57
62
|
- `2534847` is explicitly an old-console authentication reference, not a native
|
|
@@ -59,6 +64,14 @@ request types.
|
|
|
59
64
|
this SDK models only the native search configuration. No credential/console
|
|
60
65
|
documentation expansion was needed. The already tracked voice page covers
|
|
61
66
|
voices; speaker IDs stay open for clones and future voices.
|
|
67
|
+
- Linked pages `1206007`/`155739` cover console-managed replacement/hotword
|
|
68
|
+
tables; `1871062` shows console speech-instruction and context examples;
|
|
69
|
+
`196768`/`2119699` cover console onboarding. None adds SDK fields beyond
|
|
70
|
+
the tracked API sources. The linked FAQ `1305191` currently returns no
|
|
71
|
+
`Result` from getDocDetail and remains recorded as untracked. The new named
|
|
72
|
+
`/docs/DoubaoVoice/access-mustread` link requires JavaScript and is not
|
|
73
|
+
resolved by the numeric document-ID fetcher; the tracked integration guide
|
|
74
|
+
continues to provide the audio constraints used here.
|
|
62
75
|
- Official Go/Python/Web demo ZIPs and diagrams are linked in the snapshot.
|
|
63
76
|
They are supplemental examples on volccdn, not silently imported as schema
|
|
64
77
|
authority or executed. The documented API examples supply the tested payloads.
|