(MAJOR ISSUE?) Chat GPT integration. Wrong endpoints in API integration for embedding models.

(MAJOR ISSUE?) Chat GPT integration. Wrong endpoints in API integration for embedding models.

There seems to be a issue with the API endpoints with the ChatGPT, Zoho Flow integration. When using the model 'text-embedding-ada-002' the endpoint should be  v1/embeddings but instead it's v1/chat/completions. 

Here's an example of the history on a failed flow because of the error:



This is the text from the error:

"ChatGPT says \"{\"error\":{\"code\":null,\"param\":\"model\",\"message\":\"This is not a chat model and thus not supported in the v1/chat/completions endpoint. Did you mean to use v1/completions?\",\"type\":\"invalid_request_error\"}}\""