Show HN: Dev Radar, programming news aggregator with AI-written summaries (dev-radar.com)

2 points by frozenlettuce ↗ HN
Developed this over the last two days to learn how to interact with the open ai API. So far it has been a fun experiment! I know that it is really unpolished by I wanted to share my results :)

Here's how the process works:

- browse some rss feeds and collect articles

- pick the articles' titles and submit them to chatgpt, asking which ones would be relevant to the target audience (alongside some editorial settings)

- approved items move to the scrapping phase (some rss don't include content)

- for each approved article, we ask chatgpt to write a summary about the article (alongside some editorial adjustments, like informing it that the author might be biased on pushing a product/solution, making it necessary to adopt a neutral instance).

- written articles move to the publish phase, where we generate static html pages and push to cloudflare

Some challenges:

- so far I've been trying to tag the articles by providing the item title, but that doesn't seem to be working well (it should be better to ask for categories alongside the article writting itself)

- currently I ask it to write content up to 250 words. It seems that it treats the "up to" as a goal, not a limit, and tries to reach a number close to it

- if the title is vague and scrapping obtains some random garbage, it might hallucinate (I think that it might be solved by having a "reviewing" step, where we provide the article alongside a review prompt).

- random stat: around 150 articles written and the API bill is still below $1!

0 comments

[ 2.8 ms ] story [ 10.9 ms ] thread

No comments yet.