Package com.embabel.agent.rag
Interface RagResponseFormatter
-
- All Implemented Interfaces:
public interface RagResponseFormatterImplemented by classes that can format RagResponse objects into a string for inclusion in tool responses or prompts.
-
-
Method Summary
Modifier and Type Method Description abstract Stringformat(RagResponse ragResponse)Formats the given RagResponse into a string for inclusion in tool responses or prompts. -
-
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.
-
-
-
-