New Project

Swift – AI Voice Assistant

Fast voice assistant powered by Groq, Cartesia, VAD, and Vercel.

DeployView Demo

Swift

Swift is a fast AI voice assistant.

  • Groq is used for fast inference of OpenAI Whisper (for transcription) and Meta Llama 3 (for generating the text response).
  • Cartesia's Sonic voice model is used for fast speech synthesis, which is streamed to the frontend.
  • VAD is used to detect when the user is talking, and run callbacks on speech segments.
  • The app is a Next.js project written in TypeScript and deployed to Vercel.

Thank you to the teams at Groq and Cartesia for providing access to their APIs for this demo!

Developing

  • Clone the repository
  • Copy .env.example to .env.local and fill in the environment variables.
  • Run pnpm install to install dependencies.
  • Run pnpm dev to start the development server.
GitHub Repoai-ng/swift
LicenseView License
Use Cases
AI
Stack
Next.js
Tailwind

Related Templates

Chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel
Chatbot thumbnail

Hume AI - Empathic Voice Interface Starter

This template creates a voice chat using Hume AI's Empathic Voice Interface.
Hume AI - Empathic Voice Interface Starter thumbnail

RAGBot Starter — An Astra DB and OpenAI chatbot

Starter project for creating a chatbot using Astra DB and OpenAI.
RAGBot Starter — An Astra DB and OpenAI chatbot thumbnail
DeployView Demo