Class DefaultAiServiceStartedEvent
java.lang.Object
dev.langchain4j.observability.event.AbstractAiServiceEvent
dev.langchain4j.observability.event.DefaultAiServiceStartedEvent
- All Implemented Interfaces:
AiServiceEvent, AiServiceStartedEvent
public class DefaultAiServiceStartedEvent
extends AbstractAiServiceEvent
implements AiServiceStartedEvent
Default implementation of
AiServiceStartedEvent
.-
Nested Class Summary
Nested classes/interfaces inherited from interface AiServiceEvent
AiServiceEvent.Builder<T>
Nested classes/interfaces inherited from interface AiServiceStartedEvent
AiServiceStartedEvent.AiServiceStartedEventBuilder
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionRetrieves an optional system message associated with the invocation.Retrieves the user message associated with the invocation.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 AiServiceEvent
invocationContext
Methods inherited from interface AiServiceStartedEvent
eventClass, toBuilder
-
Constructor Details
-
DefaultAiServiceStartedEvent
-
-
Method Details
-
systemMessage
Description copied from interface:AiServiceStartedEvent
Retrieves an optional system message associated with the invocation. A system message typically provides instructions regarding the AI's behavior, actions, or response style.- Specified by:
systemMessage
in interfaceAiServiceStartedEvent
-
userMessage
Description copied from interface:AiServiceStartedEvent
Retrieves the user message associated with the invocation. The user message represents the content or input provided by the user during the AI Service invocation.- Specified by:
userMessage
in interfaceAiServiceStartedEvent
-