Lux.LLM behaviour (Lux v0.5.0)
View SourceA module for interacting with LLMs. Defines the behaviours for LLMs and provides a default implementation.
Summary
Functions
See Lux.LLM.OpenAI.call/3
.
Types
Callbacks
@callback call(prompt(), tools(), options()) :: {:ok, Lux.LLM.Response.t()} | {:error, String.t()}