Speak to Ollama LLMs in any language.
demo.mov
Note
- If a langauge is not available in the dropdown list, it can be added here.
- Thanks to streamlit_mic_recorder.
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:
And GPT-4 for comparison:
![image](https://private-user-images.githubusercontent.com/3298308/308070235-028e6136-d886-4421-9ae4-aa90273827d9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU0MzAwODYsIm5iZiI6MTcyNTQyOTc4NiwicGF0aCI6Ii8zMjk4MzA4LzMwODA3MDIzNS0wMjhlNjEzNi1kODg2LTQ0MjEtOWFlNC1hYTkwMjczODI3ZDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDRUMDYwMzA2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmMzYTA4NjRjOWI5YWRmODJlNWQxYTk4ZDVjYjk2NWQ1ZGMwODYxMmEwMTZkYmQzODlhZjI3Y2UxNWM5YTc1YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.DXAXpkpK7ln2HyXS0c5_M3IcE5ApV8IbgfIF7W7W4Ic)