dart_ollama 0.1.5 copy "dart_ollama: ^0.1.5" to clipboard
dart_ollama: ^0.1.5 copied to clipboard

discontinuedreplaced by: llm_ollama

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.4 - 2025-06-09 #

Added #

  • Fixing of tests for chatgpt and how it handles tools

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.2 - 2025-06-09 #

Added #

  • Tool handling of arrays with multiple types were missing

0.1.1 - 2025-06-09 #

Added #

  • Missed tool handling for arrays, added it and tool test for arrays

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 OllamaRepository for 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
1
likes
150
points
33
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

License

MIT (license)

Dependencies

http

More

Packages that depend on dart_ollama