Interface ToolExecutionEligibilityChecker
- All Superinterfaces:
Function<ChatResponse,Boolean>
Interface for determining when tool execution should be performed based on model
responses.
- Author:
- Christian Tzolov
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanisToolCallResponse(@Nullable ChatResponse chatResponse) Determines if the response is a tool call message response.
-
Method Details
-
isToolCallResponse
Determines if the response is a tool call message response.- Parameters:
chatResponse- The response from the chat model call- Returns:
- true if the response is a tool call message response, false otherwise
-