Show / Hide Table of Contents

Class ApplyGuardrailsDetails

Details for applying guardrails to the input text.

Inheritance
object
ApplyGuardrailsDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class ApplyGuardrailsDetails

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment to apply guardrails.

Remarks

Required

GuardrailConfigs

Declaration
[Required(ErrorMessage = "GuardrailConfigs is required.")]
[JsonProperty(PropertyName = "guardrailConfigs")]
public GuardrailConfigs GuardrailConfigs { get; set; }
Property Value
Type Description
GuardrailConfigs
Remarks

Required

Input

Declaration
[Required(ErrorMessage = "Input is required.")]
[JsonProperty(PropertyName = "input")]
public GuardrailsInput Input { get; set; }
Property Value
Type Description
GuardrailsInput
Remarks

Required

In this article
Back to top