View Source TextChunker.Chunk (TextChunker v0.3.1)

Defines the Chunk struct, representing a contiguous block of text extracted during the splitting process. It stores the text content along with its corresponding byte range within the original input text.

Summary

Types

@type t() :: %TextChunker.Chunk{
  end_byte: integer(),
  start_byte: integer(),
  text: String.t()
}