Skip to contents

Reverses the with_reasoning() transform by removing the reasoning field from the output type. Useful for comparing reasoning vs non-reasoning module performance.

Usage

without_reasoning(sig, reasoning_field = "reasoning")

Arguments

sig

A Signature object (typically one created with with_reasoning())

reasoning_field

Character. Name of reasoning field to remove.

Value

A new Signature without the reasoning field

Examples

cot_sig <- with_reasoning("question -> answer")
plain_sig <- without_reasoning(cot_sig)