- Notifications
You must be signed in to change notification settings - Fork0
Teach any questions in seconds (by OpenAI)
samwuwu/Ask
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Teach you anything in seconds use AI.
2023-02-04.22.43.56.mov
❤️ Your logo |
English
,Simplified Chinese
,Traditional Chinese
,Japanese
,Italian
,German
,Spanish
,French
,Dutch
,Korean
,Khmer
,Hindi
PR welcome
Inspired byTwtterBio andDanny Richman
Powerd byOpenAI,Next.js,Vercel andTailwind CSS.
This project uses theOpenAI GPT-3 API (specifically, text-davinci-003) andVercel Edge functions with streaming. It constructs a prompt based on the form and user input, sends it to the GPT-3 API via a Vercel Edge function, then streams the response back to the application.
Video and blog post coming soon on how to build apps with OpenAI and Vercel Edge functions!
After cloning the repo, go toOpenAI to make an account and put your API key in a file called.env
.
Then, run the application in the command line and it will be available athttp://localhost:3000
.
npm run dev
Deploy the example usingVercel: