Model

interface Model

Properties

Link copied to clipboard
Link copied to clipboard

The level this model reads attachments at, by the provider's own name (such as HIGH for Gemini or ORIGINAL for OpenAI), or null for the provider's default. Reported to the platform with each run.

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun sendRequest(messages: List<Message>, tools: List<ToolDescription>, structuredOutputParameter: Parameter?): ModelResponse