Логотип Router Stt

Router Stt

ОрганізаціяПопулярне
GetStream
router-stt

What the STT router can be asked for, what each vendor calls it, and what it refuses to fake. Read before adding an STT option or an STT provider.

Огляд

ВидавецьGetStream
РепозиторійAgents
Назва навичкиrouter-stt
Зірки
8.2K
Форки
709
Файли в пакеті
Лише інструкції
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: GetStream. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Router Stt у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/router-stt
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/GetStream/Agents.git /tmp/Agents
mkdir -p .claude/skills
cp -r /tmp/Agents/.claude/skills/router-stt .claude/skills/router-stt
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Router Stt в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Router Stt, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Router Stt не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Routing speech to text

The per-modality half of router-interface. The vocabulary is options.STT; who can express what is declared per model in router.yaml.

Two paths, two sets of models. Live transcription is a socket at /v1/stt/stream and routes to the models marked realtime: true. A recording is a job at /v1/stt/recordings and routes to the ones marked realtime: false — the batch endpoints, which are both cheaper per hour and more accurate than the same vendor's streaming model, because they have the whole file in front of them. en-recorded and multilingual-recorded are the aliases for that half, and they require_recorded, so a recording is never streamed at a live model by accident. A recording sent to a live-only shortcut goes to the recorded one for the same languages (en-low-latency to en-recorded). One that names no language (stt-fast, stt-accurate) goes by the recording's language hints: none or all English, en-recorded; any other, multilingual-recorded. A recording pinned to a realtime: true model (deepgram/flux-general-en) is refused before any vendor is asked, naming the recorded shortcuts (ModalityConfig.Recorded). The other way round, a live session pinned to a realtime: false model (deepgram/nova-3), to a shortcut with only such candidates (en-recorded), or to a priority list holding only those, is refused before any vendor is dialled, naming the vendor's live models and the live shortcuts (ModalityConfig.Live). An agent checks its STT target once as it joins, so the session start is refused rather than every frame of the call. A voice agent config is checked as it is saved (liveSTTComplaint), unless it has an STS model, is a text agent, or keeps the stt it had stored. The socket closes with 1008, the code for a request that routing refuses.

The top five, and what each calls the same thing

OptionDeepgramAssemblyAIElevenLabs ScribeSpeechmaticsCartesia Ink
languageslanguagelanguage_codelanguage_codetranscription_config.languagelanguage
detect_languagedetect_languagelanguage_detectiondetected by defaultlanguage_identification—
interiminterim_resultspartials by defaultlive onlyenable_partialspartials by default
endpointing, silence_msendpointing, utterance_end_msend_of_turn_confidence_threshold—max_delaymax_silence_duration_secs
diarizediarizespeaker_labelsdiarizediarization: speaker—
max_speakers—speakers_expected (caps at 10)num_speakers (up to 32)speaker_diarization_config.max_speakers—
keytermskeyterm (batch), keyterms (Flux)keyterms_prompt, word_boost—additional_vocab—
formatsmart_format, punctuateformat_text, punctuateon by defaultpunctuation_overrides—
redactredactredact_pii + policies—transcript_filtering_config—
wordswords in the responsewords in the responsetimestamps_granularitywords in the response—
summary, entitiessummarize, detect_entitiessummarization, entity_detection—summarization—
channelsmultichannelmultichannel—diarization: channel—

Three things this table is really saying:

  • Everyone diarizes differently and only some can be told to stop. max_speakers is its own term, separate from diarize, because a provider that finds however many speakers it thought it heard is not serving a request that said "two people".
  • Endpointing is either a pause or a judgement. Deepgram and Speechmatics take milliseconds of silence; AssemblyAI's streaming model decides a turn is over from the words. endpointing names which, and silence_ms only means anything for the first kind.
  • Vocabulary is not universally supported. Deepgram, AssemblyAI and Speechmatics take term lists; Scribe and Ink do not. A call full of drug names has to be routed, not hoped for.

What the router refuses to fake

A request's options become Terms(), and routing only considers models whose supports: lists every term asked for. A term nothing can serve is a 400 naming it, not a transcript that quietly lacks it. That is the whole design: being told is better than being answered wrongly.

So supports: is a promise about the client code, not about the vendor's docs. Today deepgram/flux-general-* declares [keyterms, endpointing], the Gemini, Grok and Muse live models declare [keyterms], and deepgram/nova-3 — the recorded path — declares the batch list: language detection, diarization, words, formatting, redaction, summary, entities, keyterms and channels. Everything else declares nothing, which means it serves the requests that ask for nothing extra.

Adding a term to a model means sending it in that provider's package under internal/stt first, then declaring it. Declaring it to make routing succeed is the one thing this design exists to prevent.

max_speakers is where refusing earns its keep: AssemblyAI caps at 10 and Scribe at 32, so a request for 16 speakers is a different set of candidates than a request for 8.

Adding an option

  1. A field on options.STT, with Merge and, if it is optional behaviour, a Term and a line in Terms(). Pointers, so "say nothing" and "turn this off" stay different.
  2. The same field on SttOptions, on its Go struct in internal/api. Then run go run ./cmd/openapi and regenerate all three clients.
  3. Read it in each provider that can express it, and declare it in supports:.
  4. A test that a provider which cannot express it refuses rather than drops it.

Subtitles are the exception worth knowing: output: srt is not a term, because rendering lines out of words and timings is something the router does itself once it has the timings.

Поширені запитання

Що робить навичка ШІ Router Stt?

What the STT router can be asked for, what each vendor calls it, and what it refuses to fake. Read before adding an STT option or an STT provider.

Навіщо використовувати Router Stt у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Router Stt — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Router Stt у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/GetStream/Agents/tree/main/.claude/skills/router-stt. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Router Stt?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Router Stt?

Зі скількома забажаєте. У TypingMind ви можете використовувати Router Stt із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Router Stt?

Так. На GitHub цю навичку публікує GetStream за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇