Files
fil/packages/elixir/lib/kreuzberg/code_content_mode.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

31 lines
950 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.CodeContentMode do
@moduledoc """
Content rendering mode for code extraction.
Controls how extracted code content is represented in the `content` field
of `ExtractionResult`.
"""
@typedoc "Content rendering mode for code extraction."
@type t :: :chunks | :raw | :structure
@chunks :chunks
@raw :raw
@structure :structure
@doc "Use TSLP semantic chunks as content (default)."
@spec chunks() :: t()
def chunks, do: @chunks
@doc "Use raw source code as content."
@spec raw() :: t()
def raw, do: @raw
@doc "Emit function/class headings + docstrings (no code bodies)."
@spec structure() :: t()
def structure, do: @structure
end