Current section

Files

Jump to
liter_llm lib liter_llm response_format.ex
Raw

lib/liter_llm/response_format.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:dee9943443ab4f04c87643f1b031a763effa599b3844d9b939f9323416d1943c
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule LiterLlm.ResponseFormat do
@moduledoc "Response format constraint."
@typedoc "Response format constraint."
@type t :: term()
@typedoc "Plain text output (default)."
@type text :: :text
@typedoc "Output must be valid JSON object (no schema validation)."
@type json_object :: :json_object
@typedoc "Output must conform to the specified JSON schema."
@type json_schema :: %{type: :json_schema, json_schema: LiterLlm.JsonSchemaFormat.t()}
end