Logo Router Stt

Router Stt

Tổ chứcPhổ biến
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.

Tổng quan

Nhà phát hànhGetStream
Kho mãAgents
Tên kỹ năngrouter-stt
Sao
8.2K
Bản fork
709
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được GetStream công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Router Stt trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/router-stt
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Router Stt trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Router Stt ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Router Stt với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Router Stt làm được gì?

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.

Vì sao nên dùng Router Stt trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Router Stt là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Router Stt trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/GetStream/Agents/tree/main/.claude/skills/router-stt. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Router Stt?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Router Stt với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Router Stt với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Router Stt có miễn phí không?

Có. Kỹ năng này được GetStream phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇