ChainOfThoughtExample

Models & Types · AiDotNet.PromptEngineering.Templates

Represents an example for few-shot chain-of-thought prompting.

Constructors

Constructor Summary
ChainOfThoughtExample() Creates a new chain-of-thought example.
ChainOfThoughtExample(string question, string reasoning, string answer) Creates a new chain-of-thought example with values.

Properties

Property Summary
string Answer { get; set; } The final answer for the example.
string Question { get; set; } The example question.
string Reasoning { get; set; } The step-by-step reasoning for the example.