Package org.springframework.ai.model.observation
@NonNullApi
@NonNullFields
package org.springframework.ai.model.observation
Provides classes for observing model data.
-
ClassDescriptionAn
ObservationHandler
that logs errors using aTracer
.ModelObservationContext<REQ,RES> Context used when sending a request to a machine learning model and waiting for a response from the model provider.Generate metrics about the model usage in the context of an AI operation.