Zum Inhalt

OpenAI Chat Model Node - Häufige Probleme#

Hier sind einige häufige Fehler und Probleme mit dem OpenAI Chat Model Node und Schritte zur Behebung oder Fehlerbehebung.

Verarbeitung von Parametern#

Der OpenAI Chat Model Node ist ein Sub-Node. Sub-Nodes verhalten sich anders als andere Nodes, wenn mehrere Elemente mithilfe von Ausdrücken verarbeitet werden.

Die meisten Nodes, einschließlich Root-Nodes, nehmen eine beliebige Anzahl von Elementen als Eingabe entgegen, verarbeiten diese Elemente und geben die Ergebnisse aus. Sie können Ausdrücke verwenden, um auf Eingabeelemente zu verweisen, und der Node löst den Ausdruck für jedes Element nacheinander auf. Bei einer Eingabe von beispielsweise fünf Namenswerten wird der Ausdruck {{ $json.name }} nacheinander in jeden Namen aufgelöst.

In Sub-Nodes wird der Ausdruck immer zum ersten Element aufgelöst. Bei einer Eingabe von beispielsweise fünf Namenswerten wird der Ausdruck {{ $json.name }} immer zum ersten Namen aufgelöst.

The service is receiving too many requests from you#

This error displays when you've exceeded OpenAI's rate limits.

There are two ways to work around this issue:

  1. Split your data up into smaller chunks using the Loop Over Items node and add a Wait node at the end for a time amount that will help.
  2. Use the HTTP Request node with the built-in batch-limit option against the OpenAI API instead of using the OpenAI node.

Insufficient quota#

This error displays when your OpenAI account doesn't have enough credits or capacity to fulfill your request. This may mean that your OpenAI trial period has ended, that your account needs more credit, or that you've gone over a usage limit.

Zero balance issue

If you create an API key when the account balance is zero, operations will always report "insufficient quota" even if funds are added later. To avoid this issue, ensure that there is credit in the account before issuing a new API key from the API keys screen.

To troubleshoot this error, on your OpenAI settings page:

  • Select the correct organization for your API key in the first selector in the upper-left corner.
  • Select the correct project for your API key in the second selector in the upper-left corner.
  • Check the organization-level billing overview page to ensure that the organization has enough credit. Double-check that you select the correct organization for this page.
  • Check the organization-level usage limits page. Double-check that you select the correct organization for this page and scroll to the Usage limits section to verify that you haven't exceeded your organization's usage limits.
  • Check your OpenAI project's usage limits. Double-check that you select the correct project in the second selector in the upper-left corner. Select Project > Limits to view or change the project limits.
  • Check that the OpenAI API is operating as expected.

Balance waiting period

After topping up your balance, there may be a delay before your OpenAI account reflects the new balance.

In Localmind Automate:

If you find yourself frequently running out of account credits, consider turning on auto recharge in your OpenAI billing settings to automatically reload your account with credits when your balance reaches $0.

Bad request - please check your parameters#

This error displays when the request results in an error but Localmind Automate wasn't able to interpret the error message from OpenAI.

To begin troubleshooting, try running the same operation using the HTTP Request node, which should provide a more detailed error message.