Skip to content

fix: AmiVoice API記事を公式仕様に沿って訂正 - #52

Merged
long-910 merged 4 commits into
mainfrom
fix/amivoice-api-corrections
Aug 23, 2026
Merged

fix: AmiVoice API記事を公式仕様に沿って訂正#52
long-910 merged 4 commits into
mainfrom
fix/amivoice-api-corrections

Conversation

@long-910

Copy link
Copy Markdown
Owner

概要

AmiVoice API × Claude API 記事 に対し、公式アカウント(AmiVoice API / AmiVoice SDK)からコメントで5点の訂正依頼をいただきました。すべて公式ドキュメントで裏取りしたうえで修正しています。

修正内容

# 指摘 修正
1 医療向けエンジン -a-medgeneral は存在しない -a-medical(会議向け)/ -a-medical-input(口述入力向け)に変更
2 コールセンター向け -a-callcenter は存在しない 実在する接続エンジン(-a-bizinsurance 等)に変更+公式エンジン一覧へのリンク追加
3 話者ラベルのフィールドは speakerId ではなく label(値は speaker0/speaker1 label に修正
4 diarizationMinSpeaker/diarizationMaxSpeaker は非同期HTTP専用 WebSocket/同期HTTPでは segmenterProperties 内の diarizerAlpha/diarizerTransitionBias を使う形に修正し、非同期HTTP専用である旨を明記
5 ユーザー辞書APIのエンドポイント/メソッド/ボディが誤り POST https://acp-api.amivoice.com/profilewords/{接続エンジン名}/{profile_id}、ボディキーを wordsprofilewordsclassclassname に修正

裏取りに使った公式ドキュメント

公式(AmiVoice API)からの指摘に基づき以下を修正:

- エンジン名を実在する接続エンジン名に修正
  (-a-medgeneral/-a-callcenter は提供されていないため
   -a-medical/-a-medical-input/-a-bizinsurance 等に変更)
- 話者分離パラメータをWebSocket仕様に修正
  (diarizationMin/MaxSpeaker は非同期HTTP専用のため
   segmenterProperties内の diarizerAlpha/diarizerTransitionBias に変更)
- 話者ラベルのフィールド名を speakerId から label に修正 (値は speaker0/speaker1 形式)
- ユーザー辞書APIのエンドポイント/メソッド/ボディを公式仕様に修正
  (POST /profilewords/{engine}/{profile_id}、キーは profilewords、class→classname)
- コールセンター等の電話音質(8kHz)は汎用 -a-general で扱える旨を補足
- 参考リンクの話者ダイアライゼーション(404)を有効URLへ差し替え、認識結果フォーマット/リクエストパラメータ/ユーザー辞書のリンクを追加
@long-910
long-910 merged commit 2980d6a into main Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant