Interface IIngestor<T>

Type Parameters:
T - the type of document to be ingested

public interface IIngestor<T>
Interface for ingesting documents into a vector store or similar system
  • Method Details

    • ingest

      IIngestionResult ingest(IDocument<T> document)
      Ingest a single document
      Parameters:
      document - the document to be ingested
      Returns:
      the result of the ingestion
    • ingest

      IIngestionResult ingest(List<IDocument<T>> documents)
      Ingest multiple documents
      Parameters:
      documents - the list of documents to be ingested
      Returns:
      the result of the ingestion
    • ingest

      IIngestionResult ingest(IDocument<T>... documents)
      Ingest multiple documents
      Parameters:
      documents - the array of documents to be ingested
      Returns:
      the result of the ingestion