Interface AiServiceCompletedEvent
- All Superinterfaces:
AiServiceEvent
- All Known Implementing Classes:
DefaultAiServiceCompletedEvent
Represents an event that occurs upon the completion of an invocation.
This interface extends
AiServiceEvent
to include additional information about the result of the invocation.
Classes implementing this interface are expected to provide details
on what constitutes the result of an invocation, which may vary based
on the specifics of the use case. The result can represent the outcome
of the invocation process, a returned value, a processed value, or
null
if no meaningful result exists.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Builder forDefaultAiServiceCompletedEvent
instances.Nested classes/interfaces inherited from interface AiServiceEvent
AiServiceEvent.Builder<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Class
<AiServiceCompletedEvent> Retrieves the class type of the event, representing the specific category of the AI Service invocation event.result()
Retrieves the result of the invocation.Creates a new builder instance initialized with the properties of thisAiServiceEvent
.Methods inherited from interface AiServiceEvent
invocationContext
-
Method Details
-
result
-
eventClass
Description copied from interface:AiServiceEvent
Retrieves the class type of the event, representing the specific category of the AI Service invocation event.- Specified by:
eventClass
in interfaceAiServiceEvent
-
builder
-
toBuilder
Description copied from interface:AiServiceEvent
Creates a new builder instance initialized with the properties of thisAiServiceEvent
. This allows modification of the existing properties and reconstruction of the event.- Specified by:
toBuilder
in interfaceAiServiceEvent
-