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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article