Current section

Files

Jump to
liter_llm lib liter_llm ocr_document.ex
Raw

lib/liter_llm/ocr_document.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:ba657952768c5f5d5944344aa80ee8eea5ebdd71e9ac890aa89428c3de49085b
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule LiterLlm.OcrDocument do
@moduledoc "Document input for OCR — either a URL or inline base64 data."
@typedoc "Document input for OCR — either a URL or inline base64 data."
@type t :: term()
@typedoc "A publicly accessible document URL."
@type url :: %{type: :url, url: String.t()}
@typedoc "Inline base64-encoded document data."
@type base64 :: %{type: :base64, data: String.t(), media_type: String.t()}
end