Class ChatModelObservationContext
java.lang.Object
io.micrometer.observation.Observation.Context
context.ChatModelObservationContext
- All Implemented Interfaces:
io.micrometer.observation.Observation.ContextView
public class ChatModelObservationContext
extends io.micrometer.observation.Observation.Context
-
Constructor Summary
ConstructorsConstructorDescriptionChatModelObservationContext(ChatModelRequestContext requestContext, ChatModelResponseContext responseContext, ChatModelErrorContext errorContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetErrorContext(ChatModelErrorContext errorContext) voidsetResponseContext(ChatModelResponseContext responseContext) Methods inherited from class io.micrometer.observation.Observation.Context
addHighCardinalityKeyValue, addHighCardinalityKeyValues, addLowCardinalityKeyValue, addLowCardinalityKeyValues, clear, computeIfAbsent, containsKey, get, getAllKeyValues, getContextualName, getError, getHighCardinalityKeyValue, getHighCardinalityKeyValues, getLowCardinalityKeyValue, getLowCardinalityKeyValues, getName, getOrDefault, getParentObservation, getRequired, put, remove, removeHighCardinalityKeyValue, removeHighCardinalityKeyValues, removeLowCardinalityKeyValue, removeLowCardinalityKeyValues, setContextualName, setError, setName, setParentObservation, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.micrometer.observation.Observation.ContextView
getOrDefault
-
Constructor Details
-
ChatModelObservationContext
public ChatModelObservationContext(ChatModelRequestContext requestContext, ChatModelResponseContext responseContext, ChatModelErrorContext errorContext)
-
-
Method Details
-
getRequestContext
-
getResponseContext
-
setResponseContext
-
getErrorContext
-
setErrorContext
-