Packages

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

Current section

Files

Jump to
ai_sdk_ex lib ai_sdk_ex.ex
Raw

lib/ai_sdk_ex.ex

defmodule AiSdkEx do
@moduledoc """
Backwards-compatible entrypoint that delegates to `AI`.
"""
@doc """
Delegates to `AI.stream_text/1`.
"""
defdelegate stream_text(opts), to: AI
@doc """
Delegates to `AI.tool/1`.
"""
defdelegate tool(opts), to: AI
end