AgentBuilder.WithPlugin(KernelPlugin) Method
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.
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.