Package com.tnsai.rag
Class KnowledgeSourceConfig.Builder
java.lang.Object
com.tnsai.rag.KnowledgeSourceConfig.Builder
- Enclosing class:
KnowledgeSourceConfig
Builder retaining the annotation defaults.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()chunkContext(ChunkContext value) chunkContextModel(String value) connection(String value) enabled(boolean value) format(DocumentFormat value) Sets the part of each document to load; seeKnowledge.select().unit(KnowledgeUnit value) Sets the ingest-time slicing unit.
-
Method Details
-
path
-
format
-
connection
-
query
-
enabled
-
include
-
exclude
-
unit
Sets the ingest-time slicing unit. Defaults toKnowledgeUnit.AUTO.- Since:
- 0.15.0
-
chunkContext
-
chunkContextModel
-
select
Sets the part of each document to load; seeKnowledge.select(). Defaults to blank, the whole document.- Since:
- 0.18.0
-
build
-