How to connect Open API credentials?

We want to build a workflow where we can:
-call API
-get the json
-using open API edit the json on based of conditions like if the amount is more than 50, add a field of color and value green

When I run a normal prompt in open AI, it gives the following error:
ERROR: Cannot read properties of undefined (reading ‘isAxiosError’)

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Ose_Verma,

It looks like we need to update the node as OpenAI no longer has an option for Text Moderate or Edit and they were shut down on January 4th. Instead it looks Chat completion could be the recommended approach.

Okay! Any reason why they stopped this option?

Hey @Ose_Verma,

No idea at all, That would be a question for OpenAI. Looking at their documentation it is possible that they feel the GPT models are more capable.

1 Like

Okay! Thanks Jon!

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