正在加载视频...

视频加载失败

I'm annoyed with voice AIs that interrupt me before I'm done speaking 😠 So here's a demo (sound on! 🔉) where it only speaks when I'm done talking, and stops when I interrupt it. It's crazy how much more natural this feels! Deets below 👇🧵

136,312 次观看 • 2 年前 •via X (Twitter)

10 条评论

Zain Shah 的头像
Zain Shah2 年前

Super simple recipe: 1) Speech transcript is formatted like a screenplay w user and AI as speakers 2) LLM continuously predicts the future of the transcript 3) if LLM predicts user will keep speaking, it waits 4) if LLM predicts AI will start speaking, it speaks prediction aloud

Zain Shah 的头像
Zain Shah2 年前

Core ingredients: ✅ real-time speech recognition w diarization ✅ a fast LLM w completion API ✅ interruptible speech synthesis

eric 的头像
eric2 年前

woah amazing how little latency there is looking to build / improve my own systems soon, just wondering if this is what you're also using / recommend: - faster-whisper / distil-whisper for stt - pyannote for diarization - quantized 7B model for fast llm - elevenlabs turbo or equivalent tts with streaming api - silero vad

Zain Shah 的头像
Zain Shah2 年前

I think all of that should work! Fwiw my stack is v vanilla haha: * STT: deepgram streaming API w diarization enabled * LLM: GPT-3.5-turbo-instruct * TTS: WebSpeech API * no vad 🙊

Jeremy Howard 的头像
Jeremy Howard2 年前

This is great!

Gabriel Garrett 的头像
Gabriel Garrett2 年前

this is such an improvement. my 5 year old talks to chatGPT thru voice and gets so frustrated when it keeps talking over her, or starts responding before she's done talking, and doesn't stop to listen

Sebastian Rojo 的头像
Sebastian Rojo2 年前

Fascinated by your demo, I'm the maintainer of Vocode Python at Any plans to open-source this? If so, I'd love to discuss integrating it into our library, widely used by developers for voice LLMS apps.

ra 的头像
ra2 年前

Is there a repo for this? It’s so nice 😍

Thomas H. Chapin IV 的头像
Thomas H. Chapin IV2 年前

Very nice! Reminds me of some of the ideas I posted last year!

Zain Shah 的头像
Zain Shah2 年前

actually yes, totally same wavelength! Great minds think alike

相关视频