Class DefaultAiServiceCompletedEvent
java.lang.Object
dev.langchain4j.observability.event.AbstractAiServiceEvent
dev.langchain4j.observability.event.DefaultAiServiceCompletedEvent
- All Implemented Interfaces:
AiServiceCompletedEvent, AiServiceEvent
public class DefaultAiServiceCompletedEvent
extends AbstractAiServiceEvent
implements AiServiceCompletedEvent
Default implementation of
AiServiceCompletedEvent
.-
Nested Class Summary
Nested classes/interfaces inherited from interface AiServiceCompletedEvent
AiServiceCompletedEvent.AiServiceCompletedEventBuilder
Nested classes/interfaces inherited from interface AiServiceEvent
AiServiceEvent.Builder<T>
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class AbstractAiServiceEvent
invocationContext
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface AiServiceCompletedEvent
eventClass, toBuilder
Methods inherited from interface AiServiceEvent
invocationContext
-
Constructor Details
-
DefaultAiServiceCompletedEvent
public DefaultAiServiceCompletedEvent(AiServiceCompletedEvent.AiServiceCompletedEventBuilder builder)
-
-
Method Details
-
result
Description copied from interface:AiServiceCompletedEvent
Retrieves the result of the invocation. The result could be the outcome of the invocation, a processed value, ornull
if no result exists.- Specified by:
result
in interfaceAiServiceCompletedEvent
-