Package com.embabel.agent.rag
Interface WritableContentElementRepository
-
- All Implemented Interfaces:
-
com.embabel.agent.rag.WritableStore,com.embabel.agent.rag.ingestion.ContentElementRepository,com.embabel.common.core.types.Named,java.util.function.Consumer,org.springframework.ai.document.DocumentWriter
public interface WritableContentElementRepository implements WritableStore, ContentElementRepository
WritableRagService that also allows us to load and save ContentElements.
-
-
Method Summary
Modifier and Type Method Description Unitprovision()Provision this rag service if necessary abstract UnitonNewRetrievables(List<Retrievable> retrievables)The Retrievables have been saved to the store, but Retrievables are special, and we probably want to embed them -
Methods inherited from class com.embabel.agent.rag.WritableStore
writeContent -
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.agent.rag.ingestion.ContentElementRepository
count, findById, findChunksById, findChunksForEntity, save -
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
-
onNewRetrievables
abstract Unit onNewRetrievables(List<Retrievable> retrievables)
The Retrievables have been saved to the store, but Retrievables are special, and we probably want to embed them
-
-
-
-