跳到正文
DEV Community· Shoeb Reza | Arwahyn AI·· 34 分鐘前AI 評分38

我們打造每日兩次以孟加拉語撰寫新聞、聚合重複報道並列明來源的 AI 新聞編輯台

We built an AI news desk that writes in Bangla twice a day, clusters duplicate stories, and credits every source

AI 導讀

該 academy 建立 AI 新聞編輯台,每日按達卡時間上午 8 時及晚上 7 時以孟加拉語撰寫新聞,每次最多刊出三則。編輯台會聚合重複報道、略過過去 72 小時內已報道的新聞,並為每篇文章列明來源名稱及連結。系統使用 Gemini 撰寫新聞及製作圖片,網站採用 Astro on Vercel。

正文

Shoeb Reza | Arwahyn AI

Most AI news in Bangla is either a translated headline with no context or a copied article. We wanted something closer to a morning newsletter: what happened, why it matters, and what it changes for someone working in Bangladesh, written in Bangla that reads like a person wrote it.

So our academy runs its own small news desk:

  1. A collector checks a list of tech and AI news sources every 30 minutes and scores each headline.
  2. Two editorial runs a day, at 8 AM and 7 PM Dhaka time, the way a newspaper has a morning and an evening edition. Each run writes at most three stories.
  3. The bar rises for each extra story. The first story only needs to clear a basic score. The second and third have to be genuinely big: well above a typical week's scores, or covered by two or more outlets.
  4. Duplicate stories are clustered. When five outlets cover the same launch, the desk writes it once and credits all five.
  5. Anything covered in the last 72 hours is skipped, so the same story doesn't come back with a new headline.
  6. Every article credits its sources by name and link. Thumbnails are made fresh, not copied from the source.
  7. A fixer turns Bangla-script tech names back into English letters, because "ওপেনএআই" in a headline helps nobody find anything.

On a slow news day it stops early and logs "slow news, stopped at one story" rather than padding. That's the part I'm happiest with, because a desk that always publishes three stories ends up publishing three weak ones.

Stack: Supabase (Postgres, edge functions, cron), Gemini for writing and images, Astro on Vercel for the site.

You can read the result at academy.arwahynai.com/news.


I run Arwahyn AI, an AI automation agency in Dhaka.

來源:DEV Community · dev.to