Uses of Interface
dev.langchain4j.observability.api.event.AiServiceResponseReceivedEvent
Packages that use AiServiceResponseReceivedEvent
Package
Description
-
Uses of AiServiceResponseReceivedEvent in dev.langchain4j.agentic.internal
Methods in dev.langchain4j.agentic.internal with parameters of type AiServiceResponseReceivedEventModifier and TypeMethodDescriptionvoidAgentModelResponse.onChatResponse(AiServiceResponseReceivedEvent event) Records one model call of the invocation: an agent calling tools makes several, and its reported response is the last one with the token usage of all of them, and the model name only when all the calls agree on it. -
Uses of AiServiceResponseReceivedEvent in dev.langchain4j.observability.api.event
Subclasses with type arguments of type AiServiceResponseReceivedEvent in dev.langchain4j.observability.api.eventModifier and TypeClassDescriptionstatic classBuilder forDefaultAiServiceResponseReceivedEventinstances.Methods in dev.langchain4j.observability.api.event that return AiServiceResponseReceivedEventModifier and TypeMethodDescriptionAiServiceResponseReceivedEvent.AiServiceResponseReceivedEventBuilder.build()Builds aAiServiceResponseReceivedEvent.Methods in dev.langchain4j.observability.api.event that return types with arguments of type AiServiceResponseReceivedEventModifier and TypeMethodDescriptiondefault Class<AiServiceResponseReceivedEvent> AiServiceResponseReceivedEvent.eventClass()Constructors in dev.langchain4j.observability.api.event with parameters of type AiServiceResponseReceivedEventModifierConstructorDescriptionprotectedCreates a builder initialized from an existingAiServiceResponseReceivedEvent. -
Uses of AiServiceResponseReceivedEvent in dev.langchain4j.observability.api.listener
Subinterfaces with type arguments of type AiServiceResponseReceivedEvent in dev.langchain4j.observability.api.listenerModifier and TypeInterfaceDescriptioninterfaceA listener forAiServiceResponseReceivedEvent, which represents an event that occurs when a response from a large language model (LLM) is received.Methods in dev.langchain4j.observability.api.listener that return types with arguments of type AiServiceResponseReceivedEventModifier and TypeMethodDescriptiondefault Class<AiServiceResponseReceivedEvent> AiServiceResponseReceivedListener.getEventClass() -
Uses of AiServiceResponseReceivedEvent in dev.langchain4j.observability.event
Classes in dev.langchain4j.observability.event that implement AiServiceResponseReceivedEvent