AgentBuilder.FromTemplate(String) 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.
Create a new agent from a yaml formatted string.
public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder FromTemplate (string template);
member this.FromTemplate : string -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function FromTemplate (template As String) As AgentBuilder
Parameters
- template
- String
YAML agent definition.
Returns
AgentBuilder instance for fluid expression.