Interface AiServiceRequestIssuedListener
- All Superinterfaces:
AiServiceListener<AiServiceRequestIssuedEvent>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface AiServiceRequestIssuedListener
extends AiServiceListener<AiServiceRequestIssuedEvent>
A listener for
AiServiceRequestIssuedEvent, which represents an event
that occurs just before a request is sent to a large language model (LLM).
This interface extends the generic AiServiceListener,
specializing it for handling events related to LLM responses.-
Method Summary
Modifier and TypeMethodDescriptiondefault Class<AiServiceRequestIssuedEvent> Retrieves the class object representing the type ofAiServiceEventthat this listener listens for.Methods inherited from interface AiServiceListener
onEvent
-
Method Details
-
getEventClass
Description copied from interface:AiServiceListenerRetrieves the class object representing the type ofAiServiceEventthat this listener listens for.- Specified by:
getEventClassin interfaceAiServiceListener<AiServiceRequestIssuedEvent>- Returns:
- the
Classobject of the event type that this listener is associated with
-