Do I need to install openai npm package in next.js or can do the same with fetch fetch("https://api.openai.com/v1/chat/completions", { method: "POST" ?
@MileMijatović Their API is just...well, normal, right? You'd probably install the package to have pre-defined methods and such. But you don't HAVE to. HTTP works like HTTP always works. You've never needed to install something to call or consume HTTP endpoints.