Package com.embabel.agent.rag
Interface WritableStore
-
- All Implemented Interfaces:
-
com.embabel.common.core.types.Named,java.util.function.Consumer,org.springframework.ai.document.DocumentWriter
public interface WritableStore implements DocumentWriter, NamedRagService that can accept documents
-
-
Method Summary
Modifier and Type Method Description abstract List<String>writeContent(MaterializedDocument root)Write the given content root and its children to the underlying store. -
Methods inherited from class java.util.function.Consumer
accept, andThen -
Methods inherited from class org.springframework.ai.document.DocumentWriter
write -
Methods inherited from class com.embabel.common.core.types.Named
getName -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
writeContent
abstract List<String> writeContent(MaterializedDocument root)
Write the given content root and its children to the underlying store.
- Returns:
list of chunk ids
-
-
-
-