Lingua

RaiInvocationContentType Struct

Definition

How an invocations request/response body is parsed to locate text for content-safety moderation.

public readonly struct RaiInvocationContentType : IEquatable<Azure.AI.Projects.Agents.RaiInvocationContentType>
type RaiInvocationContentType = struct
Public Structure RaiInvocationContentType
Implements IEquatable(Of RaiInvocationContentType)
Inheritance
RaiInvocationContentType
Implements

Constructors

Name Description
RaiInvocationContentType(String)

Initializes a new instance of RaiInvocationContentType.

Properties

Name Description
Json

Parse the body as JSON and evaluate the declared paths/selectors.

Text

Treat the whole (size-capped) body as text; paths/selectors are ignored.

Methods

Name Description
Equals(RaiInvocationContentType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(RaiInvocationContentType, RaiInvocationContentType)

Determines if two RaiInvocationContentType values are the same.

Implicit(String to Nullable<RaiInvocationContentType>)
Implicit(String to RaiInvocationContentType)

Converts a string to a RaiInvocationContentType.

Inequality(RaiInvocationContentType, RaiInvocationContentType)

Determines if two RaiInvocationContentType values are not the same.

Applies to