lalanikarim/webrtc-ai-voice-chat

A WebRTC server that allows you to interact with an LLM using your speech and responds back with generated audio.

145

stars

36

commits

Python

primary language

Jun 18, 2024

updated

Browse cluster: LLM-powered speech synthesis and voice chat

README

WebRTC AI Voice Chat

Overview

The goal of this project is to demo speech <-> langchain <-> audio workflow.

  1. Speech to text is using OpenAI's open source Whisper mini model.
  2. Chat model used for this demo is Microsoft's Phi3 model running locally using Ollama.
  3. Text to Audio is using Suno's open source Bark small model.

For interesting projects and related resources, checkout the Awesome Projects Page.

Demo

Unmute the audio to hear responses

https://github.com/lalanikarim/webrtc-ai-voice-chat/assets/1296705/7aa05d6f-ff05-4c72-b2e8-6e4e1119a68c

Contributors

lalanikarim

36 commits

lalanikarim/webrtc-ai-voice-chat

A WebRTC server that allows you to interact with an LLM using your speech and responds back with generated audio.

145

stars

36

commits

Python

primary language

Jun 18, 2024

updated

Browse cluster: LLM-powered speech synthesis and voice chat

README

WebRTC AI Voice Chat

Overview

The goal of this project is to demo speech <-> langchain <-> audio workflow.

  1. Speech to text is using OpenAI's open source Whisper mini model.
  2. Chat model used for this demo is Microsoft's Phi3 model running locally using Ollama.
  3. Text to Audio is using Suno's open source Bark small model.

For interesting projects and related resources, checkout the Awesome Projects Page.

Demo

Unmute the audio to hear responses

https://github.com/lalanikarim/webrtc-ai-voice-chat/assets/1296705/7aa05d6f-ff05-4c72-b2e8-6e4e1119a68c

Contributors

lalanikarim

36 commits

Languages

Python

45.3%

CSS

21.5%

JavaScript

20.9%

HTML

12.2%