[Sponsor - 赞助]
302.AI是一个汇集全球顶级品牌的AI超市,按需付费,零月费,零门槛使用各种类型AI。
Generate the Excel formulas you need in seconds using AI.
This project uses the ChatGPT API and the Vercel AI SDK with streaming. It constructs a prompt based on the form and user input, sends it to the ChatGPT API with a Vercel Edge Function, then streams the response back to the application UI.
SmartExcel is built on the following stack:
If you are unfamiliar with some of the tech stacks, please click on the "How to use" links above to read my Chinese blog, or visit my another public repo - Learn Next.js Stack
After cloning the repo, you need to copy the .env.example
file to create a .env
file and fill in the required fields.
Open Upstash and Create Redis application.
Then write UPSTASH_REDIS_REST_URL
and UPSTASH_REDIS_REST_TOKEN
to .env
.
Then, run the application in the command line and it will be available at http://localhost:3000
.
pnpm i
pnpm run dev
Deploy the example using Vercel:
Full-Stack Engineer, Open-Source Next.js Artist & AI Enthusiast.
全栈工程师,Next.js 开源手艺人,AI降临派。
My Blog
Github
Twitter/X
Twitter/X - En
Medium
掘金
知乎
微信交流群
If this project is helpful to you, star the repo and buy be a coffee, thank you.