次の方法で共有


KernelFunctionMetadata Class

Definition

Provides read-only metadata for a KernelFunction.

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

Constructors

KernelFunctionMetadata(KernelFunctionMetadata)

Initializes a KernelFunctionMetadata as a copy of another KernelFunctionMetadata.

KernelFunctionMetadata(String)

Initializes the KernelFunctionMetadata for a function with the specified name.

Properties

AdditionalProperties

Gets optional metadata in addition to the named properties already available on this class.

Description

Gets a description of the function, suitable for use in describing the purpose to a model.

Name

Gets the name of the function.

Parameters

Gets the metadata for the parameters to the function.

PluginName

Gets the name of the plugin containing the function.

ReturnParameter

Gets parameter metadata for the return parameter.

Extension Methods

ToOpenAIFunction(KernelFunctionMetadata)

Convert a KernelFunctionMetadata to an OpenAIFunctionParameter.

Applies to