Lux.LLM.Response (Lux v0.5.0)

View Source

A response from an LLM.

Summary

Types

t()

@type t() :: %Lux.LLM.Response{
  content: String.t() | nil,
  finish_reason: String.t() | nil,
  structured_output: map() | nil,
  tool_calls: [%{type: String.t(), name: String.t(), params: map()}]
}