Class ContentModerationConfig
The configuration details about whether to apply the content moderation feature to input and output. Content moderation removes toxic and biased content from responses. It is recommended to use content moderation.
Inherited Members
Namespace: Oci.GenerativeaiagentService.Models
Assembly: OCI.DotNetSDK.Generativeaiagent.dll
Syntax
public class ContentModerationConfig
Properties
ShouldEnableOnInput
Declaration
[JsonProperty(PropertyName = "shouldEnableOnInput")]
public bool? ShouldEnableOnInput { get; set; }
Property Value
Type | Description |
---|---|
bool? | A flag to enable or disable content moderation on input. |
ShouldEnableOnOutput
Declaration
[JsonProperty(PropertyName = "shouldEnableOnOutput")]
public bool? ShouldEnableOnOutput { get; set; }
Property Value
Type | Description |
---|---|
bool? | A flag to enable or disable content moderation on output. |