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 created with with_reasoning().

reasoning_field

Character. Name of reasoning field to remove.

Value

A new signature object without the reasoning field.

Examples

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