Pathway's LLM (Large Language Model) App
This is referred from https://github.com/pathwaycom/llm-app
Reproducibility
The codebase underwent a few updates:
- Integration of Streamlit within a container.
- Utilization of Docker Compose to initiate both containers.
- Inclusion of a sample .env file.
These changes have been implemented and are available at piyush-an/llm-app
Sample Query
-
How to use LLMs in Pathway?
-
How to connect to Kafka in Pathway?
Observation
- The knowledge base is structured data stored in the form of a dictionary in the folder location
examples/data/pathway-docs
. - The app does not use a vector database and offers real-time retrieval of data from the knowledge base.
- The knowledge base can be updated in real time to add more files.
- Users have the option to utilize the Hugging Face model in place of OpenAI.
- Other available options for the knowledge base include PDF, HTML, DOCX, PPTX stored locally or on S3, and a SQL database.