Share via


AIFunctionDeclaration.ReturnJsonSchema Property

Definition

Gets a JSON Schema describing the function's return value.

public:
 virtual property Nullable<System::Text::Json::JsonElement> ReturnJsonSchema { Nullable<System::Text::Json::JsonElement> get(); };
public virtual System.Text.Json.JsonElement? ReturnJsonSchema { get; }
member this.ReturnJsonSchema : Nullable<System.Text.Json.JsonElement>
Public Overridable ReadOnly Property ReturnJsonSchema As Nullable(Of JsonElement)

Property Value

Remarks

A null typically reflects a function that doesn't specify a return schema or a function that returns Void, Task, or ValueTask.

Applies to