Package-level declarations

Types

Link copied to clipboard
class ContentChunker(val config: ContentChunker.Config = DefaultConfig())

Converts MaterializedContainerSection objects into Chunk objects with intelligent text splitting.

Link copied to clipboard

Implemented by services that can retrieve Chunks and other ContentElements by id.

Link copied to clipboard
data class DefaultMaterializedContainerSection(val id: String, val uri: String? = null, val title: String, val children: List<MaterializedSection>, val parentId: String? = null, val metadata: Map<String, Any?> = emptyMap()) : MaterializedContainerSection
Link copied to clipboard
interface Ingester
Link copied to clipboard
data class IngestionResult(val storesWrittenTo: Set<String>, val chunkIds: List<String>)
Link copied to clipboard
data class MaterializedDocument(val id: String, val uri: String, val title: String, val children: List<MaterializedSection>, val metadata: Map<String, Any?> = emptyMap()) : MaterializedContainerSection, ContentRoot

MaterializedDocument is the in-memory representation of a document with sections.

Link copied to clipboard
class MultiIngester(val stores: List<WritableStore>, val splitter: <Error class: unknown class> = TokenTextSplitter()) : Ingester

Write to all RAG services that implement com.embabel.agent.rag.WritableStore. Users can override the org.springframework.ai.transformer.splitter.TextSplitter to control how text is split into documents.