50 Commits

Author SHA1 Message Date
Jeffrey Morgan dbccf192ac Add image generation support (#616)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2026-01-23 00:33:52 -08:00
Parth Sareen 0008226fda client/types: add logprobs support (#601)
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-11-12 18:08:42 -08:00
Parth Sareen 9ddd5f0182 examples: fix model web search (#589)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-09-24 15:53:51 -07:00
Parth Sareen d967f048d9 examples: gpt oss browser tool (#588)
---------

Co-authored-by: nicole pardal <nicolepardall@gmail.com>
2025-09-24 15:40:53 -07:00
Parth Sareen ab49a669cd examples: add mcp server for web_search web_crawl (#585)
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-09-23 21:54:43 -07:00
nicole pardal 16f344f635 client/types: update web search and fetch API (#584)
test / test (push) Waiting to run
test / lint (push) Waiting to run
---------

Co-authored-by: ParthSareen <parth.sareen@ollama.com>
2025-09-23 13:27:36 -07:00
Parth Sareen d0f71bc8b8 client: load OLLAMA_API_KEY on init (#583)
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-09-22 20:28:40 -07:00
Parth Sareen b22c5fdabb init: fix export for web_search (#581)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-09-19 10:06:30 -07:00
Parth Sareen 4d0b81b37a client: add web search and web crawl capabilities (#578)
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-09-18 16:51:20 -07:00
Mark Ward 9f41447f20 examples: make gpt-oss resilient for failed tool calls (#569)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-09-02 13:58:36 -07:00
Parth Sareen da79e987f0 examples: fix gpt-oss-tools-stream for adding toolcalls (#568)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-08-21 13:44:59 -07:00
Bryon Tjanaka c8392d6524 Fix link for thinking-levels.py (#567)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
Resolves #554
2025-08-20 00:19:07 -07:00
Parth Sareen 07ab287cdf examples/gpt-oss: fix examples (#566)
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-08-19 11:08:57 -07:00
Parth Sareen c87604c66f examples: add gpt-oss browser example (#558)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-08-11 16:59:26 -07:00
Devon Rifkin aa4b476f26 add support for 'high'/'medium'/'low' think values
currently only supported on gpt-oss, but as more models come out with
support like this we'll likely relax the particular values that can be
provided
2025-08-07 14:39:36 -07:00
Parth Sareen dad9e1ca3a examples: add gpt-oss tools (#549) 2025-08-05 15:58:55 -07:00
Parth Sareen fe91357d4b examples: update to use gemma3 (#543)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-07-22 16:27:16 -07:00
Parth Sareen b23d79d8b5 types: add context_length to ProcessResponse (#538)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-07-09 15:40:00 -07:00
Parth Sareen 33488eee06 types/examples: add tool_name to message and examples (#537) 2025-07-09 14:23:33 -07:00
Hunter Wittenborn 4c11d507b0 Remove unused messages variable from thinking-generate example 2025-05-30 16:58:16 -05:00
Devon Rifkin e0253ab627 fully add thinking support to generate()
https://github.com/ollama/ollama-python/pull/521 missed some calls
2025-05-30 13:41:23 -07:00
Devon Rifkin f8c6cd5131 add thinking example to example index 2025-05-27 11:36:45 -07:00
Devon Rifkin eaad6df5ef add support for thinking
To support https://github.com/ollama/ollama/pull/10584
2025-05-27 00:35:28 -07:00
JRinaldi 5d7c63fae1 types: add capabilities to show response. (#511)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-05-14 19:27:48 -07:00
Michael Yang 5ae5f816bb Merge pull request #445 from ollama/mxyng/hatch
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
use hatch instead of poetry
2025-05-06 11:03:28 -07:00
Paul.DX 3eaa83781d docs: Update example links (#461)
test / test (3.10) (push) Has been cancelled
test / test (3.11) (push) Has been cancelled
test / test (3.12) (push) Has been cancelled
test / test (3.13) (push) Has been cancelled
test / test (3.8) (push) Has been cancelled
test / test (3.9) (push) Has been cancelled
test / lint (push) Has been cancelled
Modify the names and links of the Multimodal with Images
2025-03-31 16:58:04 -07:00
ddbit aec125c773 examples: update tools.py to handle type casting from tool arguments (#443)
---------

Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
2025-02-14 09:50:47 -08:00
Parth Sareen 967fd657f1 client: improve error messaging on connection failure (#398)
*iImprove error messaging on connection failure
2025-01-16 13:55:17 -08:00
Jeffrey Morgan 7a6ab044c6 Fix create examples (#421) 2025-01-15 22:43:44 -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
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
Parth Sareen 70dd0b7e63 fix: structured outputs example (#364) 2024-12-07 20:01:21 -08:00
Parth Sareen 4b10dee2b2 Structured outputs support with examples (#354) 2024-12-05 15:40:49 -08:00
Parth Sareen 366180aa8f Improve tool example to showcase chatting (#352) 2024-11-29 20:34:19 -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
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
royjhan 33c4b61ff9 add insert support to generate endpoint (#215)
* add suffix

* update fill-in-the-middle example

* keep example

* lint

* variables
2024-07-18 11:04:17 -07:00
Josh 359c63daa7 integrate tool calls (#213) 2024-07-17 09:40:49 -07:00
royjhan 982d65fea0 Simple Example (#179) 2024-06-18 13:23:07 -07:00
Michael Yang c74dd5835d create example 2024-02-02 12:20:05 -08:00
Bruce MacDonald 9bfa1d1ecf fix pull example typo 2024-01-22 19:03:05 -05:00
Michael Yang 81e253997d examples: add pull progress readme 2024-01-18 11:20:54 -08:00
Michael Yang 89c4b54316 examples: add async chat 2024-01-18 11:20:48 -08:00
Michael Yang 8497ffa3d4 examples: rename directories 2024-01-18 11:20:36 -08:00
Michael Yang a01b48814a add example for pulling with progress bar 2024-01-17 14:37:11 -08:00
Michael Yang e8a66b8de1 examples 2023-12-21 17:00:31 -08:00
Michael Yang 47c934c74b format 2023-12-21 14:21:02 -08:00
Michael Yang 83295d9c2d add infill example 2023-12-21 09:17:08 -08:00
Michael Yang 4fb93dcb0c initial commit 2023-12-20 12:09:49 -08:00