Method WithInstruction
WithInstruction(string)
Creates a handler with custom reasoning instruction.
public static ChainOfThoughtHandler WithInstruction(string instruction)
Parameters
instructionstringThe reasoning instruction to use.
Returns
- ChainOfThoughtHandler
A new handler with the custom instruction.