Adding PhraseDetection mode Conversation for ConversationTranscriber
This commit is contained in:
Родитель
a34b15714f
Коммит
b4274485a4
|
@ -49,6 +49,7 @@ export class ConversationTranscriptionServiceRecognizer extends ServiceRecognize
|
|||
protected setSpeakerDiarizationJson(): void {
|
||||
if (this.privEnableSpeakerId) {
|
||||
const phraseDetection = this.privSpeechContext.getSection("phraseDetection") as PhraseDetection;
|
||||
phraseDetection.mode = "Conversation";
|
||||
const speakerDiarization: SpeakerDiarization = {};
|
||||
speakerDiarization.mode = "Anonymous";
|
||||
speakerDiarization.audioSessionId = this.privDiarizationSessionId;
|
||||
|
|
Загрузка…
Ссылка в новой задаче