Object SimpleRagResponseFormatter

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      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

         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.