Interface LLMOrchestrator.ToolCallHandler

Enclosing class:
LLMOrchestrator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface LLMOrchestrator.ToolCallHandler
Functional interface for handling tool calls.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(ChatResponse response, boolean useHistory)
    Executes tool calls from a ChatResponse.
  • Method Details

    • execute

      String execute(ChatResponse response, boolean useHistory)
      Executes tool calls from a ChatResponse.
      Parameters:
      response - the response containing tool calls
      useHistory - whether to use conversation history
      Returns:
      the result of tool execution