Using OpenAIEmbeddings, I am not receiving a proper response

“I use Gemini-Pro (GoogleGenerativeAIEmbeddings) and ChatOpenAI (OpenAIEmbeddings), and by providing the same prompt, I receive a response from Gemini but not from OpenAI. Why is that?”

Hi @harsh.rajguru2 - welcome to the Forum.

Could you share a few more details on the text that you are looking to embed, the OpenAI embedding model that you are using, the error code that you are receiving etc.? This will help to pinpoint possible root causes.

OpenAI doesn’t respond with anything but an error if you cannot pay for your services with a credit balance.

https://platform.openai.com/account/billing/overview