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
invocationContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AiServiceEvent
invocationContextMethods inherited from interface AiServiceStartedEvent
eventClass, toBuilder
-
Constructor Details
-
DefaultAiServiceStartedEvent
-
-
Method Details
-
systemMessage
Description copied from interface:AiServiceStartedEventRetrieves 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:
systemMessagein interfaceAiServiceStartedEvent
-
userMessage
Description copied from interface:AiServiceStartedEventRetrieves 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:
userMessagein interfaceAiServiceStartedEvent
-