Nutlope/news-summarizer
关于
AI 新闻摘要工具。
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文news-summarizer.vercel.app
This project summarizes news articles for you using AI.
How it works
This project uses the OpenAI GPT-3 API (specifically, text-davinci-003) and Vercel Edge functions with streaming. It fetches the content on a article, sends it in a prompt to the GPT-3 API to summarize it via a Vercel Edge function, then streams the response back to the application.
Saving costs
Projects like this can get expensive so in order to save costs if you want to make your own version and share it publicly, I recommend three things:
- Implement rate limiting so people can't abuse your site
- Implement caching to avoid expensive AI re-generations
- Use
text-curie-001instead oftext-dacinci-003in thesummarizeedge function
I'm going to be implementing 1 & 2 for this repo very soon so keep an eye out on that!
Running Locally
After cloning the repo, go to OpenAI 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 at http://localhost:3000.
npm run dev
One-Click Deploy
Deploy the example using Vercel:
探索相关项目
加载中…
