Remove 'Apply LLMs' guide and add speech_models param to guides 5-30, 32-34#834
Open
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
Open
Remove 'Apply LLMs' guide and add speech_models param to guides 5-30, 32-34#834devin-ai-integration[bot] wants to merge 3 commits intomainfrom
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
Conversation
… section Co-Authored-By: michelle <michey.asmah21@gmail.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Add speech_models=["universal-3-pro", "universal-2"] to all transcription code examples across 23 guide files, adjusting format per language/SDK: - Python SDK: Added to TranscriptionConfig or as config param to transcribe() - JavaScript SDK: Added to transcribe() options object - REST API: Added to JSON request payload Skipped guides that already had the parameter (16, 19), guides with no transcription creation code (13, 17, 26), and guide 31 (no code). Co-Authored-By: michelle <michey.asmah21@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two changes in this PR:
Remove "Apply LLMs to pre-recorded audio" guide from the Pre-recorded STT → Guides sidebar in
fern/docs.yml. The underlying page (pages/lemur/apply-llms-to-audio-files.mdx) is not deleted — it remains accessible via the LLM Gateway tab at/docs/llm-gateway/apply-llms-to-audio-files.Add the now-required
speech_modelsparameter to all transcription code examples across 23 guide files (guides 5–30 and 32–34), with format adjusted per language/SDK:speech_models=["universal-3-pro", "universal-2"]added toTranscriptionConfigor passed asconfigtotranscriber.transcribe()speech_models: ["universal-3-pro", "universal-2"]added toclient.transcripts.transcribe()options object"speech_models": ["universal-3-pro", "universal-2"]added to JSON payloadGuides intentionally skipped (no changes needed):
speech_modelsspeech_modelsReview & Testing Checklist for Human
transcribing-github-files.mdx— the example was changed from positional stringtranscribe("url")to object formtranscribe({ audio_url: "url", speech_models: [...] })to accommodate the new param. Confirm this matches the JS SDK's API.speech_modelsadded/docs/guides/apply-llms-to-audio-filesdoesn't 404 after deployment — a redirect may be needed if external links point to the old pathNotes
docs.yml(e.g./docs/getting-started/apply-llms-to-audio-files→/docs/llm-gateway/apply-llms-to-audio-files), but none specifically for/docs/guides/apply-llms-to-audio-files. Consider adding one if that URL has been shared externally.batch_transcription.mdx, the quickstart definesconfigat module scope while the step-by-step section defines it inside the function — this mirrors the existing pattern fortranscriberin the original code.Link to Devin session: https://app.devin.ai/sessions/a9dc0352c32a4ba4ab2fe32704332411
Requested by: @MAsuamah