DEPRECATED
This package is deprecated. Please use symfony/ai-ollama-platform instead, which is part of the official Symfony AI Platform component.
Important
This library is no longer maintained. Use Symfony AI components as replacement.
See the Symfony AI Platform documentation for usage.
This is a PHP client for the Ollama API.
$ composer require jdecool/ollama-client
use JDecool\OllamaClient\ClientBuilder;
$builder = new ClientBuilder();
$client = $builder->create();