# Model

interface Model

Interface that provides a common interface for interacting with different LLMs.

#### Inheritors

GenaiPrompt
Gemini

## Properties

name
Link copied to clipboard
abstract val name: String

The name of the model.

## Functions

generateContent
Link copied to clipboard
abstract fun generateContent(request: LlmRequest, stream: Boolean = false): Flow<LlmResponse>

Generates content for the given LlmRequest. This returns a Flow of LlmResponses.