Interface EasyRagConfig


@ConfigRoot(phase=RUN_TIME) @ConfigMapping(prefix="quarkus.langchain4j.easy-rag") public interface EasyRagConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Maximum overlap (in tokens) when splitting documents.
    Maximum number of results to return when querying the retrieval augmentor.
    Maximum segment size when splitting documents, in tokens.
    Path to the directory containing the documents to be ingested.
  • Method Details

    • path

      String path()
      Path to the directory containing the documents to be ingested.
    • maxSegmentSize

      @WithDefault("300") Integer maxSegmentSize()
      Maximum segment size when splitting documents, in tokens.
    • maxOverlapSize

      @WithDefault("30") Integer maxOverlapSize()
      Maximum overlap (in tokens) when splitting documents.
    • maxResults

      @WithDefault("5") Integer maxResults()
      Maximum number of results to return when querying the retrieval augmentor.