Files
fil/packages/elixir/lib/kreuzberg/recognized_table.ex

27 lines
964 B
Elixir
Raw Permalink Normal View History

2026-06-01 23:40:55 +02:00
# 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.RecognizedTable do
@moduledoc """
Pre-computed table markdown for a table detection region.
Produced by the TATR-based table structure recognizer and surfaced as part of
layout-aware OCR results. The struct lives here (under `layout-types`, pure-Rust)
so that consumers who do not enable `layout-detection` (ORT) can still reference
the type in their own code.
"""
@typedoc "Pre-computed table markdown for a table detection region."
@type t :: %__MODULE__{
detection_bbox: map(),
cells: [[String.t()]],
markdown: String.t() | nil
}
defstruct detection_bbox: nil,
cells: [],
markdown: nil
end