Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: RAG on HN comments in 34 LOC (val.town)
6 points by benzguo on July 20, 2024 | hide | past | favorite | 4 comments


Little demo that searches Hacker News comments for a topic (using 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 – 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).


I’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.


How do I run it?


Ah, it's the "Preview" button in the val.town, or you can go to the hosted page: https://substrate-hackernewsrag.web.val.run




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: