PackageTrack
Sign in Get early access

ai_abstracted

Provider-agnostic generative AI: one set of contracts for text, image, video, speech, sound-effect, and music generation across many providers.

0.3.0 SimonErich/dart_ai_abstracted

What this package is like to depend on

Last release 18 days ago

05 Aug 2026

Too new to tell

only 2 dated releases

Nearly every release is documented

notes for 2 of 2 stable releases

Nothing withdrawn

no release was ever pulled

1 months old

2 releases · first in 2026

2 releases in the last 12 months

see the full history below

Release timeline

2 releases · Jul 2026 to Aug 2026
Release Pre-release

Releases

latest 2
  1. 0.3.0 05 Aug 2026
    Release notes

    feat: forward TextRequest.image on Mistral and Ollama, cap Ollama out…

    Open source →
    Release notes
    • OllamaTextClient and MistralTextClient now forward TextRequest.image, so vision works on every text provider rather than only Claude and Gemini. Ollama sends bare base64 in its per-message images array; Mistral sends an OpenAI-style image_url content part with a data: URI. Pick a multimodal model — a text-only one rejects the request with AiInvalidRequestException.
    • Behavior change OllamaTextClient now maps TextRequest.maxTokens onto options.num_predict. Ollama previously ran unbounded regardless of the field; generations are now capped at the requested budget (default 4096). Raise maxTokens if you relied on the old unbounded behavior.
    • A Mistral request without an image keeps its content a plain string rather than a single-element parts array, so text-only models are unaffected.
    Open source →
  2. 0.1.0 06 Jul 2026
    Release notes

    First public release.

    • Provider-agnostic contracts for text, image, video, speech, sound-effect, and music generation, each a single async method that takes a typed request and returns a GenerationResult (bytes plus normalized metadata).
    • A shared HTTP transport with exponential backoff, jittered retries, and async-job polling for the providers that run long jobs.
    • Typed error hierarchy (AiException and friends) that maps HTTP status codes to auth, rate-limit, invalid-request, transient, and timeout failures.
    • Clients for Google Gemini (text and image), Google Veo (video, with Veo 3 audio), OpenAI (image), Black Forest Labs FLUX (image), ElevenLabs (speech and sound effects), Suno (music), Anthropic Claude (text), Mistral (text), and Ollama (local text).
    • Multi-turn conversations (TextRequest.history) and an optional image on the current turn (TextRequest.image) for vision-capable text models.
    • An environment credential loader, a provider registry, and an in-memory fake for every capability so downstream code stays testable without a network.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive