AssemblyAI has announced a new starter app for Encore, which aims to simplify the process of developing and deploying Speech AI applications. According to AssemblyAI, the new tool is designed for Go developers and provides a comprehensive solution for transcribing audio files and analyzing conversations.
What is Encore?
Encore is a development platform that makes it easy to create and manage APIs and event-driven systems. Its generous free tier makes it especially attractive for developers working on prototypes and hobbyist projects. The platform streamlines the process of getting your voice AI application up and running, and makes it easy to share with team members and friends.
Introducing the AssemblyAI starter app
Newly introduced assemblyai-starter The app allows developers to bootstrap their Speech AI applications with a single command. To get started, users will 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 with an AssemblyAI API key and webhook secret, then the app can be deployed with a simple Git push command.
How to use the app
The AssemblyAI starter app provides a user-friendly interface for uploading 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, allowing users to upload files, monitor transcription status, and view completed transcriptions.
App architecture overview
The app's architecture consists of three main components:
- Frontend built with React and Tailwind CSS
- Backend developed using Go and the AssemblyAI Go SDK
- A PostgreSQL database to store the completed transcripts
In this workflow, the front-end uploads audio files and sends them through the back-end to AssemblyAI for transcription. Once transcription is complete, the data is stored in a database and the front-end retrieves and displays the transcribed conversation.
To avoid constantly polling AssemblyAI for updates, the app uses a webhook to notify the backend when a transcription is ready.
Local development
For local development, Docker is required to replicate the cloud environment. Developers can: encore run The commands set up a Docker-based environment that mirrors your cloud configuration: backend changes are automatically built and restarted, while frontend changes are automatically restarted. npm run build.
summary
The AssemblyAI starter app for Encore is a powerful starting point for Go developers interested in exploring Speech AI. With easy setup and comprehensive functionality, it simplifies the process of building, deploying, and managing Speech AI applications.
Image credit: Shutterstock
