شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها GetStream على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Router Stt في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/router-stt
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
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؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Router Stt معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Router Stt مجانية؟

نعم. نشرها GetStream على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇