Class RagReference

  • All Implemented Interfaces:
    com.embabel.agent.api.common.LlmReference , com.embabel.common.ai.prompt.PromptContributor , com.embabel.common.ai.prompt.PromptElement , com.embabel.common.core.types.Described , com.embabel.common.core.types.Named , com.embabel.common.core.types.NamedAndDescribed

    
    public final class RagReference
     implements LlmReference
                        

    Expose a RagService as an LlmReference with tools.

    • 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
      String getName()
      String getDescription()
      final RagOptions getOptions()
      Object toolInstance() Return the instance of the tool object.
      String notes() Notes about this reference, such as usage guidance.
      • Methods inherited from class com.embabel.common.ai.prompt.PromptElement

        getPromptContributionLocation, getRole
      • Methods inherited from class com.embabel.agent.api.common.LlmReference

        contribution, toolObject, toolPrefix
      • Methods inherited from class com.embabel.common.ai.prompt.PromptContributor

        promptContribution
      • Methods inherited from class java.lang.Object

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