Share via


AIFunctionFactoryOptions.ExcludeResultSchema Property

Definition

Gets or sets a value indicating whether a schema should be created for the function's result type, if possible, and included as ReturnJsonSchema.

public:
 property bool ExcludeResultSchema { bool get(); void set(bool value); };
public bool ExcludeResultSchema { get; set; }
member this.ExcludeResultSchema : bool with get, set
Public Property ExcludeResultSchema As Boolean

Property Value

Remarks

The default value is false.

When set to true, results in the produced ReturnJsonSchema to always be null.

Applies to