Jeffrey Morgan
|
7a6ab044c6
|
Fix create examples (#421)
|
2025-01-15 22:43:44 -08:00 |
|
Samhita Alla
|
eefe5c9666
|
remove sha256 as it's already available in the digest (#420)
|
2025-01-15 22:31:30 -08:00 |
|
Aarni Koskela
|
89e719ab92
|
chore: bump ruff and ensure imports are sorted (#385)
* chore: upgrade ruff & sort imports
|
2025-01-14 16:34:16 -08:00 |
|
Parth Sareen
|
02495ffd77
|
example: update create example (#418)
|
2025-01-13 18:00:28 -08:00 |
|
Patrick Devine
|
2cad1f5428
|
Merge pull request #417 from ollama/pdevine/create-api
add create api changes
|
2025-01-13 17:27:25 -08:00 |
|
ParthSareen
|
d9746ead51
|
fix stuff
|
2025-01-13 17:25:49 -08:00 |
|
ParthSareen
|
c7d4f1674a
|
Revert "make 3.8 happy"
This reverts commit ba27e71a20.
|
2025-01-13 17:23:38 -08:00 |
|
ParthSareen
|
ba27e71a20
|
make 3.8 happy
|
2025-01-13 17:17:10 -08:00 |
|
ParthSareen
|
fbf94d8660
|
Update poetry plugin + generate lock
|
2025-01-13 17:08:24 -08:00 |
|
Patrick Devine
|
2434443b88
|
whackamole
|
2025-01-13 16:57:17 -08:00 |
|
Patrick Devine
|
2be0bcf92a
|
python <3.9 errors
|
2025-01-13 16:51:59 -08:00 |
|
Patrick Devine
|
fc8585eabd
|
feed ruff
|
2025-01-13 16:42:31 -08:00 |
|
Patrick Devine
|
f5c8ee0a3e
|
fix async client
|
2025-01-13 15:54:16 -08:00 |
|
Patrick Devine
|
a0388b2e32
|
unhide create_blob
|
2025-01-13 15:22:26 -08:00 |
|
ParthSareen
|
f718dab45d
|
Make ruff happy
|
2025-01-13 15:01:02 -08:00 |
|
Patrick Devine
|
4dec73e8be
|
add unit tests
|
2025-01-13 14:53:10 -08:00 |
|
ParthSareen
|
4f9fb88137
|
Add custom serializer for CreateRequest + tests
|
2025-01-13 11:03:18 -08:00 |
|
ParthSareen
|
bee11029f7
|
Model serializer to handler from keyword
|
2025-01-12 23:19:44 -08:00 |
|
Patrick Devine
|
427b0c6291
|
create api
|
2025-01-12 22:48:16 -08:00 |
|
Parth Sareen
|
ee349ecc6d
|
bugfix: fix passing Image type in messages for chat (#390)
---------
Co-authored-by: Aarni Koskela <akx@iki.fi>
|
2024-12-29 14:43:07 -08: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 |
|