Share via


IAIServiceSelector Interface

Definition

Represents a selector which will return a tuple containing instances of IAIService and PromptExecutionSettings from the specified provider based on the model settings.

public interface IAIServiceSelector
type IAIServiceSelector = interface
Public Interface IAIServiceSelector

Methods

TrySelectAIService<T>(Kernel, KernelFunction, KernelArguments, T, PromptExecutionSettings)

Resolves an IAIService and associated PromptExecutionSettings from the specified Kernel based on a KernelFunction and associated KernelArguments.

Extension Methods

SelectAIService<T>(IAIServiceSelector, Kernel, KernelFunction, KernelArguments)

Resolves an IAIService and associated PromptExecutionSettings from the specified Kernel based on a KernelFunction and associated KernelArguments.

Applies to