Class AiServiceStreamingEvent.BeforeToolExecutionEvent
java.lang.Object
dev.langchain4j.service.AiServiceStreamingEvent.AbstractEvent
dev.langchain4j.service.AiServiceStreamingEvent.BeforeToolExecutionEvent
- All Implemented Interfaces:
AiServiceStreamingEvent
- Enclosing interface:
AiServiceStreamingEvent
public static final class AiServiceStreamingEvent.BeforeToolExecutionEvent
extends AiServiceStreamingEvent.AbstractEvent
Signals that a tool is about to be executed. Corresponds to
TokenStream.beforeToolExecution(Consumer).- Since:
- 1.20.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface AiServiceStreamingEvent
AiServiceStreamingEvent.AbstractEvent, AiServiceStreamingEvent.AfterToolExecutionEvent, AiServiceStreamingEvent.BeforeToolExecutionEvent, AiServiceStreamingEvent.CompleteToolCallEvent, AiServiceStreamingEvent.FinalResponseEvent, AiServiceStreamingEvent.IntermediateResponseEvent, AiServiceStreamingEvent.PartialResponseEvent, AiServiceStreamingEvent.PartialThinkingEvent, AiServiceStreamingEvent.PartialToolCallEvent, AiServiceStreamingEvent.RawEvent, AiServiceStreamingEvent.RetrievedContentsEvent, AiServiceStreamingEvent.ToolCompensatedEvent -
Constructor Summary
ConstructorsConstructorDescriptionBeforeToolExecutionEvent(BeforeToolExecution beforeToolExecution, InvocationContext invocationContext) -
Method Summary
Methods inherited from class AiServiceStreamingEvent.AbstractEvent
invocationContext
-
Constructor Details
-
BeforeToolExecutionEvent
public BeforeToolExecutionEvent(BeforeToolExecution beforeToolExecution, InvocationContext invocationContext)
-
-
Method Details
-
beforeToolExecution
-