assemblyai-node-sdk icon indicating copy to clipboard operation
assemblyai-node-sdk copied to clipboard

Allow 'conversational' summary_type with multichannel audio without requiring speaker_labels

Open EnriqueRuvalcaba opened this issue 1 year ago • 1 comments

Allow 'conversational' summary_type with multichannel audio without requiring speaker_labels

Description

The 'conversational' summary type currently requires either speaker_labels or dual_channel to be enabled. However, multichannel is the recommended approach for handling multi-speaker audio, as dual_channel is deprecated.

Current Behavior

{
  multichannel: true,
  summary_type: 'conversational'
  // other options...
}

Throws error: "speaker_labels or dual_channel must be enabled for 'conversational' summaries"

Proposed Change

Update the validation logic to accept multichannel: true as a valid configuration for conversational summaries, since it provides the same speaker separation functionality as the deprecated dual_channel option.

EnriqueRuvalcaba avatar Dec 15 '24 20:12 EnriqueRuvalcaba

Thank you for letting us know! You're right that dual_channel is deprecated and should no longer be required.

marcusolsson avatar Jan 07 '25 10:01 marcusolsson