Files
fil/packages/elixir/lib/kreuzberg/page_structure.ex
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

27 lines
851 B
Elixir
Generated

# 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.PageStructure do
@moduledoc """
Unified page structure for documents.
Supports different page types (PDF pages, PPTX slides, Excel sheets)
with character offset boundaries for chunk-to-page mapping.
"""
@typedoc "Unified page structure for documents."
@type t :: %__MODULE__{
total_count: non_neg_integer(),
unit_type: String.t() | nil,
boundaries: [map()] | nil,
pages: [map()] | nil
}
defstruct total_count: 0,
unit_type: :page,
boundaries: nil,
pages: nil
end