Share via


OpenAIFunctionParameter Class

Definition

Represents a function parameter that can be passed to an OpenAI function tool call.

public sealed class OpenAIFunctionParameter
type OpenAIFunctionParameter = class
Public NotInheritable Class OpenAIFunctionParameter
Inheritance
OpenAIFunctionParameter

Properties

Description

Gets a description of the parameter.

IsRequired

Gets whether the parameter is required vs optional.

Name

Gets the name of the parameter.

ParameterType

Gets the Type of the parameter, if known.

Schema

Gets a JSON schema for the parameter, if known.

Applies to