OpenAI API Integration
In SupaLaunch, we provide an implementation of text summarization using the OpenAI API.
UI components
UI components with the examples of how to use the OpenAI API are located in /src/app/ai/summarization
folder.
For both UI and API we use Vercel AI library. It is helpful for implementing streaming of the LLM response from the API.
API routes
API routes for the OpenAI API are located in /src/app/api/ai/summarization
folder.