Releases: ollama/ollama-python
Releases · ollama/ollama-python
v0.4.1
v0.4.0
New Features
- Add Pydantic for validation and serialization by @mxyng in #276
- Passing Functions as Tools by @ParthSareen in #321
- No head request for create blob by @mxyng in #277
- Deprecate embeddings from docs in favor of embed by @royjhan in #216
Chores
- Examples refactor by @ParthSareen in #329
- chore: add python3.13 to test matrix by @mxyng in #324
- Update requirements.txt and poetry.lock by @ParthSareen in #315
- update pyproject.toml by @mxyng in #284
- Bump pytest from 8.3.2 to 8.3.3 by @dependabot in #278
- Bump ruff from 0.6.3 to 0.6.5 by @dependabot in #281
- Bump pydantic from 2.9.0 to 2.9.2 by @dependabot in #318
- Bump ruff from 0.6.9 to 0.7.4 by @dependabot in #322
- add basic delete/copy tests by @mxyng in #275
Full Changelog: v0.3.3...v0.4.0
v0.3.3
v0.3.2
What's Changed
- Add URL path to client URL in in Client._parse_host() by @bplunkert in #170
- IPv6 support by @jbinder in #262
- Bump pytest-httpserver from 1.0.12 to 1.1.0 by @dependabot in #252
- Bump pytest-asyncio from 0.23.8 to 0.24.0 by @dependabot in #260
- Bump ruff from 0.5.5 to 0.6.2 by @dependabot in #261
New Contributors
- @bplunkert made their first contribution in #170
- @jbinder made their first contribution in #262
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
- update to
llama3.1
by @jmorganca in #237 - fix: tool_calls response parsing by @zeelrupapara in #236
- Update
Message
annotations to support tool calls by @Shulyaka in #227
New Contributors
- @jmorganca made their first contribution in #237
- @zeelrupapara made their first contribution in #236
- @Shulyaka made their first contribution in #227
Full Changelog: v0.3.0...v0.3.1
v0.3.0
v0.2.1
What's Changed
- add done reason to generate type responses by @BruceMacD in #154
- Python API PS by @royjhan in #177
- Avoid side effects if chat message contains images by @tillfalko in #158
- Add py.typed to mark the library as typed by @davep in #129
New Contributors
- @royjhan made their first contribution in #177
- @tillfalko made their first contribution in #158
- @davep made their first contribution in #129
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- doc(README) : add prerequisites by @adriens in #45
- fix: annotation in AsyncClient.embedding by @jingfelix in #145
- Update README.md by @TitanStar73 in #138
- Update README.md link still point legacy url by @veinkr in #135
- remove old options by @mxyng in #152
- add quantization to create requests by @mxyng in #150
Note
Generate and chat options num_gqa
, rope_frequency_base
, and rope_frequency_scale
has been removed.
New Contributors
- @adriens made their first contribution in #45
- @jingfelix made their first contribution in #145
- @TitanStar73 made their first contribution in #138
- @veinkr made their first contribution in #135
Full Changelog: v0.1.9...v0.2.0
v0.1.9
What's Changed
- modified embeddings return annotation by @N-Vlahovic in #114
- fix 'content' check on messages in chat() by @DSLstandard in #118
New Contributors
- @N-Vlahovic made their first contribution in #114
- @DSLstandard made their first contribution in #118
Full Changelog: v0.1.8...v0.1.9