Class ModerationResponseMetadata
java.lang.Object
org.springframework.ai.model.AbstractResponseMetadata
org.springframework.ai.moderation.ModerationResponseMetadata
- All Implemented Interfaces:
ResponseMetadata
public class ModerationResponseMetadata
extends AbstractResponseMetadata
implements ResponseMetadata
Defines the metadata associated with a moderation response, extending a base response
interface. This interface is intended to provide additional context or data about the
moderation process result.
- Since:
- 1.0.0
- Author:
- Ahmed Yousri
-
Field Summary
Fields inherited from class org.springframework.ai.model.AbstractResponseMetadata
AI_METADATA_STRING, map
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.ai.model.AbstractResponseMetadata
containsKey, entrySet, get, getOrDefault, getRequired, isEmpty, keySet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.ai.model.ResponseMetadata
containsKey, entrySet, get, getOrDefault, getOrDefault, getRequired, isEmpty, keySet
-
Constructor Details
-
ModerationResponseMetadata
public ModerationResponseMetadata()
-