Local AI Tool Ollama Releases v0.40.11 with Streaming TTS for Mac and d3 Decision Model
Ollama, a tool for running AI models locally, has released version v0.40.11, introducing two key features: streaming text-to-speech (TTS) powered by Gradium's Phonon model, and the integration of the d3 decision model developed by the vLLM Semantic Router team. This update expands Ollama's capabilities beyond simple chatbot execution, enabling real-time voice output and specialized classification tasks on personal computers.
For audio generation, the new version allows Macs with Apple silicon to convert text or AI chat responses into speech instantly, playing it back as it is generated without waiting for the full audio file. Developers can access this feature via an OpenAI-compatible API, supporting up to 4,096 characters per request with WAV and PCM output formats. The Phonon model offers a 31-million-parameter English version (Apache 2.0 license) and a 40-million-parameter multilingual version (CC BY-NC 4.0 license), supporting English, French, German, Spanish, and Portuguese. However, Chinese language support is not yet available. Official tests indicate that using Apple's MLX framework accelerates generation speed by 35% compared to Gradium's own environment on an M5 Max MacBook Pro.
The second major addition is the d3 decision model, designed to classify, judge, and score input content based on user-defined options and criteria, providing probability distributions for each choice. For instance, customer service systems can use d3 to automatically categorize inquiries as billing, refund, or technical issues, routing them to the appropriate department. While d3 can analyze static images, it does not support video and does not generate comprehensive answers like general chat models. Voice functionality for Windows and Linux platforms is expected in future updates.
Sources:iThome