Home / Companies / AssemblyAI / Blog / Post Details
Content Deep Dive

How to integrate spoken audio into LlamaIndex.TS using AssemblyAI

Blog post from AssemblyAI

Post Details
Company
Date Published
Author
Niels Swimberghe
Word Count
940
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

In this tutorial, you will learn how to create an application that can answer questions about an audio file using LlamaIndex.TS and its new integration with AssemblyAI's speech-to-text APIs. LlamaIndex is a flexible data framework for connecting custom data sources to large language models (LLMs). However, LLMs only operate on textual data and do not understand what is said in audio files. With the recent contribution of an integration with AssemblyAI to LlamaIndex.TS, developers can now transcribe audio files to text within LlamaIndex. The tutorial guides you through setting up a TypeScript Node.js project, configuring environment variables for OpenAI and AssemblyAI API keys, using LlamaIndex.TS to build a Q&A application, transcribing an audio file with the AudioTranscriptReader provided by AssemblyAI's integration, and querying the index for answers. Finally, you can explore LeMUR in the Playground using the link provided.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 10 1,884 250 103 -28%
Vector Search 3 906 144 68 -61%
Secrets Management 2 369 78 52 -42%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.