# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule Kreuzberg.OcrExtractionResult do
  @moduledoc """
  OCR extraction result.

  Result of performing OCR on an image or scanned document,
  including recognized text and detected tables.
  """

  @typedoc "OCR extraction result."
  @type t :: %__MODULE__{
          content: String.t() | nil,
          mime_type: String.t() | nil,
          metadata: map(),
          tables: [map()],
          ocr_elements: [map()] | nil,
          internal_document: String.t() | nil
        }

  defstruct content: nil,
            mime_type: nil,
            metadata: %{},
            tables: [],
            ocr_elements: nil,
            internal_document: nil
end
