KeywordFallbackAssistant

Keyword-search-only fallback AI assistant implementation. Used on Desktop, iOS, and Android fdroid flavor.

Constructors

Link copied to clipboard
constructor(searchEngine: KeywordSearchEngine)

Properties

Link copied to clipboard
open override val modelStatus: StateFlow<ModelReadiness>

Current model readiness state for lifecycle/download UX.

Functions

Link copied to clipboard
open suspend override fun answer(question: String, currentPageId: String? = null): AIDocAssistantResult

Answer a user question about Meshtastic using bundled documentation context.

Link copied to clipboard
open override fun answerStream(question: String, currentPageId: String? = null): Flow<AIDocAssistantResult>

Answer a user question about Meshtastic, streaming the results as they arrive.

Link copied to clipboard
open suspend override fun isSupported(): Boolean

Whether the AI assistant is available on the current platform/device.

Link copied to clipboard
open override fun resetSession()

Reset the conversation session. Call when starting a new conversation thread.