GeminiModels

interface GeminiModels

Wrapper around GenAI SDK Models to allow mocking in tests.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun generateContent(model: String, contents: List<ERROR CLASS: Symbol not found for GenAiContent>, config: ERROR CLASS: Symbol not found for com.google.genai.kotlin.types.GenerateContentConfig): ERROR CLASS: Symbol not found for GenAiGenerateContentResponse
Link copied to clipboard
abstract fun generateContentStream(model: String, contents: List<ERROR CLASS: Symbol not found for GenAiContent>, config: ERROR CLASS: Symbol not found for com.google.genai.kotlin.types.GenerateContentConfig): ERROR CLASS: Symbol not found for Flow<ERROR CLASS: Symbol not found for GenAiGenerateContentResponse>