Class ChatObservationProperties
java.lang.Object
org.springframework.ai.autoconfigure.chat.observation.ChatObservationProperties
@ConfigurationProperties("spring.ai.chat.observations")
public class ChatObservationProperties
extends Object
Configuration properties for chat model observations.
- Since:
- 1.0.0
- Author:
- Thomas Vitale
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
void
setIncludeCompletion
(boolean includeCompletion) void
setIncludeErrorLogging
(boolean includeErrorLogging) void
setIncludePrompt
(boolean includePrompt)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
ChatObservationProperties
public ChatObservationProperties()
-
-
Method Details
-
isIncludeCompletion
public boolean isIncludeCompletion() -
setIncludeCompletion
public void setIncludeCompletion(boolean includeCompletion) -
isIncludePrompt
public boolean isIncludePrompt() -
setIncludePrompt
public void setIncludePrompt(boolean includePrompt) -
isIncludeErrorLogging
public boolean isIncludeErrorLogging() -
setIncludeErrorLogging
public void setIncludeErrorLogging(boolean includeErrorLogging)
-