Current section
Files
Jump to
Current section
Files
lib/xberg/chunk_classification_definition.ex
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e21c71a5751b345136e5ca51dea30bbd3862f7fdc63aa50e6b36be84c454e0e
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.ChunkClassificationDefinition do
@moduledoc """
A single labeled definition the chunk classifier may emit.
Unlike `PageClassificationConfig::labels` (bare label names), chunk
classification targets potentially large domain taxonomies where every
label carries its own semantic description, letting the LLM disambiguate
similarly named labels without relying on the label string alone.
"""
@typedoc "A single labeled definition the chunk classifier may emit."
@type t :: %__MODULE__{
label: String.t() | nil,
description: String.t() | nil
}
defstruct label: nil,
description: nil
end