Package dev.langchain4j.model.decision.listener
package dev.langchain4j.model.decision.listener
-
ClassDescriptionThe context of an error of a decision model: the error, the corresponding request, the model provider and attributes.A
DecisionModellistener that listens for requests, responses and errors, for example to log decisions for audit, or to record metrics and traces.The context of a request to a decision model: the request, the model provider and attributes.The context of a response from a decision model: the response, the corresponding request, the model provider and attributes.