Kreuzberg.ContentLayer (kreuzberg v4.9.5)

Copy Markdown View Source

Enumeration of content layers within a document.

Matches the Rust ContentLayer enum.

Values

  • :body - Main body content
  • :header - Header content
  • :footer - Footer content
  • :footnote - Footnote content

Summary

Functions

Returns all valid ContentLayer values.

Types

t()

@type t() :: :body | :header | :footer | :footnote

Functions

values()

@spec values() :: [t()]

Returns all valid ContentLayer values.

Examples

iex> Kreuzberg.ContentLayer.values()
[:body, :header, :footer, :footnote]