Interface UserFeedback


public interface UserFeedback
An interface for tool results that contain direct user feedback or comments collected during the tool's execution (e.g., from a specialized dialog).

The orchestrator (Chat.java) will aggregate feedback from all executed tools that implement this interface and include it in the system-generated user feedback message.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the feedback or comment provided by the user during tool execution.
  • Method Details

    • getUserFeedback

      String getUserFeedback()
      Gets the feedback or comment provided by the user during tool execution.
      Returns:
      The user feedback string, or null/empty if none provided.