Home / Companies / Substrate / Blog / Post Details
Content Deep Dive

RAG on Hacker News comments to generate a research summary

Blog post from Substrate

Post Details
Company
Date Published
Author
-
Word Count
397
Language
English
Hacker News Points
-
Summary

This post demonstrates how to use Substrate to search Hacker News comments for a topic, extract sentiment, and generate a research summary in just 34 lines of code. The process involves searching comments using the Algolia HN Search API, extracting summary, sentiment, and other metadata from each comment with ComputeJSON, and finally generating a markdown summary of all extracted JSON using ComputeText. This implementation is efficient and easy to remix, making it genuinely useful for multi-step workflows.