AssemblyAI has a LangChain integration for both Python and JavaScript.
Learn more about our language-specific integrations:
Python
JavaScript
New to LangChain?
LangChain is an open-source framework for developing applications with Large Language Models (LLMs) and other AI technologies.
LangChain has a set of pre-built components that you can use to load data and apply LLMs to your data.
However, LLMs only operate on textual data and donβt understand speech in audio and video files.
To apply LLMs to speech, you first need to transcribe the audio to text, which is what the AssemblyAI integration helps you with.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"AssemblyAI","description":"AssemblyAI provides production-ready Voice AI models for speech-to-text, speaker detection, sentiment analysis, and more. Build with pre-recorded or streaming audio using REST APIs and WebSockets.","colors":{"primary":"#614fd2","light":"#887bdd","dark":"#614fd2"},"logo":{"light":"https://mintcdn.com/assemblyai-fff14a6f/vMuNaI_PbWUbVeV0/assets/assemblyai-lockup-primary.svg?fit=max\u0026auto=format\u0026n=vMuNaI_PbWUbVeV0\u0026q=85\u0026s=808d2a677e2536423045d44b3f330ac2","dark":"https://mintcdn.com/assemblyai-fff14a6f/vMuNaI_PbWUbVeV0/assets/assemblyai-lockup-secondary.svg?fit=max\u0026auto=format\u0026n=vMuNaI_PbWUbVeV0\u0026q=85\u0026s=065ec1618693f8650241242ec62ed0ad","href":"https://www.assemblyai.com"},"favicon":"https://mintcdn.com/assemblyai-fff14a6f/6OQYF4QMRVQRoCb1/assets/favicon.png?fit=max\u0026auto=format\u0026n=6OQYF4QMRVQRoCb1\u0026q=85\u0026s=74b6b6a7321938bd113d4a271e06068d","api":{"openapi":["openapi.yaml","api-reference/specs/llm-gateway.yaml","api-reference/specs/streaming-token.yaml"],"asyncapi":["api-reference/specs/streaming.yaml","api-reference/specs/streaming-tts.yaml"]},"background":{"color":{"light":"#fdfcf8","dark":"#1d1b16"}},"navbar":{"links":[{"href":"https://www.assemblyai.com/playground","label":"Playground"},{"href":"https://www.assemblyai.com/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Sign In","href":"https://www.assemblyai.com/dashboard/login"}},"footer":{"socials":{"x":"https://x.com/AssemblyAI","github":"https://github.com/AssemblyAI","linkedin":"https://www.linkedin.com/company/assemblyai"},"links":[{"header":"Legal","items":[{"label":"Terms of Service","href":"https://www.assemblyai.com/legal/terms-of-service"},{"label":"Privacy Policy","href":"https://www.assemblyai.com/legal/privacy-policy"},{"label":"Trust Center","href":"https://app.vanta.com/assemblyai/trust/7n80syl8zln1bn1qm3x8eg"},{"label":"Subprocessors","href":"https://app.vanta.com/assemblyai/trust/7n80syl8zln1bn1qm3x8eg/subprocessors"},{"label":"Do not sell my Personal Information","href":"#privacy-choices"}]}]},"seo":{"metatags":{"canonical":"https://www.assemblyai.com/docs"}},"fonts":{"heading":{"family":"GT Standard","weight":600,"source":"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Semibold.woff2","format":"woff2"},"body":{"family":"GT Standard","weight":400,"source":"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Regular.woff2","format":"woff2"}},"icons":{"library":"fontawesome"},"banner":{"content":"**New** AssemblyAI-TTS-1: Text-to-speech for voice agents. [Learn more](https://www.assemblyai.com/docs/tts/getting-started/quickstart)","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude","download-spec"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"assemblyai-fff14a6f","hasAudioNarration":false,"actualSubdomain":"assemblyai-fff14a6f","customDomains":["assemblyai.com"],"gitSource":{"type":"github","owner":"assemblyai","repo":"assemblyai-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afdf7669308bfb4d36f7cb3","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"Overview","count":119},{"language":"default","tag":"FAQ","count":96},{"language":"default","tag":"Pre-recorded STT","count":71},{"language":"default","tag":"Guides","count":60},{"language":"default","tag":"Real-time STT","count":50},{"language":"default","tag":"Tutorials","count":48},{"language":"default","tag":"Pre-recorded audio","count":47},{"language":"default","tag":"LLM Gateway","count":45},{"language":"default","tag":"Features","count":39},{"language":"default","tag":"API reference","count":35}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"attachments":{"status":"DISABLED"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"GT Standard\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Regular.woff2\")\n format(\"woff2\"),\n url(\"https://www.assemblyai.com/docs/assets/GT-Standard-M-Regular.woff2\")\n format(\"woff2\"),\n url(\"/assets/GT-Standard-M-Regular.woff2\") format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"GT Standard\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Medium.woff2\")\n format(\"woff2\"),\n url(\"https://www.assemblyai.com/docs/assets/GT-Standard-M-Medium.woff2\")\n format(\"woff2\"),\n url(\"/assets/GT-Standard-M-Medium.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"GT Standard\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/GT-Standard-M-Semibold.woff2\")\n format(\"woff2\"),\n url(\"https://www.assemblyai.com/docs/assets/GT-Standard-M-Semibold.woff2\")\n format(\"woff2\"),\n url(\"/assets/GT-Standard-M-Semibold.woff2\") format(\"woff2\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Modern Gothic Mono\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/ModernGothicMono-Light.woff2\")\n format(\"woff2\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:\"Modern Gothic Mono\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/ModernGothicMono-Regular.woff2\")\n format(\"woff2\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Modern Gothic Mono\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/ModernGothicMono-Medium.woff2\")\n format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Modern Gothic Mono\";src:url(\"https://www.assemblyai.com/_aai/fonts/rebrand/ModernGothicMono-Italic.woff2\")\n format(\"woff2\");font-weight:400;font-style:italic;font-display:swap}html:root{--font-family-body-custom: \"GT Standard\", -apple-system, BlinkMacSystemFont,\n \"Segoe UI\", sans-serif;--font-family-headings-custom: \"GT Standard\", -apple-system, BlinkMacSystemFont,\n \"Segoe UI\", sans-serif}code,kbd,samp,pre,pre code,pre code span{font-family:\"Modern Gothic Mono\", \"JetBrains Mono\", ui-monospace, SFMono-Regular,\n Menlo, Consolas, monospace!important}html{overflow-y:scroll;scrollbar-gutter:stable}pre,pre code,pre code span{font-size:0.75rem!important;line-height:1.5!important}:not(pre)>code{font-size:0.75rem!important;line-height:inherit!important}[data-nav-tag=\"WSS\"]{color:#614fd2!important;background-color:rgba(136, 123, 221, 0.14)!important;font-size:0.55rem!important}:is(.dark) [data-nav-tag=\"WSS\"]{color:#887bdd!important}div:has(>.nav-tag-pill>[data-nav-tag=\"WSS\"]){order:-1}.nav-tag-pill:has(>[data-nav-tag=\"WSS\"]){width:2.375rem;justify-content:flex-start}.ws-endpoint{display:flex;align-items:center;gap:0.625rem;margin:1rem 0 1.75rem;padding:0.5rem 0.75rem;border:1px solid rgba(0, 0, 0, 0.08);border-radius:0.5rem;background:rgba(0, 0, 0, 0.02);font-size:0.875rem;overflow-x:auto}:is(.dark) .ws-endpoint{border-color:rgba(255, 255, 255, 0.1);background:rgba(255, 255, 255, 0.03)}.ws-endpoint-badge{flex:none;font-weight:700;font-size:0.75rem;letter-spacing:0.02em;color:#614fd2;background:rgba(136, 123, 221, 0.14);padding:0.1875rem 0.5rem;border-radius:0.375rem}:is(.dark) .ws-endpoint-badge{color:#887bdd}.ws-endpoint-url{font-family:ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, monospace;white-space:nowrap}#assistant-entry,:is(.dark) #assistant-entry{background-color:#614fd2!important;filter:none!important}#assistant-entry:hover,:is(.dark) #assistant-entry:hover{background-color:#614fd2!important;opacity:0.9;filter:none!important}#assistant-entry span,#assistant-entry svg,:is(.dark) #assistant-entry span,:is(.dark) #assistant-entry svg{color:#ffffff!important}.callout strong{font-weight:700}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-o-font-smoothing:antialiased}.katex-display{overflow-x:visible!important;overflow-y:visible!important}.katex-display>.katex{display:flex!important;justify-content:center;width:100%!important;overflow-x:visible!important;overflow-y:visible!important}.katex-display>.katex>.katex-html{display:inline-block!important;width:auto!important;max-width:100%;overflow-x:visible!important;overflow-y:visible!important}.card-logo-icon{display:block;width:1.5rem!important;height:1.5rem!important;min-width:1.5rem;max-width:1.5rem;max-height:1.5rem;margin:0!important;object-fit:contain;object-position:center;vertical-align:middle}.card-logo-icon-livekit{transform:scale(0.9)}.card-logo-icon-pipecat{transform:scale(1.12)}.card-logo-icon-livekit,.card-logo-icon-pipecat,.card-logo-icon-vercel{color:#614fd2}:is(.dark) .card-logo-icon-livekit,:is(.dark) .card-logo-icon-pipecat,:is(.dark) .card-logo-icon-vercel{color:#887bdd}.recommended-pill{background:#614fd2;color:#fff;padding:2px 8px;border-radius:9999px;font-size:0.7rem;font-weight:600;margin-left:6px;vertical-align:middle;white-space:nowrap}:is(.dark) .recommended-pill{background:#614fd2}.preview-pill{background:#b45309;color:#fff;padding:2px 8px;border-radius:9999px;font-size:0.7rem;font-weight:600;margin-left:6px;vertical-align:middle;white-space:nowrap}:is(.dark) .preview-pill{background:#b45309}table code{white-space:nowrap}"}],"page":{"pagePath":"integrations/langchain","slug":"/integrations/langchain","pageMetadata":{"title":"π¦οΈπ LangChain Integration with AssemblyAI","og.description":"Transcribe audio in LangChain using the built-in integration with AssemblyAI.","hide-nav-links":true,"sidebarTitle":"LangChain","llms-index":true,"description":null,"href":"/integrations/langchain"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components},{Card,CardGroup,Heading}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`assemblyai-langchain-integration`,children:`AssemblyAI LangChain Integration`}),`\n`,_jsx(_components.p,{children:`AssemblyAI has a LangChain integration for both Python and JavaScript.\nLearn more about our language-specific integrations:`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{icon:`python`,iconType:`brands`,title:`Python`,href:`/integrations/langchain/python`}),_jsx(Card,{icon:`js`,iconType:`brands`,title:`JavaScript`,href:`/integrations/langchain/js`})]}),`\n`,_jsx(Heading,{level:`2`,id:`new-to-langchain`,children:`New to LangChain?`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://www.langchain.com`,children:`LangChain`}),` is an open-source framework for developing applications with `,_jsx(_components.a,{href:`https://www.assemblyai.com/blog/introduction-large-language-models-generative-ai/`,children:`Large Language Models (LLMs)`}),` and other AI technologies.\nLangChain has a set of pre-built components that you can use to load data and apply LLMs to your data.\nHowever, LLMs only operate on textual data and donβt understand speech in audio and video files.\nTo apply LLMs to speech, you first need to transcribe the audio to text, which is what the AssemblyAI integration helps you with.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"π¦οΈπ LangChain Integration with AssemblyAI","og.description":"Transcribe audio in LangChain using the built-in integration with AssemblyAI.","hide-nav-links":true,"sidebarTitle":"LangChain","llms-index":true,"description":null,"href":"/integrations/langchain"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"AssemblyAI LangChain Integration","slug":"assemblyai-langchain-integration","depth":2,"children":[]},{"title":"New to LangChain?","slug":"new-to-langchain","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/assemblyai-fff14a6f/c705301dcef66bf6/rudderstack.js","/docs/_mintlify/custom/assemblyai-fff14a6f/700d2574de973df9/chat-widget.js","/docs/_mintlify/custom/assemblyai-fff14a6f/33c4022d4e30e01c/ketch.js"],"subdomain":"assemblyai-fff14a6f","siteName":"AssemblyAI","title":"π¦οΈπ LangChain Integration with AssemblyAI - AssemblyAI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T13:43:37.906Z","originalFileLocation":"integrations/langchain.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"AssemblyAI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"π¦οΈπ LangChain Integration with AssemblyAI - AssemblyAI\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AssemblyAI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.assemblyai.com/docs/integrations/langchain\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://assemblyai-fff14a6f.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=%F0%9F%A6%9C%EF%B8%8F%F0%9F%94%97+LangChain+Integration+with+AssemblyAI\u0026amp;theme=7f291be5810d1f7c5136ed41\u0026amp;signature=403ffea9c5da7c978c9f744b09eddb96c23e1045c80cdf5056f6c487a115d203\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"π¦οΈπ LangChain Integration with AssemblyAI - AssemblyAI\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://assemblyai-fff14a6f.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=%F0%9F%A6%9C%EF%B8%8F%F0%9F%94%97+LangChain+Integration+with+AssemblyAI\u0026amp;theme=7f291be5810d1f7c5136ed41\u0026amp;signature=403ffea9c5da7c978c9f744b09eddb96c23e1045c80cdf5056f6c487a115d203\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/assemblyai-fff14a6f/IP3FX8MjuVkHah_W/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AssemblyAI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#614fd2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.assemblyai.com/docs/integrations/langchain\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/integrations/langchain.md\">","agentPointerHref":"/docs/integrations/langchain.md","siteName":"AssemblyAI","nav":{"global":null,"tabs":[{"tab":"Overview","groups":[{"group":"Getting started","pages":[{"title":"AssemblyAI Documentation","sidebarTitle":"Overview","href":""},{"title":"Build with SDKs","href":"/getting-started/sdks"},{"title":"Build with AI agents","href":"/coding-agent-prompts"},{"title":"Use AssemblyAI in AI apps with the MCP server","sidebarTitle":"AssemblyAI MCP server","href":"/mcp-server"},{"title":"Build with integrations","href":"/integrations"}]},{"group":"Build \u0026 Evaluate","pages":[{"title":"Models","href":"/getting-started/models"},{"title":"Evaluations","sidebarTitle":"Evaluate model accuracy","href":"/evaluations"},{"group":"End-to-end examples","root":{"title":"End-to-end examples","href":"/getting-started/end-to-end-examples"},"pages":[{"title":"Meeting notetaker","href":"/getting-started/end-to-end-examples/meeting-notetaker"},{"title":"Sales call intelligence","href":"/getting-started/end-to-end-examples/sales-call-intelligence"},{"title":"Medical scribe","href":"/getting-started/end-to-end-examples/medical-scribe"},{"title":"Content repurposing","href":"/getting-started/end-to-end-examples/content-repurposing"},{"title":"Real-time meeting assistant","href":"/getting-started/end-to-end-examples/real-time-meeting-assistant"},{"title":"Real-time live captioner","href":"/getting-started/end-to-end-examples/real-time-live-captioner"},{"title":"Real-time voice AI on ESP32","href":"/getting-started/end-to-end-examples/realtime-esp32"}]},{"title":"Speech model versions and deprecations","sidebarTitle":"Speech model versions and deprecations","href":"/getting-started/model-versions-and-deprecations"}]},{"group":"Administration","pages":[{"title":"Account Management","sidebarTitle":"Account Management","href":"/account-management"},{"title":"Temporary tokens","sidebarTitle":"Temporary tokens","href":"/temporary-tokens"},{"title":"Single Sign-On (SSO)","sidebarTitle":"Single Sign-On","href":"/sso"},{"title":"Billing and Pricing","sidebarTitle":"Billing and Pricing","href":"/billing-and-pricing"}]},{"group":"Trust \u0026 security","pages":[{"title":"Trust center","url":"https://assembly.ai/trust","href":"/nav-links/trust-center"},{"title":"Security overview","url":"https://www.assemblyai.com/security","href":"/nav-links/security-overview"},{"title":"Data Controls","sidebarTitle":"Data Controls","href":"/data-controls"},{"title":"Data retention and model training","href":"/data-retention-and-model-training"}]}]},{"tab":"Pre-recorded STT","groups":[{"group":"Getting started","pages":[{"title":"Quickstart","href":"/pre-recorded-audio/getting-started/transcribe-an-audio-file"},{"group":"Model selection","pages":[{"title":"Model selection","sidebarTitle":"Speech models","href":"/pre-recorded-audio/select-the-speech-model"},{"title":"assemblyai-stt-3-7 migration guide","sidebarTitle":"assemblyai-stt-3-7 migration guide","href":"/pre-recorded-audio/assemblyai-stt-3-7-migration-guide"}]}]},{"group":"Features","pages":[{"title":"Prompting and Keyterms","sidebarTitle":"Prompting and Keyterms","href":"/pre-recorded-audio/prompting"},{"title":"Medical Mode","href":"/pre-recorded-audio/medical-mode"},{"title":"Veterinary Mode (beta)","sidebarTitle":"Veterinary Mode","tag":"Beta","href":"/pre-recorded-audio/veterinary-mode"},{"title":"Speaker Diarization","sidebarTitle":"Speaker Diarization","href":"/pre-recorded-audio/label-speakers"},{"title":"Multichannel Transcription","sidebarTitle":"Multichannel Transcription","href":"/pre-recorded-audio/transcribe-multiple-audio-channels"},{"title":"Code Switching","sidebarTitle":"Code Switching","href":"/pre-recorded-audio/code-switching"},{"group":"Languages","pages":[{"title":"Automatic Language Detection","sidebarTitle":"Detect language automatically","href":"/pre-recorded-audio/language-detection"},{"title":"Set Language Manually","sidebarTitle":"Set language manually","href":"/pre-recorded-audio/set-language-manually"},{"title":"Supported Languages","sidebarTitle":"Supported languages","href":"/pre-recorded-audio/supported-languages"}]},{"title":"Custom Spelling","sidebarTitle":"Custom Spelling","href":"/pre-recorded-audio/correct-spelling-of-terms"},{"title":"Formatting","sidebarTitle":"Formatting","href":"/pre-recorded-audio/formatting"},{"title":"Verbatim","sidebarTitle":"Verbatim","href":"/pre-recorded-audio/include-filler-words"},{"title":"Word Search","sidebarTitle":"Word Search","href":"/pre-recorded-audio/search-for-words-in-transcript"},{"title":"Set the Start and End of the Transcript","sidebarTitle":"Set the start and end of the transcript","href":"/pre-recorded-audio/set-the-start-and-end-of-the-transcript"},{"group":"Transcription operations","pages":[{"title":"Transcript Status","sidebarTitle":"Check transcript status","href":"/pre-recorded-audio/check-transcript-status"},{"title":"Transcript export options","sidebarTitle":"Export transcripts as SRT, VTT, or text","href":"/pre-recorded-audio/export-transcripts-as-srt-vtt-or-text"},{"title":"Delete Transcripts","sidebarTitle":"Delete transcripts","href":"/pre-recorded-audio/delete-transcripts"}]}]},{"group":"API reference","pages":[{"title":"Upload a media file","openapi":"openapi.yaml POST /v2/upload","href":"/pre-recorded-audio/api-reference/files/upload"},{"title":"Transcribe audio","openapi":"openapi.yaml POST /v2/transcript","href":"/pre-recorded-audio/api-reference/transcripts/submit"},{"title":"Get a transcript","openapi":"openapi.yaml GET /v2/transcript/{transcript_id}","href":"/pre-recorded-audio/api-reference/transcripts/get"},{"title":"Get transcript sentences","openapi":"openapi.yaml GET /v2/transcript/{transcript_id}/sentences","href":"/pre-recorded-audio/api-reference/transcripts/get-sentences"},{"title":"Get transcript paragraphs","openapi":"openapi.yaml GET /v2/transcript/{transcript_id}/paragraphs","href":"/pre-recorded-audio/api-reference/transcripts/get-paragraphs"},{"title":"Get subtitles","openapi":"openapi.yaml GET /v2/transcript/{transcript_id}/{subtitle_format}","href":"/pre-recorded-audio/api-reference/transcripts/get-subtitles"},{"title":"Get redacted audio","openapi":"openapi.yaml GET /v2/transcript/{transcript_id}/redacted-audio","href":"/pre-recorded-audio/api-reference/transcripts/get-redacted-audio"},{"title":"Word search","openapi":"openapi.yaml GET /v2/transcript/{transcript_id}/word-search","href":"/pre-recorded-audio/api-reference/transcripts/word-search"},{"title":"List transcripts","openapi":"openapi.yaml GET /v2/transcript","href":"/pre-recorded-audio/api-reference/transcripts/list"},{"title":"Delete a transcript","openapi":"openapi.yaml DELETE /v2/transcript/{transcript_id}","href":"/pre-recorded-audio/api-reference/transcripts/delete"}]},{"group":"Advanced","pages":[{"title":"Webhooks for pre-recorded audio","sidebarTitle":"Webhooks","href":"/pre-recorded-audio/webhooks"},{"title":"Benchmarks","sidebarTitle":"View model benchmarks","href":"/pre-recorded-audio/benchmarks"},{"title":"Evaluating Pre-recorded STT models","sidebarTitle":"Evaluate model accuracy","href":"/pre-recorded-audio/evaluations"},{"title":"Cloud Endpoints and Data Residency","sidebarTitle":"Cloud endpoints \u0026 data residency","href":"/pre-recorded-audio/select-the-region"},{"title":"Rate limits","sidebarTitle":"Manage rate limits","href":"/pre-recorded-audio/rate-limits"}]},{"group":"Guides","pages":[{"group":"Migration guides","expanded":false,"pages":[{"title":"Migration guide: Deepgram to AssemblyAI","sidebarTitle":"Migration guide Deepgram to AssemblyAI","href":"/pre-recorded-audio/migration-guides/dg_to_aai"},{"title":"Migration guide: OpenAI to AssemblyAI","sidebarTitle":"Migration guide OpenAI to AssemblyAI","href":"/pre-recorded-audio/migration-guides/oai_to_aai"},{"title":"Migration guide: AWS Transcribe to AssemblyAI","sidebarTitle":"Migration guide AWS Transcribe to AssemblyAI","href":"/pre-recorded-audio/migration-guides/aws_to_aai"},{"title":"Migration guide: Google Speech-to-Text to AssemblyAI","sidebarTitle":"Migration guide Google Speech-to-Text to AssemblyAI","href":"/pre-recorded-audio/migration-guides/google_to_aai"},{"title":"Migration guide: Gladia to AssemblyAI","sidebarTitle":"Migration guide Gladia to AssemblyAI","href":"/pre-recorded-audio/migration-guides/gladia_to_aai"}]},{"group":"Tutorials","expanded":false,"pages":[{"title":"Best Practices for building Meeting Notetakers","sidebarTitle":"Build a meeting notetaker","href":"/meeting-notetaker-best-practices"},{"title":"Build a medical scribe","href":"/medical-scribe-best-practices"},{"title":"Best Practices for building Contact Center Applications","sidebarTitle":"Build a contact center application","href":"/contact-center-best-practices"},{"group":"Basic transcription workflows","pages":[{"title":"Get YouTube Video Transcripts with yt-dlp","href":"/pre-recorded-audio/guides/transcribe_youtube_videos"},{"title":"Build a UI for Transcription with Gradio and Python","href":"/pre-recorded-audio/guides/gradio-frontend"},{"title":"Detect Low Confidence Words in a Transcript","href":"/pre-recorded-audio/guides/detecting-low-confidence-words"}]},{"group":"Batch transcription","pages":[{"title":"Running Bulk Transcription and Load Tests at Scale","href":"/pre-recorded-audio/guides/bulk-transcription-and-load-tests-at-scale"},{"title":"Transcribe Multiple Files Simultaneously Using the JavaScript SDK","href":"/pre-recorded-audio/guides/sdk-node-batch"},{"title":"Transcribe Multiple Files Simultaneously Using the Python SDK","href":"/pre-recorded-audio/guides/batch_transcription"}]},{"group":"Hosting audio files","pages":[{"title":"Transcribe from an S3 Bucket","href":"/pre-recorded-audio/guides/transcribe_from_s3"},{"title":"Transcribe Google Drive Files","sidebarTitle":"Transcribe a Google Drive File","href":"/pre-recorded-audio/guides/transcribing-google-drive-file"},{"title":"Transcribe GitHub Files","href":"/pre-recorded-audio/guides/transcribing-github-files"}]},{"group":"Speaker labels","pages":[{"title":"Iterate over Speaker Labels with Make.com","href":"/pre-recorded-audio/guides/make-speaker-labels"},{"title":"Calculate the Talk / Listen Ratio of Speakers","href":"/pre-recorded-audio/guides/talk-listen-ratio"},{"title":"Plot A Speaker Timeline with Matplotlib","href":"/pre-recorded-audio/guides/speaker_timeline"},{"title":"Generate Custom Speaker Labels with Pyannote","href":"/pre-recorded-audio/guides/Use_AssemblyAI_with_Pyannote_to_generate_custom_Speaker_Labels"},{"title":"Use Speaker Diarization with Async Chunking","href":"/pre-recorded-audio/guides/speaker-diarization-with-async-chunking"},{"title":"Setup A Speaker Identification System using Pinecone \u0026 Nvidia TitaNet","href":"/pre-recorded-audio/guides/titanet-speaker-identification"}]},{"group":"Automatic Language Detection","pages":[{"title":"Use Automatic Language Detection as a Separate Step From Transcription","href":"/pre-recorded-audio/guides/automatic-language-detection-separate"},{"title":"Route to Default Language if Language Confidence is Low","href":"/pre-recorded-audio/guides/automatic-language-detection-route-default-language"}]},{"group":"Subtitles","pages":[{"title":"Create Custom Length Subtitles","href":"/pre-recorded-audio/guides/subtitle_creation_by_word_count"},{"title":"Create Subtitles with Speaker Labels","href":"/pre-recorded-audio/guides/speaker_labelled_subtitles"},{"title":"Generate Subtitles for Videos","href":"/pre-recorded-audio/guides/subtitles"},{"title":"Translate an AssemblyAI Subtitle Transcript","href":"/pre-recorded-audio/guides/translate_subtitles"}]},{"group":"Delete transcripts","pages":[{"title":"Schedule a DELETE request with AssemblyAI and EasyCron","href":"/pre-recorded-audio/guides/schedule_delete"}]},{"group":"Error handling and audio file fixes","pages":[{"title":"Troubleshoot Common Errors","href":"/pre-recorded-audio/guides/common_errors_and_solutions"},{"title":"Implement Retry Server Error Logic","href":"/pre-recorded-audio/guides/retry-server-error"},{"title":"Implement Retry Upload Error Logic","href":"/pre-recorded-audio/guides/retry-upload-error"},{"title":"Identify Duplicate Dual Channel Files","href":"/pre-recorded-audio/guides/identify_duplicate_channels"},{"title":"Correct Audio Duration Discrepancies with Multi-Tool Validation and Transcoding","href":"/pre-recorded-audio/guides/audio-duration-fix"},{"title":"Audio File Downsampling Recommendations and Best Practices","href":"/pre-recorded-audio/guides/downsampling"}]},{"group":"Translation","pages":[{"title":"Translate an AssemblyAI Subtitle Transcript","href":"/pre-recorded-audio/guides/translate_subtitles"},{"title":"Translate AssemblyAI Transcripts Into Other Languages Using Commercial Models","href":"/pre-recorded-audio/guides/translate_transcripts"},{"title":"Transform Chinese transcripts into Simplified or Traditional Text","href":"/pre-recorded-audio/guides/traditional_simplified_chinese"}]},{"group":"Do more with our SDKs","pages":[{"title":"Do More With Our SDKs","href":"/pre-recorded-audio/guides/do-more-with-sdk"}]}]}]}]},{"tab":"Real-time STT","groups":[{"group":"Getting started","pages":[{"title":"Quickstart","href":"/streaming/getting-started/transcribe-streaming-audio"},{"title":"Model selection","href":"/streaming/select-the-speech-model"},{"title":"Optimizing Accuracy and Latency","sidebarTitle":"Optimizing accuracy and latency","href":"/streaming/getting-started/optimizing-accuracy-and-latency"}]},{"group":"Features","pages":[{"title":"Turn Detection","sidebarTitle":"Turn detection","href":"/streaming/turn-detection"},{"title":"Prompting and Keyterms","sidebarTitle":"Prompting and keyterms","href":"/streaming/prompting-and-keyterms"},{"title":"Conversation Context","sidebarTitle":"Conversation Context","href":"/streaming/universal-3-5-pro/context-carryover"},{"title":"Multilingual Transcription","sidebarTitle":"Multilingual transcription","href":"/streaming/multilingual-transcription"},{"title":"Real-time Translation","sidebarTitle":"Real-time translation","href":"/streaming/real-time-translation"},{"title":"Medical Mode","href":"/streaming/medical-mode"},{"title":"Veterinary Mode (beta)","sidebarTitle":"Veterinary Mode","tag":"Beta","href":"/streaming/veterinary-mode"},{"title":"Voice Focus","sidebarTitle":"Voice Focus","href":"/streaming/voice-focus"},{"title":"Streaming Diarization and Multichannel","sidebarTitle":"Speaker Diarization","href":"/streaming/label-speakers-and-separate-channels"},{"title":"PII Redaction","sidebarTitle":"PII Redaction","href":"/streaming/pii-redaction"},{"title":"Filter profanity","sidebarTitle":"Profanity Filtering","href":"/streaming/filter-profanity-from-transcripts"}]},{"group":"API reference","pages":[{"title":"Message Sequence","sidebarTitle":"Message sequence","icon":"arrow-right-arrow-left","href":"/streaming/message-sequence"},{"title":"Streaming WebSocket API","asyncapi":"api-reference/specs/streaming.yaml streaming","href":"/streaming/api-spec/streaming-websocket"},{"title":"Generate streaming token","openapi":"api-reference/specs/streaming-token.yaml POST /v1/token","href":"/streaming/api-spec/generate-streaming-token"}]},{"group":"Advanced","pages":[{"title":"Authenticate with a temporary token","href":"/streaming/authenticate-with-a-temporary-token"},{"title":"Webhooks for streaming speech-to-text","sidebarTitle":"Webhooks","href":"/streaming/webhooks"},{"title":"Updating Configuration Mid-Stream","sidebarTitle":"Updating configuration mid-stream","href":"/streaming/updating-configuration-mid-stream"},{"title":"Common session errors and closures","href":"/streaming/common-session-errors-and-closures"},{"title":"Benchmarks","sidebarTitle":"View model benchmarks","href":"/streaming/benchmarks"},{"title":"Evaluating Real-time STT models for Voice Agents","sidebarTitle":"Evaluate model accuracy","href":"/streaming/evaluations/voice-agents"},{"title":"Streaming Endpoints and Data Zones","sidebarTitle":"Cloud endpoints \u0026 data residency","href":"/streaming/endpoints-and-data-zones"},{"title":"Rate limits","sidebarTitle":"Manage rate limits","href":"/streaming/rate-limits"},{"title":"Self-Hosted Streaming","sidebarTitle":"Self-hosted streaming","href":"/streaming/self-hosted-streaming"}]},{"group":"Integrations","pages":[{"title":"AssemblyAI-STT-3.7-Realtime-Agent on LiveKit","sidebarTitle":"LiveKit","href":"/voice-agents/livekit"},{"title":"Universal-3.6 Pro on Pipecat","sidebarTitle":"Pipecat","href":"/voice-agents/pipecat-universal-3-5-pro"},{"title":"Universal-3.6 Pro on Vapi","sidebarTitle":"Vapi","href":"/voice-agents/vapi"},{"title":"Universal-3.6 Pro on Bolna","sidebarTitle":"Bolna","href":"/voice-agents/bolna"}]},{"group":"Guides","pages":[{"group":"Migration guides","expanded":false,"pages":[{"title":"Streaming Migration Guide: Deepgram to AssemblyAI","sidebarTitle":"Migration guide Deepgram to AssemblyAI streaming","href":"/streaming/migration-guides/dg_to_aai_streaming"},{"title":"Migration guide: Speechmatics to AssemblyAI","sidebarTitle":"Migration guide Speechmatics to AssemblyAI streaming","href":"/streaming/migration-guides/speechmatics_to_aai_streaming"},{"title":"Streaming Migration Guide: Gladia to AssemblyAI","sidebarTitle":"Migration guide Gladia to AssemblyAI streaming","href":"/streaming/migration-guides/gladia-to-aai-streaming"}]},{"group":"Tutorials","expanded":false,"pages":[{"title":"Best Practices for building Meeting Notetakers","sidebarTitle":"Build a meeting notetaker","href":"/meeting-notetaker-best-practices"},{"title":"Build a medical scribe","href":"/medical-scribe-best-practices"},{"title":"Best Practices for Building Voice Agents","sidebarTitle":"Best practices","href":"/voice-agents/best-practices"},{"title":"Best Practices for building Contact Center Applications","sidebarTitle":"Build a contact center application","href":"/contact-center-best-practices"},{"group":"Basic streaming workflows","pages":[{"title":"Stream a pre-recorded file in real time","sidebarTitle":"Stream a Pre-Recorded File in Real Time","href":"/streaming/guides/stream_prerecorded_file_realtime"},{"title":"Transcribe System Audio in Real-Time (macOS)","href":"/streaming/guides/transcribe_system_audio"},{"title":"Terminate Streaming Session After Inactivity","href":"/streaming/guides/terminate_realtime_programmatically"},{"title":"Migrating from Streaming v2 to Streaming v3 (Python)","href":"/streaming/guides/v2_to_v3_migration"},{"title":"Migrating from Streaming v2 to Streaming v3 (JavaScript)","href":"/streaming/guides/v2_to_v3_migration_js"}]},{"group":"Streaming for front-end applications","pages":[{"title":"Next.js example using Real-time STT","url":"https://github.com/AssemblyAI-Community/streaming-api-nextjs","href":"/nav-links/next-js-example-using-streaming-stt"},{"title":"Vanilla Javascript example using Real-time STT","url":"https://github.com/AssemblyAI/realtime-transcription-browser-js-example","href":"/nav-links/vanilla-javascript-example-using-streaming-stt"}]},{"group":"Streaming with LLM Gateway","pages":[{"title":"Apply LLM Gateway to Streaming","sidebarTitle":"Apply LLM Gateway to streaming audio","href":"/streaming/guides/real_time_llm_gateway"},{"title":"Translate Real-time STT Transcripts with LLM Gateway","href":"/streaming/guides/real_time_translation"}]},{"group":"Use-case specific streaming workflows","pages":[{"title":"Apply Noise Reduction to Audio for Streaming Speech-to-Text","sidebarTitle":"Apply Noise Reduction to Audio for Streaming Speech-To-Text","href":"/streaming/guides/noise_reduction_streaming"},{"title":"Transcribe audio files with Streaming","sidebarTitle":"Transcribe Audio Files with Streaming Speech-to-Text","href":"/streaming/guides/streaming_transcribe_audio_file"},{"title":"Evaluate Streaming transcription accuracy with WER","href":"/streaming/guides/evaluate_streaming_wer"},{"title":"Determine Optimal Turn Detection Settings from Historical Audio Analysis","href":"/streaming/guides/turn_detection_improvement_using_async"}]}]}]}]},{"tab":"Sync STT","groups":[{"group":"Getting started","pages":[{"title":"Quickstart","href":"/sync-stt/getting-started/quickstart"},{"title":"Transcribe a short audio file","href":"/sync-stt/getting-started/transcribe-a-short-audio-file"},{"title":"Transcribe live audio","href":"/sync-stt/getting-started/transcribe-live-audio"}]},{"group":"Features","pages":[{"title":"Prompting and Keyterms","sidebarTitle":"Prompting and keyterms","href":"/sync-stt/prompting-and-keyterms"},{"title":"Conversation context","href":"/sync-stt/conversation-context"},{"title":"Language selection","href":"/sync-stt/language-selection"},{"title":"Word timestamps","href":"/sync-stt/word-timestamps"}]},{"group":"API reference","pages":[{"title":"Transcribe a short audio file","openapi":"specs/sync-api.yaml POST /v1/transcribe","href":"/api-reference/sync-api/transcribe"},{"title":"Transcribe live audio","openapi":"specs/sync-api.yaml POST /v1/transcribe/live","href":"/api-reference/sync-api/transcribe-live"},{"title":"Pre-warm a connection","openapi":"specs/sync-api.yaml GET /v1/warm","href":"/api-reference/sync-api/warm"}]},{"group":"Advanced","pages":[{"title":"Audio requirements","href":"/sync-stt/audio-requirements"},{"title":"Error handling","href":"/sync-stt/error-handling"},{"title":"Cloud endpoints \u0026 data residency","sidebarTitle":"Cloud endpoints \u0026 data residency","href":"/sync-stt/endpoints-and-data-zones"},{"title":"Connection pre-warming","sidebarTitle":"Connection pre-warming","href":"/sync-stt/connection-pre-warming"},{"title":"Rate limits","sidebarTitle":"Manage rate limits","href":"/sync-stt/rate-limits"}]},{"group":"Integrations","pages":[{"title":"Sync STT on Pipecat","sidebarTitle":"Pipecat","href":"/sync-stt/pipecat"},{"title":"Sync STT on OpenRouter","sidebarTitle":"OpenRouter","href":"/sync-stt/openrouter"}]}]},{"tab":"Dictation API","groups":[{"group":"Getting started","pages":[{"title":"Quickstart","href":"/dictation"},{"title":"Achieve lowest latency","href":"/dictation/uploading-while-recording"},{"title":"Dictations up to 20 minutes","href":"/dictation/recordings-over-two-minutes"},{"title":"Examples","href":"/dictation/examples"}]},{"group":"Features","pages":[{"title":"Transcript rewriting","href":"/dictation/transcript-rewriting"},{"title":"Prompting and keyterms","href":"/dictation/prompting-and-keyterms"},{"title":"Language selection","href":"/dictation/language-selection"}]},{"group":"API reference","pages":[{"title":"Transcribe while recording","openapi":"specs/dictation.yaml POST /v1/transcribe/live","href":"/api-reference/dictation-api/transcribe-live"},{"title":"Transcribe a finished recording","openapi":"specs/dictation.yaml POST /v1/transcribe","href":"/api-reference/dictation-api/transcribe"}]},{"group":"Advanced","pages":[{"title":"Audio requirements","href":"/dictation/audio-requirements"},{"title":"Error handling","href":"/dictation/error-handling"},{"title":"Cloud endpoints \u0026 data residency","sidebarTitle":"Cloud endpoints \u0026 data residency","href":"/dictation/endpoints-and-data-zones"},{"title":"Reduce connection overhead","sidebarTitle":"Reduce connection overhead","href":"/dictation/connection-pre-warming"},{"title":"Authenticate your app","href":"/dictation/authenticate-your-app"},{"title":"Rate limits","sidebarTitle":"Manage rate limits","href":"/dictation/rate-limits"}]},{"group":"Guides","pages":[{"title":"Inserting at the cursor","href":"/dictation/inserting-at-the-cursor"},{"title":"Add context mid-dictation","href":"/dictation/add-context-mid-dictation"}]}]},{"tab":"Text to Speech","groups":[{"group":"Getting started","pages":[{"title":"Quickstart","href":"/tts/getting-started/quickstart"},{"title":"Optimizing Accuracy and Latency","sidebarTitle":"Optimizing accuracy and latency","href":"/tts/getting-started/optimizing-accuracy-and-latency"},{"title":"Choose an interface","href":"/tts/getting-started/choose-an-interface"}]},{"group":"Features","pages":[{"title":"Voices","href":"/tts/voices"},{"title":"Voice cloning","href":"/tts/cloned-voices"},{"title":"Prompting guide","sidebarTitle":"Prompting","href":"/tts/prompting-guide"},{"title":"Word boundaries","href":"/tts/word-boundaries"}]},{"group":"Integrations","pages":[{"title":"Streaming TTS on LiveKit","sidebarTitle":"LiveKit","href":"/tts/livekit"},{"title":"Streaming TTS on Pipecat","sidebarTitle":"Pipecat","href":"/tts/pipecat"},{"title":"Streaming TTS on OpenRouter","sidebarTitle":"OpenRouter","href":"/tts/openrouter"},{"title":"OpenAI compatibility","href":"/tts/openai-compatibility"}]},{"group":"API reference","pages":[{"group":"WebSocket API","pages":[{"title":"WebSocket API basics","href":"/tts/connect-parameters"},{"title":"Message frames","href":"/tts/message-frames"},{"title":"Streaming TTS WebSocket API","asyncapi":"api-reference/specs/streaming-tts.yaml tts","href":"/tts/api-reference/websocket-api"}]},{"group":"HTTP API","pages":[{"title":"HTTP API basics","href":"/tts/api-reference/http-api/overview"},{"title":"Create speech","openapi":"api-reference/specs/streaming-tts-speech.yaml POST /v1/speech","href":"/tts/api-reference/http-api/create-speech"},{"title":"Stream speech with word timings","openapi":"api-reference/specs/streaming-tts-speech.yaml POST /v1/speech/events","href":"/tts/api-reference/http-api/stream-speech-events"},{"title":"Create speech (OpenAI compatible)","openapi":"api-reference/specs/streaming-tts-speech.yaml POST /v1/openai/audio/speech","href":"/tts/api-reference/http-api/create-speech-openai"},{"title":"List models (OpenAI compatible)","openapi":"api-reference/specs/streaming-tts-speech.yaml GET /v1/openai/models","href":"/tts/api-reference/http-api/list-openai-models"},{"title":"List models (OpenRouter)","openapi":"api-reference/specs/streaming-tts-speech.yaml GET /v1/openrouter/models","href":"/tts/api-reference/http-api/list-openrouter-models"}]}]},{"group":"Advanced","pages":[{"title":"Authenticate with a temporary token","href":"/tts/authenticate-with-a-temporary-token"},{"title":"Error handling","href":"/tts/error-handling"},{"title":"Limits","href":"/tts/limits"},{"title":"Cloud endpoints \u0026 data residency","href":"/tts/endpoints-and-data-zones"}]}]},{"tab":"Voice Agent API","hidden":true,"groups":[{"group":"Getting started","pages":[{"title":"Voice Agent API","sidebarTitle":"Quickstart","href":"/voice-agents/voice-agent-api"},{"title":"Build with AI coding tools","sidebarTitle":"Build with AI coding tools","href":"/voice-agents/voice-agent-api/build-with-ai-tools"},{"title":"Supported languages","href":"/voice-agents/voice-agent-api/supported-languages"}]},{"group":"Create \u0026 manage agents","pages":[{"title":"Create an agent","sidebarTitle":"Create an agent","href":"/voice-agents/voice-agent-api/create-agent"},{"title":"Manage agents","sidebarTitle":"Manage agents","href":"/voice-agents/voice-agent-api/manage-agents"},{"group":"Endpoints","pages":[{"title":"Create an agent","openapi":"api-reference/specs/agents.yaml POST /v1/agents","href":"/voice-agents/voice-agent-api/api-spec/create-agent"},{"title":"List agents","openapi":"api-reference/specs/agents.yaml GET /v1/agents","href":"/voice-agents/voice-agent-api/api-spec/list-agents"},{"title":"Retrieve an agent","openapi":"api-reference/specs/agents.yaml GET /v1/agents/{agent_id}","href":"/voice-agents/voice-agent-api/api-spec/get-agent"},{"title":"Update an agent","openapi":"api-reference/specs/agents.yaml PUT /v1/agents/{agent_id}","href":"/voice-agents/voice-agent-api/api-spec/update-agent"},{"title":"Delete an agent","openapi":"api-reference/specs/agents.yaml DELETE /v1/agents/{agent_id}","href":"/voice-agents/voice-agent-api/api-spec/delete-agent"}]}]},{"group":"Agent behavior","pages":[{"title":"Connect your own LLM","sidebarTitle":"Connect your own LLM","href":"/voice-agents/voice-agent-api/connect-your-own-llm"},{"title":"Prompting guide","sidebarTitle":"Write the system prompt","href":"/voice-agents/voice-agent-api/prompting-guide"},{"title":"Greeting","sidebarTitle":"Greeting","href":"/voice-agents/voice-agent-api/greeting"},{"group":"Tools","pages":[{"title":"Tools","sidebarTitle":"Overview","href":"/voice-agents/voice-agent-api/tools/overview"},{"title":"HTTP tools","sidebarTitle":"HTTP tools","href":"/voice-agents/voice-agent-api/tools/http-tools"},{"title":"Client-side tools","sidebarTitle":"Client-side tools","href":"/voice-agents/voice-agent-api/tools/client-side-tools"}]}]},{"group":"Conversational experience","pages":[{"title":"Voices","sidebarTitle":"Choose a voice","href":"/voice-agents/voice-agent-api/voices"},{"title":"Output volume","sidebarTitle":"Output volume","href":"/voice-agents/voice-agent-api/volume"},{"title":"Turn detection and interruptions","sidebarTitle":"Turn-taking \u0026 interruptions","href":"/voice-agents/voice-agent-api/turn-detection-and-interruptions"},{"title":"Add transcription context","sidebarTitle":"Add transcription context","href":"/voice-agents/voice-agent-api/transcription-prompt"},{"title":"Steer toward known languages","sidebarTitle":"Steer toward known languages","href":"/voice-agents/voice-agent-api/language-selection"},{"title":"Isolate the caller's voice","sidebarTitle":"Isolate the caller's voice","href":"/voice-agents/voice-agent-api/noise-suppression"}]},{"group":"Deploy","pages":[{"title":"Deploy your agent","sidebarTitle":"Overview","href":"/voice-agents/voice-agent-api/deploy"},{"title":"Browser integration","sidebarTitle":"From a browser","href":"/voice-agents/voice-agent-api/browser-integration"},{"title":"Set up an inbound phone agent via SIP","sidebarTitle":"Over the phone (Twilio SIP)","href":"/voice-agents/voice-agent-api/connect-to-twilio"},{"title":"Audio format","sidebarTitle":"Audio format","href":"/voice-agents/voice-agent-api/audio-format"}]},{"group":"Telephony","pages":[{"title":"Pre-connect requests","sidebarTitle":"Pre-connect requests","href":"/voice-agents/voice-agent-api/pre-connect-requests"}]},{"group":"Test","pages":[{"title":"Test your agent with Bluejay simulations","sidebarTitle":"Bluejay simulations","href":"/voice-agents/voice-agent-api/test-with-bluejay"},{"title":"Test your agent with Cekura simulations","sidebarTitle":"Cekura simulations","href":"/voice-agents/voice-agent-api/test-with-cekura"}]},{"group":"After a session","pages":[{"title":"Recordings \u0026 transcripts","sidebarTitle":"Recordings \u0026 transcripts","href":"/voice-agents/voice-agent-api/session-history"},{"group":"Endpoints","pages":[{"title":"List sessions","openapi":"api-reference/specs/agents.yaml GET /v1/sessions","href":"/voice-agents/voice-agent-api/api-spec/list-sessions"},{"title":"Retrieve a session","openapi":"api-reference/specs/agents.yaml GET /v1/sessions/{session_id}","href":"/voice-agents/voice-agent-api/api-spec/get-session"},{"title":"Delete a session","openapi":"api-reference/specs/agents.yaml DELETE /v1/sessions/{session_id}","href":"/voice-agents/voice-agent-api/api-spec/delete-session"}]},{"title":"Webhooks","sidebarTitle":"Webhooks","href":"/voice-agents/voice-agent-api/webhooks"},{"group":"Webhook endpoints","pages":[{"title":"Create a webhook subscription","openapi":"api-reference/specs/webhooks.yaml POST /v1/webhook-subscriptions","href":"/voice-agents/voice-agent-api/api-spec/create-webhook-subscription"},{"title":"List webhook subscriptions","openapi":"api-reference/specs/webhooks.yaml GET /v1/webhook-subscriptions","href":"/voice-agents/voice-agent-api/api-spec/list-webhook-subscriptions"},{"title":"Retrieve a webhook subscription","openapi":"api-reference/specs/webhooks.yaml GET /v1/webhook-subscriptions/{subscription_id}","href":"/voice-agents/voice-agent-api/api-spec/get-webhook-subscription"},{"title":"Update a webhook subscription","openapi":"api-reference/specs/webhooks.yaml PATCH /v1/webhook-subscriptions/{subscription_id}","href":"/voice-agents/voice-agent-api/api-spec/update-webhook-subscription"},{"title":"Delete a webhook subscription","openapi":"api-reference/specs/webhooks.yaml DELETE /v1/webhook-subscriptions/{subscription_id}","href":"/voice-agents/voice-agent-api/api-spec/delete-webhook-subscription"}]}]},{"group":"Reference","pages":[{"title":"Inline session configuration","sidebarTitle":"Inline config (advanced)","href":"/voice-agents/voice-agent-api/session-configuration"},{"title":"Events reference","sidebarTitle":"WebSocket events","href":"/voice-agents/voice-agent-api/events-reference"},{"title":"Troubleshooting","href":"/voice-agents/voice-agent-api/troubleshooting"}]},{"group":"API reference","pages":[{"title":"Message Sequence","sidebarTitle":"Message sequence","icon":"arrow-right-arrow-left","href":"/voice-agents/voice-agent-api/message-sequence"},{"title":"Voice Agent WebSocket API","asyncapi":"api-reference/specs/voice-agent-api.yaml voiceAgent","href":"/voice-agents/voice-agent-api/api-spec/voice-agent-websocket"},{"title":"Generate voice agent token","openapi":"api-reference/specs/voice-agent-token.yaml POST /v1/token","href":"/voice-agents/voice-agent-api/api-spec/generate-voice-agent-token"}]}]},{"tab":"Speech Understanding","groups":[{"group":"Models \u0026 features","pages":[{"title":"Speech Understanding","sidebarTitle":"Overview","href":"/speech-understanding/getting-started"},{"title":"Action Items","sidebarTitle":"Action Items","href":"/speech-understanding/action-items"},{"title":"Rate limits","sidebarTitle":"Manage rate limits","href":"/speech-understanding/rate-limits"},{"title":"Auto Chapters","sidebarTitle":"Auto Chapters","href":"/speech-understanding/auto-chapters"},{"title":"Custom Formatting","sidebarTitle":"Custom Formatting","href":"/speech-understanding/custom-formatting"},{"title":"Entity Detection","sidebarTitle":"Entity Detection","href":"/speech-understanding/entity-detection"},{"title":"Key Phrases","sidebarTitle":"Key Phrases","href":"/speech-understanding/key-phrases"},{"title":"Sentiment Analysis","sidebarTitle":"Sentiment Analysis","href":"/speech-understanding/sentiment-analysis"},{"title":"Speaker Identification","sidebarTitle":"Speaker Identification","href":"/speech-understanding/speaker-identification"},{"title":"Summarization","sidebarTitle":"Summarization","href":"/speech-understanding/summarization"},{"title":"Topic Detection","sidebarTitle":"Topic Detection","href":"/speech-understanding/topic-detection"},{"title":"Translation","sidebarTitle":"Translation","href":"/speech-understanding/translation"}]},{"group":"Guides","pages":[{"group":"Migration guides","expanded":false,"pages":[{"title":"Migration guide: Auto Chapters","sidebarTitle":"Migration guide Auto Chapters","href":"/speech-understanding/migration-guides/auto-chapters"},{"title":"Migration guide: Summarization","sidebarTitle":"Migration guide Summarization","href":"/speech-understanding/migration-guides/summarization"}]}]}]},{"tab":"Guardrails","groups":[{"group":"Models \u0026 features","pages":[{"title":"Guardrails","sidebarTitle":"Getting started","href":"/guardrails/getting-started"},{"title":"PII Redaction","sidebarTitle":"PII Redaction","href":"/guardrails/redact-pii-from-transcripts"},{"title":"Content Moderation","sidebarTitle":"Content Moderation","href":"/guardrails/detect-sensitive-content"},{"title":"Profanity Filtering","sidebarTitle":"Profanity Filtering","href":"/guardrails/filter-profanity-from-transcripts"},{"title":"Speech Threshold","sidebarTitle":"Speech Threshold","href":"/guardrails/set-minimum-speech-threshold"}]}]},{"tab":"LLM Gateway","groups":[{"group":"Getting started","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/llm-gateway/quickstart"},{"title":"Model Catalog","url":"https://www.assemblyai.com/products/llm-gateway/models","href":"/nav-links/llm-gateway-models"},{"title":"Choose a model","sidebarTitle":"Choose a model","href":"/llm-gateway/choose-a-model"},{"title":"Providers","sidebarTitle":"Providers","href":"/llm-gateway/providers"}]},{"group":"Gateway features","pages":[{"title":"Model Fallbacks","sidebarTitle":"Model Fallbacks","href":"/llm-gateway/fallback"},{"title":"Circuit breaker","sidebarTitle":"Circuit breaker","href":"/llm-gateway/circuit-breaker"},{"title":"Prompt Caching","sidebarTitle":"Prompt caching","href":"/llm-gateway/prompt-caching"},{"title":"Cloud Endpoints and Data Residency","sidebarTitle":"Cloud endpoints \u0026 data residency","href":"/llm-gateway/cloud-endpoints-and-data-residency"},{"title":"Manage rate limits","sidebarTitle":"Manage rate limits","href":"/llm-gateway/rate-limits"},{"title":"Improve Latency","sidebarTitle":"Improve Latency","href":"/llm-gateway/improve-latency"},{"title":"Troubleshooting","href":"/llm-gateway/troubleshooting"}]},{"group":"Chat completions","pages":[{"title":"Basic Chat Completions","sidebarTitle":"Basic chat completions","href":"/llm-gateway/chat-completions"},{"title":"Multi-turn Conversations","sidebarTitle":"Multi-turn conversations","href":"/llm-gateway/conversations"},{"title":"Tool Calling","sidebarTitle":"Tool Calling","href":"/llm-gateway/tool-calling"},{"title":"Structured Outputs","sidebarTitle":"Structured Outputs","href":"/llm-gateway/structured-outputs"},{"title":"Agentic Workflows","sidebarTitle":"Build agentic workflows","href":"/llm-gateway/agentic-workflows"},{"title":"Saved prompts and prompt templates","sidebarTitle":"Saved prompts and prompt templates","href":"/llm-gateway/saved-prompts"},{"title":"Prompt Engineering for LLM Gateway","sidebarTitle":"Prompt engineering","href":"/llm-gateway/prompt-engineering"},{"title":"Ask Questions About Your Audio Transcripts","sidebarTitle":"Ask questions about your audio data","href":"/llm-gateway/ask-questions"}]},{"group":"Decisions","pages":[{"title":"Decisions","sidebarTitle":"Decisions","href":"/llm-gateway/decisions"}]},{"group":"API reference","pages":[{"title":"Create a chat completion","openapi":"api-reference/specs/llm-gateway.yaml POST /chat/completions","href":"/llm-gateway/api-reference/create-chat-completion"},{"title":"Create speech understanding","openapi":"api-reference/specs/llm-gateway.yaml POST /understanding","href":"/llm-gateway/api-reference/create-speech-understanding"},{"title":"List available models","openapi":"api-reference/specs/llm-gateway.yaml GET /models","href":"/llm-gateway/api-reference/list-available-models"},{"title":"Create a saved prompt","openapi":"api-reference/specs/llm-gateway.yaml POST /prompts","href":"/llm-gateway/api-reference/create-saved-prompt"},{"title":"Get a saved prompt","openapi":"api-reference/specs/llm-gateway.yaml GET /prompts/{name}","href":"/llm-gateway/api-reference/get-saved-prompt"},{"title":"Update a saved prompt","openapi":"api-reference/specs/llm-gateway.yaml PUT /prompts/{name}","href":"/llm-gateway/api-reference/update-saved-prompt"},{"title":"Delete a saved prompt","openapi":"api-reference/specs/llm-gateway.yaml DELETE /prompts/{name}","href":"/llm-gateway/api-reference/delete-saved-prompt"},{"title":"Create a decision","openapi":"api-reference/specs/llm-gateway.yaml POST /decisions","href":"/llm-gateway/api-reference/create-decision"}]},{"group":"Voice AI Guides","pages":[{"title":"Apply LLM Gateway to Audio Transcripts","sidebarTitle":"Apply LLM Gateway to pre-recorded audio","href":"/llm-gateway/apply-llms-to-audio-files"},{"group":"Basic LLM Gateway workflows","pages":[{"title":"Setup An AI Coach With LLM Gateway","href":"/guides/task-endpoint-ai-coach"},{"title":"Generate Action Items with LLM Gateway","href":"/guides/task-endpoint-action-items"},{"title":"Prompt A Structured Q\u0026A Response Using LLM Gateway","href":"/guides/task-endpoint-structured-QA"},{"title":"Estimate Input Token Costs for LLM Gateway","href":"/guides/counting-tokens"}]},{"group":"Get quotes and citations with LLM Gateway","pages":[{"title":"Extract Dialogue Data with LLM Gateway and JSON","href":"/guides/dialogue-data"},{"title":"Extract Quotes with Timestamps Using LLM Gateway + Semantic Search","href":"/guides/transcript-citations"},{"title":"Extract Transcript Quotes with LLM Gateway","href":"/guides/timestamped-transcripts"}]},{"group":"Substitute Speech Understanding with LLM Gateway","pages":[{"title":"Analyze The Sentiment Of A Customer Call using LLM Gateway","href":"/guides/call-sentiment-analysis"},{"title":"Custom Topic Tags Using LLM Gateway","sidebarTitle":"Custom Topic Tags","href":"/guides/custom-topic-tags"},{"title":"Redact PII from Text Using LLM Gateway","href":"/guides/llm-gateway-pii-redaction"}]},{"group":"Streaming with LLM Gateway","pages":[{"title":"Apply LLM Gateway to Streaming","sidebarTitle":"Apply LLM Gateway to streaming audio","href":"/guides/real_time_llm_gateway"},{"title":"Translate Real-time STT Transcripts with LLM Gateway","href":"/guides/real_time_translation"}]},{"group":"Use-case specific LLM Gateway workflows","pages":[{"title":"Implement a Sales Playbook Using LLM Gateway","href":"/guides/sales-playbook"},{"title":"Segment A Phone Call using LLM Gateway","href":"/guides/phone-call-segmentation"},{"title":"Generate SOAP Notes using LLM Gateway","href":"/guides/soap-note-generation"}]}]}]},{"tab":"FAQ","groups":[{"group":"Overview","root":{"title":"Frequently Asked Questions","sidebarTitle":"Overview","href":"/faq"},"pages":[{"group":"Privacy \u0026 Security","pages":[{"title":"Has AssemblyAI certified to the EU-U.S. Data Privacy Framework?","href":"/faq/has-assemblyai-certified-to-the-eu-us-data-privacy-framework"},{"title":"Can I sign a DPA agreement with AssemblyAI?","href":"/faq/can-i-sign-a-dpa-agreement-with-assemblyai"},{"title":"Can you provide a copy of your most recent penetration test executive summary?","href":"/faq/can-you-provide-a-copy-of-your-most-recent-penetration-test-executive-summary"},{"title":"Can you provide a recent vulnerability scan?","href":"/faq/can-you-provide-a-recent-vulnerability-scan"},{"title":"Will AssemblyAI sign a Business Associate Addendum (BAA) as described in the HIPAA rules and regulations?","href":"/faq/can-you-sign-a-baa"},{"title":"Which AssemblyAI products are covered under the BAA?","href":"/faq/which-products-are-covered-under-the-baa"},{"title":"Do you have a formal risk assessment policy or process?","href":"/faq/do-you-have-a-formal-risk-assessment-policy-or-process"},{"title":"Do you have documented information security policies? If so, how frequently are they updated?","href":"/faq/do-you-have-documented-information-security-policies-if-so-how-frequently-are-they-updated"},{"title":"Do you offer self-hosted solutions?","href":"/faq/do-you-offer-self-hosted-solutions"},{"title":"Do you offer servers in the EU?","href":"/faq/do-you-offer-servers-in-the-eu"},{"title":"Do you support SAML in your product?","href":"/faq/do-you-support-saml-in-your-product"},{"title":"Does AssemblyAI utilize an anti-virus/anti-malware solution across all relevant infrastructure (workstations and servers), and are appropriate response capabilities deployed to respond to alerts?","href":"/faq/does-assemblyai-utilize-an-anti-virus-anti-malware-solution-across-all-relevant-infrastructure-workstations-and-servers-and-are-appropriate-response-capabilities-deployed-to-respond-to-ale"},{"title":"How are incidents escalated within your organization?","href":"/faq/how-are-incidents-escalated-within-your-organization"},{"title":"How do we securely use your service?","href":"/faq/how-do-we-securely-use-your-service"},{"title":"How do you protect production code?","href":"/faq/how-do-you-protect-production-code"},{"title":"How to Access AssemblyAI's Security Reports","href":"/faq/how-to-access-assemblyai-s-security-reports"},{"title":"How to Opt Out of Data Sharing for our Model Improvement Program","href":"/faq/how-to-opt-out-of-data-sharing-for-our-model-improvement-program"},{"title":"Is multi-factor authentication enforced for all access to scoped systems and data?","href":"/faq/is-multi-factor-authentication-enforced-for-all-access-to-scoped-systems-and-data"},{"title":"Does AssemblyAI have a documented process for reviewing and approving third-party service providers?","href":"/faq/is-there-a-documented-process-for-reviewing-and-approving-third-party-service-providers"},{"title":"Does AssemblyAI have an incident response plan?","href":"/faq/please-describe-the-incident-response-plan"},{"title":"What are your recovery time and recovery point objectives?","href":"/faq/what-are-your-recovery-time-and-recovery-point-objectives"},{"title":"What is your SLA for repairing Critical/High/Medium vulnerabilities?","href":"/faq/what-is-your-sla-for-repairing-critical-high-medium-vulnerabilities"},{"title":"What logs are available to customers?","href":"/faq/what-logs-are-available-to-customers"},{"title":"What standards do your internal password policies follow?","href":"/faq/what-standards-do-your-internal-password-policies-follow"},{"title":"Where are your servers located?","href":"/faq/where-are-your-servers-located"},{"title":"Where is my audio, transcript, and prompt data processed?","href":"/faq/where-is-my-audio-transcript-and-prompt-data-processed"}]},{"group":"Pre-recorded audio","pages":[{"title":"Am I charged for transcribing silent audio?","href":"/faq/am-i-charged-for-transcribing-silent-audio"},{"title":"Are Custom Models More Accurate than General Models?","href":"/faq/are-custom-models-more-accurate-than-general-models"},{"title":"Do I Get Charged for Failed API Calls?","href":"/faq/are-customers-charged-for-api-calls-that-result-in-errors"},{"title":"Are there any limits on file size or file duration for files submitted to the API?","href":"/faq/are-there-any-limits-on-file-size-or-file-duration-for-files-submitted-to-the-api"},{"title":"Can I customize how words are spelled by the model?","href":"/faq/can-i-customize-how-words-are-spelled-by-the-model"},{"title":"Can I delete the transcripts I have created using the API?","href":"/faq/can-i-delete-the-transcripts-i-have-created-using-the-api"},{"title":"Can I get a list of all transcripts I have created?","href":"/faq/can-i-get-a-list-of-all-transcripts-i-have-created"},{"title":"Can I send audio to AssemblyAI in segments and still get speaker labels for the whole recording?","href":"/faq/can-i-send-audio-to-assemblyai-in-segments-and-still-get-speaker-labels-for-the-whole-recording"},{"title":"Can I submit files to the API that are stored in a Google Drive?","href":"/faq/can-i-submit-files-to-the-api-that-are-stored-in-a-google-drive"},{"title":"Can I use the API without internet access?","href":"/faq/can-i-use-the-api-without-internet-access"},{"title":"Do we have resources for building with Make?","href":"/faq/do-we-have-resources-for-building-with-make-"},{"title":"Do you have any examples for how to use your API?","href":"/faq/do-you-have-any-examples-for-how-to-use-your-api-"},{"title":"Do you have example use cases for using AssemblyAI?","href":"/faq/do-you-have-example-use-cases-for-using-assemblyai-"},{"title":"Do you offer cross-file Speaker Identification?","href":"/faq/do-you-offer-cross-file-speaker-identification"},{"title":"Do you offer translation?","href":"/faq/do-you-offer-translation"},{"title":"Does it cost extra to export SRT or VTT captions?","href":"/faq/does-it-cost-extra-to-export-srt-or-vtt-captions"},{"title":"Is there a way to generate SRT or VTT captions with speaker labels?","href":"/faq/is-there-a-way-to-generate-srt-or-vtt-captions-with-speaker-labels"},{"title":"Does it cost more to transcribe an audio or video?","href":"/faq/does-it-cost-more-to-transcribe-an-audio-or-video"},{"title":"Does your API return timestamps for individual words?","href":"/faq/does-your-api-return-timestamps-for-individual-words"},{"title":"How are individual speakers identified and how does the Speaker Label feature work?","href":"/faq/how-are-individual-speakers-identified-and-how-does-the-speaker-label-feature-work"},{"title":"How are paragraphs created for the /paragraphs endpoint?","href":"/faq/how-are-paragraphs-created-for-the-paragraphs-endpoint"},{"title":"How are word/transcript level confidence scores calculated?","href":"/faq/how-are-word-transcript-level-confidence-scores-calculated"},{"title":"How can I integrate AssemblyAI with other services?","href":"/faq/how-can-i-integrate-assemblyai-with-other-services-"},{"title":"How can I make certain words more likely to be transcribed?","href":"/faq/how-can-i-make-certain-words-more-likely-to-be-transcribed"},{"title":"How can I test AssemblyAI without writing code?","href":"/faq/how-can-i-test-assemblyai-without-writing-code-"},{"title":"How can I transcribe YouTube videos?","href":"/faq/how-can-i-transcribe-youtube-videos"},{"title":"How do I generate subtitles?","href":"/faq/how-do-i-generate-subtitles"},{"title":"How does AssemblyAI compare to other ASR providers?","href":"/faq/how-does-assemblyai-compare-to-other-asr-providers"},{"title":"How does Automatic Language Detection work?","href":"/faq/how-does-language-detection-work-for-transcriptions"},{"title":"How does the API handle files that contain spoken audio in multiple languages?","href":"/faq/how-does-the-api-handle-files-that-contain-spoken-audio-in-multiple-languages"},{"title":"How long does it take to transcribe a file?","href":"/faq/how-long-does-it-take-to-transcribe-a-file"},{"title":"What should I do if I'm getting an error?","href":"/faq/i-am-getting-an-error-what-should-i-do"},{"title":"Is there a Postman collection for using the API?","href":"/faq/is-there-a-postman-collection-for-using-the-api"},{"title":"Is there a way for us to send the start time / end time for transcription instead of transcribing the whole length of a call recording?","href":"/faq/is-there-a-way-for-us-to-send-the-start-time-end-time-for-transcription-instead-of-transcribing-the-whole-length-of-a-call-recording"},{"title":"Is there an OpenAPI spec/schema for the API?","href":"/faq/is-there-an-openapi-spec-schema-for-the-api"},{"title":"What causes a \"read operation timed out\" error?","sidebarTitle":"read operation timed out\" error","href":"/faq/read-operation-timed-out-error"},{"title":"Should I use Speaker Labels or Multi-channel?","href":"/faq/should-i-use-speaker-labels-or-multi-channel"},{"title":"Should I use the NA or EU endpoint for my Speech-to-Text requests?","href":"/faq/should-i-use-the-na-or-eu-endpoint"},{"title":"What are the recommended options for audio noise reduction?","href":"/faq/what-are-the-recommended-options-for-audio-noise-reduction"},{"title":"What audio and video file types are supported by your API?","href":"/faq/what-audio-and-video-file-types-are-supported-by-your-api"},{"title":"What IP Address Should I Whitelist for AssemblyAI?","href":"/faq/what-ip-address-should-i-whitelist-for-assemblyai"},{"title":"What is the minimum audio duration that the API can transcribe?","href":"/faq/what-is-the-minimum-audio-duration-that-the-api-can-transcribe"},{"title":"What is the recommended file type for using your API?","href":"/faq/what-is-the-recommended-file-type-for-using-your-api"},{"title":"What types of audio URLs can I use with the API?","href":"/faq/what-types-of-audio-urls-can-i-use-with-the-api"},{"title":"Where can I find a list of recent changes to the API?","href":"/faq/where-can-i-find-a-list-of-recent-changes-to-the-api"},{"title":"Where can I find cURL code examples?","href":"/faq/where-can-i-find-curl-code-examples"},{"title":"Why can't I access recording URLs from the /upload endpoint directly?","href":"/faq/why-cant-i-access-urls-from-the-upload-endpoint-directly"}]},{"group":"Streaming audio","pages":[{"title":"Can I use speaker diarization with Streaming Speech-to-Text?","href":"/faq/can-i-use-speaker-diarization-with-live-audio-transcription"},{"title":"How accurate is your Streaming transcription compared to Async transcription?","href":"/faq/how-accurate-is-your-real-time-transcription-compared-to-async-transcription"},{"title":"How does streaming session-based pricing work?","href":"/faq/how-does-universal-streaming-session-based-pricing-work"},{"title":"What languages are supported for Streaming Speech-to-text?","href":"/faq/language-support-for-real-time-transcription"},{"title":"Resolving SSL Certificate Verification Error When Trying to Use Real-time STT","href":"/faq/resolving-ssl-certificate-verification-error-in-assemblyai-real-time-transcriber"},{"title":"I am getting a \"Model deprecated. See docs for new model information\" error message. What does it mean?","href":"/faq/upgrading-to-the-universal-streaming-model"}]},{"group":"Dictation","pages":[{"title":"How do I add voice typing to my app?","href":"/faq/how-do-i-add-voice-typing-to-my-app"},{"title":"Should I use Dictation, Streaming, or Pre-recorded for voice input?","href":"/faq/should-i-use-dictation-streaming-or-pre-recorded-for-voice-input"}]},{"group":"Speech understanding","pages":[{"title":"How do Content Moderation severity scores work?","href":"/faq/how-do-content-moderation-severity-scores-work"},{"title":"How can I summarize my audio file?","href":"/faq/how-do-your-summarization-models-work"},{"title":"Is Mistral still supported?","href":"/faq/is-mistral-still-supported"},{"title":"Is pricing for Speech Understanding per feature or all-inclusive?","sidebarTitle":"Is pricing for Speech Understanding per feature or all inclusive?","href":"/faq/is-pricing-for-audio-intelligence-per-feature-or-all-inclusive"}]},{"group":"LLM Gateway","pages":[{"title":"Understanding Input and Output Tokens for LLM Gateway","href":"/faq/understanding-input-and-output-tokens-for-llm-gateway"}]},{"group":"Playground","pages":[{"title":"Can you use the Playground with files in languages other than English?","href":"/faq/can-you-use-the-playground-with-files-in-languages-other-than-english"},{"title":"How do I delete a transcript I created using the Playground?","href":"/faq/how-do-i-delete-a-transcript-i-created-using-the-playground"},{"title":"Why is the transcription I am receiving using the Playground in a different language?","href":"/faq/why-is-the-transcription-i-am-receiving-using-the-playground-in-a-different-language"}]},{"group":"Company","pages":[{"title":"Do you have an affiliate marketing program?","href":"/faq/do-you-have-an-affiliate-marketing-program"},{"title":"Do you have any job openings or internship opportunities?","href":"/faq/do-you-have-any-job-openings-or-internship-opportunities"},{"title":"How do I get in touch with your Sales team?","href":"/faq/how-do-i-get-in-touch-with-your-sales-team"},{"title":"Iβve spotted an issue with the website, what should I do?","sidebarTitle":"I've spotted an issue with the website, what should I do?","href":"/faq/ive-spotted-an-issue-with-the-website-what-should-i-do"},{"title":"How do I contact support and what are your response time SLAs?","href":"/faq/what-are-your-support-hours-and-response-time-slas"},{"title":"What is your API Uptime SLA?","href":"/faq/what-is-your-api-uptime-sla"},{"title":"Where can I find AssemblyAI's product roadmap?","href":"/faq/where-can-i-find-assemblyais-product-roadmap"}]}]}]}]},"basePath":"","title":"π¦οΈπ LangChain Integration with AssemblyAI - AssemblyAI","deploymentId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","buildId":"dpl_J2QdBVuN65x4CCtpqPb371YPt4xi","dynamics":["10e4515597"],"chunks":["BannerMarkdown-Cm-LN0H3.js","dist-DWEsd3cZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}