Package org.springframework.ai.moderation
package org.springframework.ai.moderation
-
ClassDescriptionThe Categories class represents a set of categories used to classify content.This class represents the scores for different categories of content.The Generation class represents a response from a moderation process.The Moderation class represents the result of a moderation process.An interface that represents metadata associated with the results of a moderation generation process.Represents a single message intended for moderation, encapsulating the text content.The ModerationModel interface defines a generic AI model for moderation.Represents the options for moderation.A builder class for creating instances of ModerationOptions.Represents a prompt for moderation containing a single message and the options for the moderation model.Represents a response from a moderation process, encapsulating the moderation metadata and the generated content.Defines the metadata associated with a moderation response, extending a base response interface.Represents the result of a moderation process, indicating whether content was flagged, the categories of moderation, and detailed scores for each category.