Generate your Twitter bio with OpenAI GPT-3 API (text-davinci-003) and Vercel Edge Functions with streaming.
This project generates Twitter (X) bios for you using AI.
This project uses both Mixtral and GPT-3.5 with streaming to generate a Twitter bio. It constructs a prompt based on the form and user input, sends it either to the Mixtral API through Together.ai or the GPT-3.5 API through OpenAI, then streams the response back to the application.
If you'd like to see how I built the GPT-3.5 version of this, check out the video or blog post.
OPENAI_API_KEY
in your .env
TOGETHER_API_KEY
npm run dev
and it will be available at http://localhost:3000
.Deploy the example using Vercel:
Generate your Twitter bio with OpenAI GPT-3 API (text-davinci-003) and Vercel Edge Functions with streaming.
This project generates Twitter (X) bios for you using AI.
This project uses both Mixtral and GPT-3.5 with streaming to generate a Twitter bio. It constructs a prompt based on the form and user input, sends it either to the Mixtral API through Together.ai or the GPT-3.5 API through OpenAI, then streams the response back to the application.
If you'd like to see how I built the GPT-3.5 version of this, check out the video or blog post.
OPENAI_API_KEY
in your .env
TOGETHER_API_KEY
npm run dev
and it will be available at http://localhost:3000
.Deploy the example using Vercel: