AlgorithmicSummaryProvider

Algorithmic DiscoverySummaryAiProvider that delegates to the deterministic DiscoverySummaryGenerator.

Used wherever no on-device AI model is available: Desktop, iOS, and the Android F-Droid flavor. Registered with binds = [] so it is injectable by concrete type but is not auto-bound to DiscoverySummaryAiProvider; each platform binds the interface explicitly (the Google flavor binds the Gemini Nano provider instead).

Constructors

Link copied to clipboard
constructor(generator: DiscoverySummaryGenerator)

Properties

Link copied to clipboard
open override val isAvailable: Boolean = true

Whether this provider is ready to generate AI summaries.

Functions

Link copied to clipboard
open suspend override fun generatePresetSummary(result: DiscoveryPresetResultEntity): String

Generate a per-preset summary. Returns null on failure.

Link copied to clipboard
open suspend override fun generateSessionSummary(session: DiscoverySessionEntity, presetResults: List<DiscoveryPresetResultEntity>): String

Generate a session-level summary across all preset results. Returns null on failure.