Class AnalystAgentTemplate
A template for creating data analysis and reasoning agents.
Analyst agents excel at examining data, identifying patterns, drawing insights, and presenting findings clearly.
public sealed class AnalystAgentTemplate : AgentTemplate
- Inheritance
-
AnalystAgentTemplate
- Inherited Members
Examples
var agent = new AnalystAgentTemplate()
.WithModel(model)
.WithDomain("financial")
.WithOutputFormat(AnalysisFormat.Executive)
.Build();
var result = await agent.RunAsync("Analyze this quarterly report data...");
Properties
- TemplateName
Gets the template name.
Methods
- ConfigureBuilder(AgentBuilder)
Configures the agent builder with template-specific settings.
- WithDomain(string)
Sets the analysis domain.
- WithModel(LM)
Sets the model for the agent.
- WithOutputFormat(AnalysisFormat)
Sets the output format for analysis.
- WithQuantitativeFocus(bool)
Sets whether to focus on quantitative analysis.
- WithRecommendations(bool)
Sets whether to include recommendations.