UNPKG

@notes-sync/service

Version:

Background service for AI-powered note synchronization

14 lines (13 loc) 651 B
import { AIProvider, GenerateQuoteRequest, GenerateQuoteResponse, GenerateQueryRequest, GenerateQueryResponse, AIConfig } from '@notes-sync/shared'; export declare class GeminiProvider implements AIProvider { private apiKey; private model; readonly name = "gemini"; private config; private ai; constructor(apiKey: string, model: string | undefined, quoteConfig: AIConfig['features']['dailyQuotes']); generateQuote(request: GenerateQuoteRequest): Promise<GenerateQuoteResponse>; private buildQuotePrompt; processQuery(request: GenerateQueryRequest): Promise<GenerateQueryResponse>; private parseQuoteResponse; }