InstructionFollowingBuilder

Helpers & Utilities · AiDotNet.PromptEngineering.Templates

Builder for constructing instruction-following templates fluently.

Constructors

Constructor Summary
InstructionFollowingBuilder()

Methods

Method Summary
InstructionFollowingBuilder AddConstraint(string constraint) Adds a constraint.
InstructionFollowingBuilder AddInstruction(string instruction) Adds an instruction.
InstructionFollowingBuilder WithInputDescription(string description) Sets the input description.
InstructionFollowingBuilder WithObjective(string objective) Sets the objective.
InstructionFollowingBuilder WithOutputDescription(string description) Sets the output description.
InstructionFollowingTemplate Build() Builds the instruction-following template.