LemonAi. Types. Model
(lemon_ai v0.1.0)
View Source
Model definition with capabilities and pricing
Summary
Types
@type input_type() :: :text | :image
@type t() :: %LemonAi.Types.Model{ api: atom() | String.t(), base_url: String.t(), compat: map() | nil, context_window: non_neg_integer(), cost: LemonAi.Types.ModelCost.t(), headers: map(), id: String.t(), input: [input_type()], max_tokens: non_neg_integer(), name: String.t(), provider: atom() | String.t(), reasoning: boolean() }