Partager via


OpenAIPluginCollectionExtensions Class

Definition

Extension methods for IReadOnlyKernelPluginCollection.

public static class OpenAIPluginCollectionExtensions
type OpenAIPluginCollectionExtensions = class
Public Module OpenAIPluginCollectionExtensions
Inheritance
OpenAIPluginCollectionExtensions

Methods

TryGetFunctionAndArguments(IReadOnlyKernelPluginCollection, ChatToolCall, KernelFunction, KernelArguments)

Given an OpenAIFunctionToolCall object, tries to retrieve the corresponding KernelFunction and populate KernelArguments with its parameters.

TryGetFunctionAndArguments(IReadOnlyKernelPluginCollection, OpenAIFunctionToolCall, KernelFunction, KernelArguments)

Given an OpenAIFunctionToolCall object, tries to retrieve the corresponding KernelFunction and populate KernelArguments with its parameters.

Applies to