TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Cheapest way to summarise articles using AI?

1 点作者 jerrygoyal将近 2 年前
Is there an API which I can use to pass the link, and it scrapes the text and provide me summary? else, I can parse text on my server and then pass that text to an AI model to summarise it.<p>What are some ways to approach this? I&#x27;m looking for a good balance between the cost and the quality of summary generated.

3 条评论

EdTechAndrew将近 2 年前
I think GPT-4 (or 3.5 if you are trying to save a few dollars) would be best. OpenAI&#x27;s models are strong for summarizing text, you would just need to scrape it yourself and pass it to the API.<p>The API is easy to use and there are a lot of supported libraries already for whatever language you prefer: <a href="https:&#x2F;&#x2F;platform.openai.com&#x2F;docs&#x2F;libraries&#x2F;node-js-library" rel="nofollow noreferrer">https:&#x2F;&#x2F;platform.openai.com&#x2F;docs&#x2F;libraries&#x2F;node-js-library</a>.<p>If you are lucky enough to get off the plugin waitlist, you can even use the web browsing plugin for GPT-4 and that should let you just pass in a link.
floydax将近 2 年前
Not perfect, but I built this to generate summaries for my HN AI related newsletter <a href="https:&#x2F;&#x2F;github.com&#x2F;vlameiras&#x2F;hn-ai-news">https:&#x2F;&#x2F;github.com&#x2F;vlameiras&#x2F;hn-ai-news</a>. I just fetch the content locally with requests and then feed it to GPT-4 API
Kelteseth将近 2 年前
Why don&#x27;t you ask an AI that question?