Show / Hide Table of Contents

Class ContentModerationGuardrailConfig

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
ContentModerationGuardrailConfig
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 ContentModerationGuardrailConfig

Properties

InputGuardrailMode

Declaration
[JsonProperty(PropertyName = "inputGuardrailMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public GuardrailMode? InputGuardrailMode { get; set; }
Property Value
Type Description
GuardrailMode?

An input guardrail mode for content moderation.

OutputGuardrailMode

Declaration
[JsonProperty(PropertyName = "outputGuardrailMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public GuardrailMode? OutputGuardrailMode { get; set; }
Property Value
Type Description
GuardrailMode?

An output guardrail mode for content moderation.

In this article
Back to top