Next.js Discord

Discord Forum

Implementing usage of Open AI API functionality to my application

Answered
Yellow croaker posted this in #help-forum
Open in Discord
Yellow croakerOP
Hello i'm looking to implement quite simple usage of OpenAI APi functionality to application. Plan is just to take user data and send that to OpenAI api and get a answer back from there throught streaming. Should i be using Vercel AI SDK or something else to make the usage of the APi easier?
https://sdk.vercel.ai/docs
Answered by joulev
yes the Vercel AI SDK is an easy to use way to interact with the OpenAI API via streaming
View full answer

4 Replies

yes the Vercel AI SDK is an easy to use way to interact with the OpenAI API via streaming
Answer
Yellow croakerOP
Thanks! closing this 🙂 Cant close yet, there seem to be some period to wait
oh nvm! if i use Vercel AI SDK im not locked to vercel platform right?
no, Vercel AI SDK is like any regular javascript libraries, you can use it everywhere