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:5f17ebe676822cfa77ea15c5d293e0cac18cf5c5fd2e4c3c2b8974a130abfd16
# 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