fix: AmiVoice API記事を公式仕様に沿って訂正 - #52
Merged
Merged
Conversation
公式(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へ差し替え、認識結果フォーマット/リクエストパラメータ/ユーザー辞書のリンクを追加
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
AmiVoice API × Claude API 記事 に対し、公式アカウント(AmiVoice API / AmiVoice SDK)からコメントで5点の訂正依頼をいただきました。すべて公式ドキュメントで裏取りしたうえで修正しています。
修正内容
-a-medgeneralは存在しない-a-medical(会議向け)/-a-medical-input(口述入力向け)に変更-a-callcenterは存在しない-a-bizinsurance等)に変更+公式エンジン一覧へのリンク追加speakerIdではなくlabel(値はspeaker0/speaker1)labelに修正diarizationMinSpeaker/diarizationMaxSpeakerは非同期HTTP専用segmenterProperties内のdiarizerAlpha/diarizerTransitionBiasを使う形に修正し、非同期HTTP専用である旨を明記POST https://acp-api.amivoice.com/profilewords/{接続エンジン名}/{profile_id}、ボディキーをwords→profilewords、class→classnameに修正裏取りに使った公式ドキュメント