Commit Graph

221 Commits

Author SHA1 Message Date
ParthSareen
92a1cd92e3 Delete extra async examples 2024-11-20 14:34:24 -08:00
ParthSareen
6fa242894f Update examples and readme 2024-11-20 14:15:41 -08:00
ParthSareen
61633fe5b6 Update readme 2024-11-20 13:45:38 -08:00
ParthSareen
ffe7588093 Update examples and readmes 2024-11-20 13:45:38 -08:00
ParthSareen
238f142a5c Examples and readme updates 2024-11-20 13:45:38 -08:00
ParthSareen
c5c61a3b04 Better docstring parsing and some fixes 2024-11-19 18:04:24 -08:00
ParthSareen
6d9c156080 Addressing comments + cleanup + optional tool 2024-11-19 16:54:26 -08:00
ParthSareen
a4ec34a386 Add better messaging for chat 2024-11-19 09:51:58 -08:00
ParthSareen
ed3ba8a734 Code style updates 2024-11-18 22:01:27 -08:00
ParthSareen
0d9eec0264 Add tool.model_validate 2024-11-18 09:57:06 -08:00
ParthSareen
7396ab6cdd Simplified parsing and fixed required - added tests 2024-11-17 23:52:13 -08:00
ParthSareen
e7bb55f5b4 Add yields and test 2024-11-17 21:28:16 -08:00
ParthSareen
718412ac82 Making good use of pydantic 2024-11-17 21:20:34 -08:00
ParthSareen
16c868a937 Update to have graceful handling and not raise - added tests as well 2024-11-15 11:50:08 -08:00
ParthSareen
7c5c294b6b Code cleanup + organize and add tests for type serialization 2024-11-14 15:11:50 -08:00
ParthSareen
7dcb598d6f Test unhappy parse path 2024-11-14 14:47:23 -08:00
ParthSareen
ca16670475 Code cleanup and organization 2024-11-14 14:31:19 -08:00
ParthSareen
f452fab2a3 Add str -> str valid json mapping and add test 2024-11-14 14:02:30 -08:00
ParthSareen
e68700c1f0 Python3.8+ compatibility 2024-11-14 12:31:46 -08:00
ParthSareen
2cc0b40615 Typing fix 2024-11-14 12:16:56 -08:00
ParthSareen
67321a8936 Organization, cleanup, pydantic serialization, update tests 2024-11-14 12:09:18 -08:00
ParthSareen
fe8d1432ea WIP 2024-11-13 22:59:21 -08:00
ParthSareen
1f089f749e Stringify return type arrays to not break server 2024-11-13 09:53:27 -08:00
ParthSareen
2efa54a93a Walrus op for cleanup 2024-11-12 13:47:20 -08:00
ParthSareen
efb775b8ed Multi-line docstrings and exhaustive tests 2024-11-11 16:36:28 -08:00
ParthSareen
8ec5123eef Trying stuff out 2024-11-11 15:54:49 -08:00
ParthSareen
97aa167531 WIP trying tests out 2024-11-11 15:12:08 -08:00
ParthSareen
d79538e568 Ruff fix 2024-11-11 14:22:02 -08:00
ParthSareen
aa20015ef5 Exhaustive type matching 2024-11-11 14:19:18 -08:00
ParthSareen
e5dc2b847f add annotations import for old tests 2024-11-11 11:14:07 -08:00
ParthSareen
93c7a6351a wip 2024-11-11 11:11:51 -08:00
ParthSareen
1ef75a77ee TODOs 2024-11-10 23:32:02 -08:00
ParthSareen
0e5a940d60 Formatting and todos 2024-11-10 23:15:08 -08:00
ParthSareen
8fee892b5a Add tool parsing and processing 2024-11-10 22:59:54 -08:00
ParthSareen
afe7db65be Managing multiple type options 2024-11-08 16:56:11 -08:00
ParthSareen
438360339c WIP tool parsing 2024-11-08 15:47:33 -08: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