dart_ollama 0.1.5
dart_ollama: ^0.1.5 copied to clipboard
A Dart package for interacting with Ollama and ChatGPT APIs. Supports streaming chat responses, tool/function calling, image support, and both Ollama and ChatGPT backends.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.5 - 2025-06-12 #
Breaking changes #
- Removed tools from repository level, added to message instead for more flexible handling
0.1.3 - 2025-06-09 #
Added #
- To ensure package works on web, switched out all dart:io with http package
- Made the tests more robust; some tool calls could run a tool multiple times instead of just once as desired
- Added more documentation to satisfy pub dev requirements
0.1.0 - 2024-06-08 #
Added #
- Initial release of dart_ollama package
- Support for Ollama chat streaming with
OllamaChatRepository - Support for ChatGPT chat streaming with
ChatGPTChatRepository - Tool/function calling support for both backends
- Image support in chat messages
- Thinking support for Ollama
- Basic repository functionality with
OllamaRepositoryfor model management - Comprehensive test coverage
- Example implementation
Features #
- Streaming chat responses
- Tool/function calling
- Image support
- Multiple backend support (Ollama and ChatGPT)
- Thinking support for Ollama
- Model management utilities