Ollama v0.40.11在macOS加入语音生成
Ollama v0.40.11在macOS加入语音生成功能,采用Gradium开发的Phonon文本转语音模型系列,这是该平台首个受支持的语音模型系列。用户可通过Ollama命令在生成音频时朗读文本或聊天模型回复,应用也可通过兼容OpenAI的/v1/audio/speech接口流式传输音频。9to5Mac称,该功能现可用于运行Ollama 0.40.11或更高版本的Apple Silicon Mac,Windows和Linux支持则被描述为即将推出。
此次更新将Ollama的本地模型平台从文本扩展至实时语音,并提供命令行播放及兼容OpenAI的音频接口。
Speech
Ollama can now generate speech on macOS. ollama run plays text or a chat model's reply aloud as the audio is generated, and apps can stream audio through the OpenAI-compatible /v1/audio/speech endpoint.
ollama run phonon "Hello from Ollama."d3 decision models
d3 brings vLLM Semantic Router's decision models to Ollama. Give a model text, structured state, or an image, and ask it to classify, answer yes or no, or score options with probabilities. The family includes 2B, 4B, 9B, and 27B sizes.
ollama run d3 "A customer says their card was charged twice." --ask "Is this a billing issue?"New Contributors
- @SynapShift made their first contribution in #19173
Full Changelog: v0.40.10...v0.40.11