/plushcap/analysis/substrate/hackernews-rag

RAG on Hacker News comments to generate a research summary

What's this blog post about?

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.

Company
Substrate

Date published
July 15, 2024

Author(s)
-

Word count
397

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.