Interface RagService

  • All Implemented Interfaces:
    com.embabel.common.core.types.Described , com.embabel.common.core.types.HasInfoString

    
    public interface RagService
     implements Described, HasInfoString
                        

    Central interface for Retrieval-Augmented Generation (RAG) services. Returns entities as well as text chunks.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class RagService.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract RagResponse search(RagRequest ragRequest) Make a RAG request
      abstract String getName() Name of the RAG service.
      • Methods inherited from class com.embabel.common.core.types.HasInfoString

        infoString
      • Methods inherited from class com.embabel.common.core.types.Described

        getDescription
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getName

         abstract String getName()

        Name of the RAG service. Should be unique per application instance. User code may use this to select a RAG service.