Skip to content

Duo Chat: Use "Action Input" not "ActionInput" in example

Jessie Young requested to merge jy-chain-of-thought-parsing-improvement into master

What does this MR do and why?

  • I observed that Claude 2 still returns "Action Input" most of the time because that is what we tell it to return in the system prompt. But when I started working on Claude 3, I noticed that it was following this example and returning "ActionInput" instead of "Action Input".
  • This change in behavior broke our chain of thought parsing, which has a regex that matches on "Action Input" (with a space). As a result, responses with Actions where being parsed incorrectly with Claude 3.
  • This text without a space was added here: !146634 (merged)
  • MR where Claude 3 work is happening: !148223 (merged)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports