Show / Hide Table of Contents

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.

Inheritance
object
ContentModerationConfig
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

In this article
Back to top