Interface RagResponseFormatter

  • All Implemented Interfaces:

    
    public interface RagResponseFormatter
    
                        

    Implemented by classes that can format RagResponse objects into a string for inclusion in tool responses or prompts.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • 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 String format(RagResponse ragResponse) Formats the given RagResponse into a string for inclusion in tool responses or prompts.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • format

         abstract String format(RagResponse ragResponse)

        Formats the given RagResponse into a string for inclusion in tool responses or prompts.

        Parameters:
        ragResponse - The RagResponse to format.
        Returns:

        A string representation of the RagResponse.