We always request summarize=v2&topics=true (js/hyperaudio-lite-editor-deepgram.js:329), but both features are English only. Deepgram returns an unsupported_language warning — "Topics is only supported for English." — and our extractors simply yield an empty string and an empty array. The user sees an empty summary and no topics with no indication why, and texts.summary / texts.topics are saved empty into the container.
Summarization has a second silent condition: it needs more than 50 words. Below that it returns the original text rather than a summary, and isn't billed.
Nothing here is broken as such — the transcript is unaffected — but "empty and unexplained" is the wrong answer for a feature the format advertises. Options, roughly in order of effort: don't request them when the language isn't English; surface the returned warning where the empty fields appear; or use AssemblyAI's iab_categories for topics in those languages, which covers nine (see the companion issue).
Worth knowing for later: Deepgram supports up to 100 custom topics via custom_topic, in strict or extended mode — a real hook if project- or host-supplied vocabularies ever become interesting.
We always request
summarize=v2&topics=true(js/hyperaudio-lite-editor-deepgram.js:329), but both features are English only. Deepgram returns anunsupported_languagewarning — "Topics is only supported for English." — and our extractors simply yield an empty string and an empty array. The user sees an empty summary and no topics with no indication why, andtexts.summary/texts.topicsare saved empty into the container.Summarization has a second silent condition: it needs more than 50 words. Below that it returns the original text rather than a summary, and isn't billed.
Nothing here is broken as such — the transcript is unaffected — but "empty and unexplained" is the wrong answer for a feature the format advertises. Options, roughly in order of effort: don't request them when the language isn't English; surface the returned warning where the empty fields appear; or use AssemblyAI's
iab_categoriesfor topics in those languages, which covers nine (see the companion issue).Worth knowing for later: Deepgram supports up to 100 custom topics via
custom_topic, instrictorextendedmode — a real hook if project- or host-supplied vocabularies ever become interesting.