Package com.embabel.agent.rag.ingestion
Interface Ingester
-
- All Implemented Interfaces:
-
com.embabel.common.core.types.HasInfoString,java.util.function.Consumer,org.springframework.ai.document.DocumentWriter
public interface Ingester implements DocumentWriter, HasInfoString
-
-
Method Summary
Modifier and Type Method Description abstract Booleanactive()Is this ingester presently active? abstract IngestionResultingest(String resourcePath)Ingest the resource at the given path. abstract List<WritableStore>getStores()-
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.HasInfoString
infoString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
ingest
abstract IngestionResult ingest(String resourcePath)
Ingest the resource at the given path. Use Spring Resource conventions
-
getStores
abstract List<WritableStore> getStores()
-
-
-
-