Switch language한국어
Back to the list

How I Built Semantic Discussion Clustering Without Embeddings (and Why It Was Good Enough)

TL;DR AI

Key summary

2 min read
  1. A developer built a low-cost system to monitor and group discussions across Reddit, Hacker News, GitHub Issues, and forums.

  2. Instead of embeddings, it uses tokenization, TF-IDF vectors, and cosine similarity to cluster related posts.

  3. After testing several thresholds, 0.25 performed best for grouping discussion clusters.

  4. The stack includes Node.js, Redis, BullMQ, PostgreSQL, and Groq for summaries, with more feeds and alerts planned.

Read the original