I am trying to implement openai's api but it didn't work since the npm package uses axios so I tried the openai-edge which is supposed to fix this but I keep getting this error
I just used fetch with the curl references in the API docs. This worked well for my use case - creating embeddings and completions. But there is this too https://github.com/dan-kwiat/openai-edge