Skip to content

Conversation

hellocybernetics
Copy link

Summary

Renames the output field rationale → reasoning for consistency with Chain-of-Thought (CoT) terminology.
No behavioral change to parsing logic; we continue to accept both keys during extraction to remain backward-compatible.

Changes

MultiChainComparison: output field renamed to reasoning.
Tests updated to use reasoning.
Extraction keeps accepting legacy rationale:
rationale = c.get("rationale", c.get("reasoning")).strip().split("\n")[0].strip()
(unchanged logic; still prefers rationale if present, otherwise falls back to reasoning)

Motivation

Align naming with CoT and existing components that already use reasoning.
Reduce confusion between fields with the same semantic meaning.

#Backward Compatibility / Risk
Low. Callers reading only reasoning are supported; callers still sending rationale remain compatible via the fallback extraction.
External consumers relying strictly on the old key name may need to migrate, but the parser remains tolerant.

…iChainComparison

Updated the output field name for consistency with CoT. The extraction logic from completions remains unchanged:

rationale = c.get(rationale, c.get(reasoning)).strip().split(n)[0].strip()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant