Expand description
Optional Ollama HTTP harness for inference when the native Qualia GGUF path is unavailable or the principal explicitly selects Ollama.
Not the primary engine. Qualia remains Local GGUF / wgpu in-process. This harness is opt-in so chat, ETL scaffolding, and later CML/logic gates can still run against a reachable Ollama (or OpenAI-compatible) endpoint while native inference is brought up.
Wire format: Ollama REST (/api/tags, /api/generate, /api/chat).
Network I/O is confined to this module; callers pass prompts already
augmented by Qualia retrieval / ontology routing.
Structs§
- Ollama
Generate Result - One completed generation (non-streaming).
- Ollama
Harness - Ollama
Model Info - Ollama
Status - Operator-visible probe of a configured Ollama endpoint.
Constants§
- DEFAULT_
OLLAMA_ BASE_ URL - Default local Ollama base URL (override via settings or
OLLAMA_HOST).
Functions§
- probe_
configured_ ollama - Convenience: probe using currently persisted settings.
- probe_
configured_ ollama_ async