Packages

Minimal Elixir AI SDK scaffolding for streaming text with tool calls.

Current section

Files

Jump to
ai_sdk_ex lib ai model.ex
Raw

lib/ai/model.ex

defmodule AI.Model do
@moduledoc """
Model struct used by providers.
"""
defstruct [:provider, :model_id, :options, :http_client]
@type t :: %__MODULE__{
provider: module(),
model_id: String.t(),
options: map(),
http_client: term()
}
end