RaiPolicyProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Azure OpenAI Content Filters properties.
public class RaiPolicyProperties
type RaiPolicyProperties = class
Public Class RaiPolicyProperties
- Inheritance
-
RaiPolicyProperties
Constructors
RaiPolicyProperties() |
Initializes a new instance of the RaiPolicyProperties class. |
RaiPolicyProperties(String, String, String, IList<RaiPolicyContentFilter>, IList<CustomBlocklistConfig>) |
Initializes a new instance of the RaiPolicyProperties class. |
Properties
BasePolicyName |
Gets or sets name of Rai policy. |
ContentFilters |
Gets or sets the list of Content Filters. |
CustomBlocklists |
Gets or sets the list of custom Blocklist. |
Mode |
Gets or sets rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2024-10-01. It is the same as 'Deferred' in previous version. Possible values include: 'Default', 'Deferred', 'Blocking', 'Asynchronous_filter' |
Type |
Gets content Filters policy type. Possible values include: 'UserManaged', 'SystemManaged' |