AssemblyAI Launches Starter App For Encore To Simplify Speech AI Development
AssemblyAI has unveiled a new starter app for Encore, aiming to simplify the process of developing and deploying Speech AI applications. This new tool is designed for Go developers and offers a comprehensive solution to transcribe audio files and analyze conversations, according to AssemblyAI.
What is Encore?
Encore is a development platform that facilitates the creation and management of APIs and event-driven systems. With a generous free tier, it is particularly appealing for developers working on prototypes or hobby projects. The platform streamlines the process of getting a Speech AI application up and running, making it easy to share with team members or friends.
Introducing the AssemblyAI Starter App
The newly introduced assemblyai-starter app allows developers to bootstrap a Speech AI application using a single command. To get started, users need to install the Encore CLI:
- macOS:
brew install encoredev/tap/encore - Windows:
iwr https://encore.dev/install.ps1 | iex - Linux:
curl -L https://encore.dev/install.sh | bash
Once installed, developers can create an Encore app from the AssemblyAI starter template and configure it using their AssemblyAI API key and webhook secret. The app can then be deployed with a simple Git push command.
How to Use the App
The AssemblyAI starter app features a user-friendly interface to upload local audio files for transcription. The app supports Speaker Diarization, allowing users to identify who spoke and when. Transcriptions are managed through a straightforward UI, where users can upload files, monitor transcription status, and view completed transcriptions.
App Architecture Overview
The app architecture comprises three main components:
- A frontend built with React and Tailwind CSS
- A backend developed using Go and the AssemblyAI Go SDK
- A PostgreSQL database to store completed transcripts
The workflow involves uploading audio files through the frontend, which are then submitted to AssemblyAI for transcription via the backend. Once the transcription is complete, the data is stored in the database, and the frontend retrieves and displays the transcribed conversation.
To avoid constantly polling AssemblyAI for updates, the app uses webhooks to notify the backend when a transcription is ready.
Developing Locally
For local development, Docker is required to replicate the cloud environment. Developers can run the application locally with the encore run command, which sets up a Docker-based environment mirroring the cloud setup. Any backend changes will build and restart the service automatically, while frontend changes require a rebuild using npm run build.
Summary
The AssemblyAI starter app for Encore offers a robust starting point for Go developers interested in exploring Speech AI. With easy setup and comprehensive features, it simplifies the process of building, deploying, and managing Speech AI applications.
Image source: ShutterstockCrypto Treasuries Chase A New Kind Of Capital
There is a peculiar irony at the heart of the crypto treasury movement. Companies that staked their futures on digital a... Read more
What Strategy's Bitcoin Sale Really Tells Us
There is a moment in every bull run when the narrative starts to fray. Not with a crash, not with a scandal, but with so... Read more
The Clock Is Ticking On UK Stablecoins
The world is not waiting for Britain to make up its mind. While the United States and the European Union have spent the ... Read more
From Cypherpunk To Citadel
How Crypto Moved from the Wild West to the Mainstream Financial SystemA long-form analysis of Bitcoin's journey from fri... Read more
Tether Plots Global Expansion
Stablecoin leader seeks to transform itself from crypto plumbing provider into a broad “freedom tech” conglomerateTe... Read more
World Liberty Seeks Federal Trust Charter
World Liberty Financial, the crypto venture backed by the Trump family, has applied for a US national bank trust charter... Read more