I found this project which is just a couple of small python scripts glueing various tools together: https://github.com/vndee/local-talking-llm

It’s pretty basic, but couldn’t find anything more polished. I did a little “vibe coding” to use a faster Chatterbox fork, stream the output back so I don’t have to wait for the entire LLM to finish before it starts “talking,” start recording on voice detection instead of the enter key, and allow interruption of the agent. But, like most vibe-coded stuff, it’s buggy. Was curious if there was something better that already exists before I commit to actually fixing the problems and pushing a fork.

  • Sims@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    18 hours ago

    I haven’t followed that closely lately, but KoljaB on github had some interesting repos. Also ‘livekit’ is new and afaik creates an audio agent. No personal experience though…

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      Nice, that’s quite an assortment of random stuff from speaker diarization to full-blown virtual assistants with avatars. Probably worth having a look when tinkering around with Python and AI. By the way, Livekit is a WebRTC video conferencing toolkit. I didn’t know they had AI agents in there. Guess I can build my own callcenter now. Or the AI granny (Youtube), I’ve always wanted something like that answer my landline calls. 😆

  • SmokeyDope@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    Kobold.CPP has pretty good TTS model integration I used OuteTTS model when I played around with it but theres also API integration with commercial ones like kokoro.

    However, I’m no sure if its able to stream to a TTS model as the llm is generating when I tried it just waited till after output to send to voice model you may need to do some documentation reading to see if real time streaming is possible if you go that route.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    I got a bonus question… Is there a good end-to-end voice conversation solution? I’d like to try something which directly processes the audio and returns audio, rather than the whole pipeline with vad -> stt -> llm -> tts