Class MultiIngester

  • All Implemented Interfaces:
    com.embabel.agent.rag.ingestion.Ingester , com.embabel.common.core.types.HasInfoString , java.util.function.Consumer , org.springframework.ai.document.DocumentWriter

    
    public final class MultiIngester
     implements 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<WritableStore> getStores()
      Boolean active() Is this ingester presently active?
      IngestionResult ingest(String resourcePath) Ingest the resource at the given path.
      Unit accept(List<Document> documents)
      String infoString(Boolean verbose, Integer indent)
      • Methods inherited from class java.util.function.Consumer

        andThen
      • Methods inherited from class org.springframework.ai.document.DocumentWriter

        write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait