llm-voice-bot icon indicating copy to clipboard operation
llm-voice-bot copied to clipboard

Speak (speech-to-text) to Ollama LLMs in any lanaguage - Streamlit app

🎙️ Voice LLM Bot

Speak to Ollama LLMs in any language.

Demo (📢 voice on)

https://github.com/iamaziz/llm-voice-bot/assets/3298308/e444d4db-f8d9-4b7d-996d-cb783d704c61


Note


Interesting how LLMs responded differently to switching languages in the same conversation. Almost all the tested models understood the question in its original langauge, but they varied in how they reponded. Mistral models consistently answered in English. While other models stumbled going back and forth.

Here are some examples:

mistral image

dolphin-mistral image

llama2:13b image

qwen:7b image

gemma:7b (worst) image

And GPT-4 for comparison:

image