Implement a local AI backend (ollama/llava) #42
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The Phase 4 acceptance criterion states a local-only deployment can disable cloud AI
entirely. Family photographs are private, and sending every one of them to a third-party
API is a choice some deployments will not want to make.
Scope
A local AI backend (ollama with a vision model such as llava) behind the existing
AIBackendinterface.Implementation notes
interface leaked provider-specific assumptions, this is where it shows.
in the evidence
reliabilityassigned to their output, and be explicit in the UI aboutwhich backend produced a given piece of evidence — a reviewer weighing AI evidence needs
to know its provenance.
more likely to return malformed JSON, so validation must be strict and failures must
be retryable.
and do not treat a slow local run as a failure.
dashboard has something meaningful to show.
external API — verified by test, not by inspection.
Done when
References
docs/circa-spec.mdPhase 4 acceptance criteriaDepends on: #3 (AI analysis job handler).