johnny0120
|
22d6d2ac53
|
fix: avoid JSONDecodeError for empty line stream response
|
2024-12-25 05:42:27 +00:00 |
|
Tomoya Fujita
|
7d1e002be9
|
examples: use type hinting generics in standard collections for structured outputs (#389)
---------
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Co-authored-by: ParthSareen <parth.sareen@ollama.com>
|
2024-12-20 13:31:21 -08:00 |
|
Michael Yang
|
4daf4afdb6
|
Merge pull request #384 from akx/export-image-model
fix: export Image model
|
2024-12-17 12:59:50 -08:00 |
|
Aarni Koskela
|
9057705bc0
|
fix: export Image model
Allows construction of `Message(..., images=Image(value=...))` without having to import from `._types`
|
2024-12-17 13:31:25 +02:00 |
|
Parth Sareen
|
70dd0b7e63
|
fix: structured outputs example (#364)
|
2024-12-07 20:01:21 -08:00 |
|
Jeffrey Morgan
|
1066246ab5
|
fix validation of format field to allow empty strings as it did previously (#369)
|
2024-12-07 19:37:55 -08:00 |
|
Parth Sareen
|
4b10dee2b2
|
Structured outputs support with examples (#354)
|
2024-12-05 15:40:49 -08:00 |
|
dependabot[bot]
|
e956a331e8
|
Merge pull request #358 from ollama/dependabot/pip/pytest-8.3.4
|
2024-12-03 21:15:57 +00:00 |
|
dependabot[bot]
|
12f7302d5f
|
Bump pytest from 8.3.3 to 8.3.4
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.3 to 8.3.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4)
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-12-02 23:33:31 +00:00 |
|
Parth Sareen
|
366180aa8f
|
Improve tool example to showcase chatting (#352)
|
2024-11-29 20:34:19 -08:00 |
|
Parth Sareen
|
d6528cf731
|
Fix image serialization for long image string (#348)
|
2024-11-28 14:12:55 -08:00 |
|
Julia Scheaffer
|
b50a65b27d
|
Add Callable type annotation for Tools (#344)
|
2024-11-27 09:53:26 -08:00 |
|
Jeffrey Morgan
|
758a1d2933
|
make subscription methods more consistent
|
2024-11-26 10:52:45 -08:00 |
|
Jeffrey Morgan
|
d4c38978d1
|
Update ollama/_types.py
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
|
2024-11-26 10:41:53 -08:00 |
|
Jeffrey Morgan
|
d8d98e17b2
|
Update ollama/_types.py
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
|
2024-11-26 10:41:50 -08:00 |
|
Jeffrey Morgan
|
ec2c8fdd8d
|
Update ollama/_types.py
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
|
2024-11-26 10:41:45 -08:00 |
|
Jeffrey Morgan
|
ea0e0dc692
|
Update ollama/_types.py
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
|
2024-11-26 10:35:57 -08:00 |
|
Shahil Yadav
|
6c44bb2729
|
Fix chat-with-history.py example (#337)
Fix chat-with-history.py example
---------
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
|
2024-11-24 10:49:46 -08:00 |
|
jmorganca
|
2095fc9107
|
make subscription methods more consistent with maps
|
2024-11-23 19:02:28 -08:00 |
|
Jeffrey Morgan
|
64e3723e6b
|
Merge pull request #334 from ollama/mxyng/hasattr-none
|
2024-11-23 18:27:22 -08:00 |
|
jmorganca
|
1e22f2e118
|
add test case for explicit None
|
2024-11-23 18:22:38 -08:00 |
|
jmorganca
|
00c64332cc
|
check defaults that aren't None too
|
2024-11-23 18:15:05 -08:00 |
|
Michael Yang
|
986fb4c7b3
|
fix: skip tests on examples, readme
|
2024-11-23 16:44:09 -08:00 |
|
Michael Yang
|
c6ade633b8
|
fix: hasattr checks if attr is None
|
2024-11-23 16:44:09 -08:00 |
|
Michael Yang
|
2e05cde1a5
|
Merge pull request #330 from ollama/parth/qol-disable-tests-for-readmes-and-examples
Disable tests for READMEs and examples
|
2024-11-21 15:19:22 -08:00 |
|
ParthSareen
|
bfea240300
|
Disable tests for readmes and examples
|
2024-11-21 15:16:40 -08:00 |
|
Parth Sareen
|
64c1eb78ff
|
Examples refactor (#329)
* Examples and README updates
---------
Co-authored-by: fujitatomoya <tomoya.fujita825@gmail.com>
Co-authored-by: Michael Yang <mxyng@pm.me>
|
2024-11-21 15:14:59 -08:00 |
|
Parth Sareen
|
139c89e833
|
Passing Functions as Tools (#321)
* Functions can now be passed as tools
|
2024-11-20 15:49:50 -08:00 |
|
dependabot[bot]
|
da2893b099
|
Merge pull request #318 from ollama/dependabot/pip/pydantic-2.9.2
|
2024-11-19 19:05:41 +00:00 |
|
Michael Yang
|
da5582ff14
|
Merge pull request #324 from ollama/mxyng/python3.13
chore: add python3.13 to test matrix
|
2024-11-19 10:40:18 -08:00 |
|
Michael Yang
|
5ec4d23893
|
chore: update requirements.txt
|
2024-11-19 10:39:22 -08:00 |
|
dependabot[bot]
|
d0d7894f88
|
Bump pydantic from 2.9.0 to 2.9.2
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.9.0 to 2.9.2.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v2.9.0...v2.9.2)
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-11-19 18:37:53 +00:00 |
|
dependabot[bot]
|
1fea8a8867
|
Merge pull request #322 from ollama/dependabot/pip/ruff-0.7.4
|
2024-11-19 18:34:32 +00:00 |
|
Michael Yang
|
52510cca53
|
chore: add python3.13 to test matrix
|
2024-11-19 10:24:54 -08:00 |
|
dependabot[bot]
|
425bce2329
|
Bump ruff from 0.6.9 to 0.7.4
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.9 to 0.7.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.9...0.7.4)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-11-15 22:30:48 +00:00 |
|
Michael Yang
|
dc38fe4675
|
Merge pull request #277 from ollama/mxyng/no-head
no head request for create blob
|
2024-11-08 11:20:43 -08:00 |
|
Michael Yang
|
a92f111fc8
|
Merge pull request #276 from ollama/mxyng/pydantic
add pydantic for validation and serialization
|
2024-11-08 11:20:28 -08:00 |
|
Parth Sareen
|
72052188c3
|
Fixing empty header + ensuring security (#313)
* Fixing empty header + ensuring security
|
2024-11-08 10:03:14 -08:00 |
|
Parth Sareen
|
f25834217b
|
Pydantic Fixes and Tests (#311)
* Added SubscriptableBaseModel to the Model classes and added Image codec test
---------
Co-authored-by: Parth Sareen <parth@Parths-MacBook-Pro.local>
|
2024-11-08 10:02:55 -08:00 |
|
Michael Yang
|
b0da4ff2d8
|
no head
this request is unnecessary since the POST will short circuit the
request if the blob already exists
|
2024-11-08 09:59:04 -08:00 |
|
Michael Yang
|
0bbc246007
|
pydantic types
|
2024-11-08 09:59:03 -08:00 |
|
Parth Sareen
|
a7571423d3
|
Update requirements.txt and poetry.lock (#315)
* Update requirements.txt and poetry.lock
|
2024-11-07 14:46:41 -08:00 |
|
dependabot[bot]
|
ebe332b29d
|
Merge pull request #281 from ollama/dependabot/pip/ruff-0.6.5
|
2024-09-19 16:37:37 +00:00 |
|
dependabot[bot]
|
9bcd0d6b33
|
Merge pull request #278 from ollama/dependabot/pip/pytest-8.3.3
|
2024-09-19 16:37:28 +00:00 |
|
Michael Yang
|
f3e72b6c4f
|
update pyproject.toml (#284)
|
2024-09-18 16:34:54 -07:00 |
|
Michael Yang
|
61c8d0d440
|
add basic delete/copy tests (#275)
|
2024-09-18 12:35:27 -07:00 |
|
dependabot[bot]
|
7fda5c9dae
|
Bump ruff from 0.6.3 to 0.6.5
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.3 to 0.6.5.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.3...0.6.5)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-09-13 22:26:57 +00:00 |
|
Patrick Devine
|
1ec88ed994
|
Merge pull request #216 from ollama/royh/embed-docs
Deprecate embeddings from docs in favor of embed
|
2024-09-12 17:14:07 -07:00 |
|
royjhan
|
a26537c188
|
update docs
|
2024-09-12 17:10:29 -07:00 |
|
Patrick Devine
|
eff2afd827
|
update docs
|
2024-09-12 16:49:38 -07:00 |
|