Spiwux
Joined 5 years ago
Karma
287
Submissions
40
Member since
Jan 11
Joined 5 years ago
Why, exactly, do we need to put a memory cache such as Redis in front of Postgres? Postgres has its own in-memory cache that it updates on reads and writes, right? What makes Postgres' cache so much worse than a dedicated Redis?
I think the main issue right now for personal use would be cost (and I'm guessing STT / TTS are the most expensive parts..)
User speaks and speech to text starts streaming text while the user is still speaking. That text stream is piped into a LLM, which also streams its output text. That output text is streamed to text-to-speech, which also generates audio in a streaming manner.