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

33 lines
1.1 KiB
Elixir
Raw 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.TextExtractionResult do
@moduledoc """
Plain text and Markdown extraction result.
Contains the extracted text along with statistics and,
for Markdown files, structural elements like headers and links.
"""
@typedoc "Plain text and Markdown extraction result."
@type t :: %__MODULE__{
content: String.t() | nil,
line_count: non_neg_integer(),
word_count: non_neg_integer(),
character_count: non_neg_integer(),
headers: [String.t()] | nil,
links: [[String.t()]] | nil,
code_blocks: [[String.t()]] | nil
}
defstruct content: nil,
line_count: 0,
word_count: 0,
character_count: 0,
headers: nil,
links: nil,
code_blocks: nil
end