[FEATURE]: Hybrid Dynamic Trending Topics Engine

Đang mở
#166 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
fastapi, next.js, python, redis, typescript
Lĩnh vực
ai, api, backend

Hướng nghiên cứu

Start by reviewing the Next.js 15 / Python 3.13 overhaul in PR #158 and the existing preset-topics.ts. The proposal outlines RSS ingestion, Groq evaluation, caching, and a /api/trending endpoint, but leaves prompt design, error handling, dependencies, and implementation details undecided. Done would require an agreed architecture and working live topics with a static fallback.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
Feature and its Use Cases
Context

Following up on the Future Scope roadmap laid out in the recent Next.js 15 / Python 3.13 overhaul (PR #158). I am proposing the initial architecture to build the Hybrid Dynamic Trending Topics Engine to replace the static preset-topics.ts.

Proposed High-Level Architecture
  1. Ingestion Layer (FastAPI Background Task):
    Set up an autonomous scheduled job to fetch live RSS news feeds (Reuters, AP, Al Jazeera, etc.) periodically.
  2. Evaluation Pipeline (Groq LLM):
    Route fetched articles through a Groq-powered filtering prompt to evaluate editorial balance, controversy index, and relevance score.
  3. Caching Layer:
    Store the validated trending debate cards in-memory (or Redis) to ensure fast frontend retrieval without hitting the LLM on every page load.
  4. API Endpoint (/api/trending):
    Serve the cached topics to the Next.js frontend, with an automatic fallback to the static preset-topics.ts if the live feed fails.
Next Steps

This is a high-level architectural draft. Once assigned, I will dive deep and flesh this out into the best possible architecture, mapping out the exact prompt structures, error handling, and dependency requirements for the RSS parser.

I would love to take ownership of this feature for GSoC 2027. If the maintainers approve of this general direction, please assign this to me and I will start pushing the initial backend scaffolding!

Additional Context

No response

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Ngôn ngữ chính
TypeScript
Star
58
Fork
90
Merge trung bình
11 giờ 51 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AOSSIE-Org/Perspective

Tất cả issue của AOSSIE-Org/Perspective

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.