TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: LLM App – build a realtime LLM app in 30 lines, with no vector database

11 pointsby janchorowskialmost 2 years ago
Hi HN, I am Jan, CTO and co-founder of Pathway.com.<p>We’ve built a LLM microservice that answers questions about a corpus of documents, while automatically reacting to additions of new docs. The single, self-contained service fully replaces a complex multi-system pipeline that scans in real-time for new documents, indexes them into a specialized database and queries it to generate answers. Everyone can have their own real-time vector now.<p>Github: <a href="https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app">https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app</a> Demo video: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;kcrJSk00duw" rel="nofollow noreferrer">https:&#x2F;&#x2F;youtu.be&#x2F;kcrJSk00duw</a><p>I am eager to hear your thoughts and comments!

3 comments

janchorowskialmost 2 years ago
To quickly get to the application sources please go to:<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app&#x2F;blob&#x2F;main&#x2F;llm_app&#x2F;pathway_pipelines&#x2F;contextless&#x2F;app.py">https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app&#x2F;blob&#x2F;main&#x2F;llm_app&#x2F;path...</a> for the simplest contextless app<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app&#x2F;blob&#x2F;main&#x2F;llm_app&#x2F;pathway_pipelines&#x2F;contextful&#x2F;app.py">https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app&#x2F;blob&#x2F;main&#x2F;llm_app&#x2F;path...</a> for the default app that builds a reactive index of context documents<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app&#x2F;blob&#x2F;main&#x2F;llm_app&#x2F;pathway_pipelines&#x2F;contextful_s3&#x2F;app.py">https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app&#x2F;blob&#x2F;main&#x2F;llm_app&#x2F;path...</a> for the contextful app reading data from s3<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app&#x2F;blob&#x2F;main&#x2F;llm_app&#x2F;pathway_pipelines&#x2F;local&#x2F;app.py">https:&#x2F;&#x2F;github.com&#x2F;pathwaycom&#x2F;llm-app&#x2F;blob&#x2F;main&#x2F;llm_app&#x2F;path...</a> for the app using locally available models
评论 #36902389 未加载
Arimbralmost 2 years ago
I see the ingested documents in the data folder don&#x27;t have an id field, only a doc field.<p>{&quot;doc&quot;: &quot;Using Large Language Models in Pathway is simple: just call the functions from `pathway.stdlib.ml.nlp`!&quot;}<p>What if I pass two contradictory statements? Is there a way to remove (or better update) a document with a new version?<p>For example, if I am ingesting some public docs, and I update a doc page. How do I make so that it only takes the answer from the latest document version?
评论 #36895190 未加载
Arimbralmost 2 years ago
Hi, interesting!<p>&gt; Then it processes and organizes these documents by building a &#x27;vector index&#x27; using the Pathway package.<p>What is the Pathway package?
评论 #36895141 未加载