← 开源
ai-ng

swift

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

ApplicationsPersonalTypeScript
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
590
Star
132
Fork
+0
本周
2
贡献者
创建于 2024-05-19 · 更新于 2026-09-16 · 今日第 16364 名
主要开发者
n1ckoatesrudrodip
README

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.
排名相邻
同类项目