3 ms·
Show HN: RAG on HN comments in 34 LOC
- benzguo 2y agoLittle demo that searches Hacker News comments for a topic (using https://hn.algolia.com/api https://hn.algolia.com/api), extracts sentiment and other metadata, then generates a research summary. Really proud of the API we've built at https://substrate.run https://substrate.run – you don't have to think about graphs, but you implicitly create a DAG by relating tasks to each other. Because you submit the entire workflow to our inference service, you get automatic parallelization of dozens of LLM calls for free, zero roundtrips, and much faster execution of multi-step workflows (often running on the same machine).
- Something1234 2y agoHow do I run it?
- benzguo 2y agoAh, it's the "Preview" button in the val.town, or you can go to the hosted page: https://substrate-hackernewsrag.web.val.run https://substrate-hackernewsrag.web.val.run
- bosch_mind 2y agoI’m new to RAG, but have been learning about it lately for fun and it’s pretty incredible as a concept. What are your thoughts around these frameworks like llama index and langchain? Being a seasoned engineer, it seems like a ridiculous amount of fluff around an already simple process.