TextChunkingConfig

org.llm4s.llmconnect.encoding.UniversalEncoder.TextChunkingConfig
final case class TextChunkingConfig(enabled: Boolean, size: Int, overlap: Int)

Controls how extracted text is split before embedding.

Value parameters

enabled

When false, the full extracted text is embedded as a single unit.

overlap

Number of characters shared between adjacent chunks, to preserve context at chunk boundaries.

size

Target chunk size in characters.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product