3 ms·
Used ollama as part of a bash pipeline for a tiny throwaway app. It blocks until there is something on the mic, then sends the wav to whisper.cpp, which then s
by porridgeraisin 3y ago
Used ollama as part of a bash pipeline for a tiny throwaway app.
It blocks until there is something on the mic, then sends the wav to whisper.cpp, which then sends it to llama which picks out a structured "remind me" object from it, which gets saved to a text file.
- killermouse0 3y agoWould you share that code? I'm not familiar with using the mic in Linux, but interested to do something similar!
- nbbaier 3y agoI'd also be really interested in seeing this
- awayto 3y agoI made something pretty similar over winter break so I could have something read books to me. ... Then it turned into a prompting mechanism of course! It uses Whisper, Ollama, and TTS from CoquiAI. It's written in shell and should hopefully be "Posix-compliant", but it does use zenity from Ubuntu; not sure how widely used zenity is. https://github.com/jcmccormick/runtts https://github.com/jcmccormick/runtts