KernelFunctionSelectionStrategy(KernelFunction, Kernel) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines agent selection based on the evaluation of a KernelFunction.
public KernelFunctionSelectionStrategy (Microsoft.SemanticKernel.KernelFunction function, Microsoft.SemanticKernel.Kernel kernel);
new Microsoft.SemanticKernel.Agents.Chat.KernelFunctionSelectionStrategy : Microsoft.SemanticKernel.KernelFunction * Microsoft.SemanticKernel.Kernel -> Microsoft.SemanticKernel.Agents.Chat.KernelFunctionSelectionStrategy
Public Sub New (function As KernelFunction, kernel As Kernel)
Parameters
- function
- KernelFunction
A KernelFunction used for selection criteria
- kernel
- Kernel
A kernel instance with services for function execution.