DocumentHints

org.llm4s.rag.loader.DocumentHints
See theDocumentHints companion object
final case class DocumentHints(chunkingStrategy: Option[Strategy], chunkingConfig: Option[ChunkingConfig], batchSize: Option[Int], priority: Int, skipReason: Option[String], customHints: Map[String, String])

Processing hints that loaders can suggest to the RAG pipeline.

Hints are optional suggestions - the pipeline may ignore them based on global configuration or other factors. They allow loaders to provide domain-specific optimization recommendations.

Value parameters

batchSize

Suggested batch size for embedding (for rate limiting)

chunkingConfig

Suggested chunking configuration

chunkingStrategy

Suggested chunking strategy for this document type

customHints

Additional loader-specific hints

priority

Processing priority (higher = process first)

skipReason

If set, suggests this document should be skipped with reason

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

Merge with another hints, preferring this instance's values

Merge with another hints, preferring this instance's values

Attributes

def shouldSkip: Boolean

Check if this document should be skipped

Check if this document should be skipped

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product