LoadingConfig

org.llm4s.rag.loader.LoadingConfig
See theLoadingConfig companion object
final case class LoadingConfig(failFast: Boolean, useHints: Boolean, skipEmptyDocuments: Boolean, enableVersioning: Boolean, parallelism: Int, batchSize: Int)

Configuration for document loading behavior.

Controls how documents are loaded, processed, and tracked by the RAG pipeline.

Value parameters

batchSize

Documents per embedding batch

enableVersioning

Track versions for sync operations

failFast

Stop on first error vs continue and collect all errors

parallelism

Maximum concurrent document processing

skipEmptyDocuments

Whether to skip documents with empty content

useHints

Whether to use loader hints for processing

Attributes

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

Members list

Value members

Concrete methods

Set batch size for embeddings

Set batch size for embeddings

Attributes

Disable fail-fast mode (continue on errors)

Disable fail-fast mode (continue on errors)

Attributes

Enable fail-fast mode

Enable fail-fast mode

Attributes

def withHints(use: Boolean): LoadingConfig

Enable/disable hint usage

Enable/disable hint usage

Attributes

Set parallelism level

Set parallelism level

Attributes

def withSkipEmpty(skip: Boolean): LoadingConfig

Enable/disable empty document skipping

Enable/disable empty document skipping

Attributes

def withVersioning(enable: Boolean): LoadingConfig

Enable/disable version tracking

Enable/disable version tracking

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product