v0.1.24
版本发布时间: 2024-02-08 11:02:10
ollama/ollama最新发布版本:v0.1.38(2024-05-15 08:28:00)
OpenAI API Compatibility
This release adds initial compatibility support for the OpenAI Chat Completions API.
curl http://localhost:11434/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "llama2",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello!"
}
]
}'
See the OpenAI compatibility docs for more information.
New Models
- Qwen 1.5: Qwen 1.5 is a new family of large language models by Alibaba Cloud spanning from 0.5B to 72B.
What's Changed
- Fixed issue where requests to
/api/chat
would hang when providing emptyuser
messages repeatedly - Fixed issue on macOS where Ollama would return a missing library error after being open for a long period of time
New Contributors
- @easp made their first contribution in https://github.com/ollama/ollama/pull/2340
- @mraiser made their first contribution in https://github.com/ollama/ollama/pull/1849
Full Changelog: https://github.com/ollama/ollama/compare/v0.1.23...v0.1.24
1、 ollama-darwin 30.34MB
2、 Ollama-darwin.zip 167.78MB
3、 ollama-linux-amd64 271.19MB
4、 ollama-linux-arm64 259.33MB