KernelExtensions.Build(IKernelBuilder) 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.
Constructs a new instance of Kernel using all of the settings configured on the builder.
public static Microsoft.SemanticKernel.Kernel Build (this Microsoft.SemanticKernel.IKernelBuilder builder);
static member Build : Microsoft.SemanticKernel.IKernelBuilder -> Microsoft.SemanticKernel.Kernel
<Extension()>
Public Function Build (builder As IKernelBuilder) As Kernel
Parameters
- builder
- IKernelBuilder
Returns
The new Kernel instance.
Remarks
Every call to Build(IKernelBuilder) produces a new Kernel instance. The resulting Kernel instances will not share the same plugins collection or services provider (unless there are no services).