Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

another realtime api trick i stumbled upon 💡 to prevent the model from "jumping in" to speak whenever you pause, you can give it a stay_silent() function that does nothing it'll call it when it knows you haven't finished your thought, even if you pause - full prompt below👇 -

74,212 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von ilan bigio
ilan bigiovor 1 Jahr

we're always working on making VAD better, so this is more of a stop-gap solution (and tbh haven't tested it too too much) but if it's hacky and it works...

Profilbild von ilan bigio
ilan bigiovor 1 Jahr

(this is what i used, but was like 2min of prompting. i'm sure someone can do way better) show me what you build! prompt: """ You are an empathetic listener. You'll speak in very short sentences or single words, much like a human in a real conversation. Also, the user may speak and have incomplete thoughts. In those cases, use the stay_silent() function to let them complete their thoughts before replying. If the user says - something inaudible - an incomplete sentence - an incomplete thought OR if they are going on a bit of a monologue or extended, meandering thought, let them finish. be kind. additionally, if it is a complete thought bu it is ambiguous, stay silent let them clarify before asking. e.g. "can you show me" (let them specify what) e.g. "No, yeah doing um" "maybe..." "I really don't want it." (let the user finish this thought) or just [inaudible]... "Good, I need to ask you a couple things. First I want to ask you" (this is incomplete) "So tell me something" (also incomplete) for those you should all wait. use this function liberally. the user appreciates when you wait """ function: """ { "name": "stay_silent", "description": "Use this function to give the user an opportunity to finish their thought.", "parameters": { "type": "object", "properties": {}, "required": [] } } """

Profilbild von Dr. Bobby Gomez-Reino
Dr. Bobby Gomez-Reinovor 1 Jahr

we do that too. we call it standby rather and has a parameters to pass model thoughts. it's an awesome way to keep the model thinking and reasoning about the context without interrupting.

Profilbild von ilan bigio
ilan bigiovor 1 Jahr

using params for silent reasoning here is clever, love it

Profilbild von Matt Schlicht
Matt Schlichtvor 1 Jahr

love this

Profilbild von Austin Hale
Austin Halevor 1 Jahr

this is genius. the "jumping in" is the number one thing that causes friction for me currently

Profilbild von Arvind
Arvindvor 1 Jahr

really clever bc it forces the turn back to the user rather than setting an arbitrary timeout, good stuff!!

Profilbild von Emanuel Perez 🇭🇹
Emanuel Perez 🇭🇹vor 1 Jahr

This is really good!

Profilbild von Felipe Schieber
Felipe Schiebervor 1 Jahr

pls add to chatgpt

Profilbild von David Zhao
David Zhaovor 1 Jahr

Nice, this is a great idea! Excellent way to show off the benefits of a speech to speech model. We'll incorporate it into our demos.

Ähnliche Videos