How To Keep the Expression From Changing on Update

Open AI keeps changing the anchor capitalization, which causes errors in the workflow.

hello @jasonmbd

Why not use the Capitalized version?

Or both of them: {{ $json.message.content.facebook || $json.message.content.Facebook }}

I could but the issue is bigger than that. It keeps changing and I need it to stay static for every update. How do you make it so it does not change?

See this example. 3 different variations of the same thing:

1 Like

Hello @jasonmbd,

I think you may need to specify in the prompt to only output lowercase? or maybe switch to an ai agent, which you can give an example json via a output parser, this may help with more consistent outputs. Otherwise it may just decide randomly.

Best,

Samuel

2 Likes

Worked perfectly! Thanks.

1 Like

Amazing :slight_smile: Please do mark as solution be much appreciated.

Best regards,

Samuel

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.