ai_bridge_ollama 0.1.0
ai_bridge_ollama: ^0.1.0 copied to clipboard
Ollama provider for Flutter AI Bridge — local, private AI inference with Llama, Mistral, and more.
ai_bridge_ollama #
Local Ollama provider for the ai_bridge_core framework — run AI models locally for offline/edge computing using Llama, Mistral, and more.
Features #
- Full Ollama Chat API with streaming
- Tool/Function calling support
- Embeddings via local models
- Custom
baseUrlfor remote Ollama instances - Image attachment support
- Zero cloud dependency — fully offline Edge AI
Usage #
import 'package:ai_bridge_ollama/ai_bridge_ollama.dart';
final provider = OllamaProvider(
config: AIConfig(apiKey: '', model: 'llama3.2'),
);
final response = await provider.complete([AIMessage.user('Hello!')]);
License #
MIT