News for hackers. Stuff that matters.
Re:Show HN: LLM App – build a realtime LLM app in 30 lines, ... by Arimbr on Thursday July 27, 2023 @11:05AM (#36894711)
Hi, interesting!

> Then it processes and organizes these documents by building a 'vector index' using the Pathway package.

What is the Pathway package?

Re:Show HN: LLM App – build a realtime LLM app in 30 lines, ... by janchorowski on Thursday July 27, 2023 @11:35AM (#36895141)
Pathway (https://github.com/pathwaycom/pathway) is a data processing framework we are developing that unifies stream and batch processing of large datasets. It lets developers concentrate on writing the data processing logic, without worrying about tracking changes to data and updating the results. The same code can then be run on batch data (e.g. during testing) or on real-time data streams (i.e. online query processing)

In the LLM app, Pathway allows concentrating on prompt building and querying the LLM APIs as if the corpus of documents were static, while all updates to it are handled by the framework itself.