Partager via


AgentBuilder.WithPlugin(KernelPlugin) Method

Definition

Define functions associated with agent instance (optional).

public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder WithPlugin (Microsoft.SemanticKernel.KernelPlugin? plugin);
member this.WithPlugin : Microsoft.SemanticKernel.KernelPlugin -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function WithPlugin (plugin As KernelPlugin) As AgentBuilder

Parameters

plugin
KernelPlugin

Returns

AgentBuilder instance for fluid expression.

Applies to