ExLLM.Core.FunctionCalling.Function (ex_llm v0.8.1)

View Source

Represents a callable function/tool.

Summary

Types

t()

@type t() :: %ExLLM.Core.FunctionCalling.Function{
  description: String.t(),
  handler: (map() -> any()) | nil,
  name: String.t(),
  parameters: map(),
  validation: (map() -> {:ok, map()} | {:error, term()}) | nil
}