Pathway LLM App

Normal
GitHub Jupyter Notebook MIT

Description

Ready-to-run cloud templates for RAG, AI pipelines and enterprise search with live data, always in sync with Sharepoint, Google Drive, S3, Kafka and more.

Key Features

  • Live data sync — automatically syncs incremental changes from file systems, Google Drive, Sharepoint, S3, Kafka, PostgreSQL and other sources
  • Built-in vector index — vector search via usearch and hybrid full-text search via Tantivy, no external database required
  • Multimodal RAG — GPT-4o parsing extracts charts, tables, and text from PDFs/DOCXs in real time
  • Adaptive RAG — reduces token consumption by up to 4x while maintaining accuracy
  • Docker containerized deployment — every template runs as a Docker container exposing an HTTP API
  • Multiple templates — pre-built Q&A RAG, document indexing, multimodal RAG, unstructured-to-SQL pipelines

Use Cases

💡 Enterprise real-time search: build always-current AI search across Sharepoint, Google Drive document libraries
💡 Financial document analysis: extract structured data from PDF reports into PostgreSQL for natural language queries
💡 Multimodal knowledge retrieval: semantic understanding and precise retrieval of complex documents with charts and tables
💡 Private deployment: fully local RAG system via Mistral + Ollama for data privacy compliance
💡 Smart slide search: multimodal indexing and retrieval of PowerPoint and PDF presentations

Strengths & Limitations

Strengths

  • High community interest (59.0k stars)
  • Permissive open-source license (MIT)
  • Established track record (3 years in production)
  • Responsive to issues, low backlog

Categories

Quick Start

# Install Pathway and dependencies
pip install pathway

# Run the Q&A RAG template via Docker
docker run -p 8080:8080 -e OPENAI_API_KEY=$OPENAI_API_KEY \
  pathwaycom/llm-app:question-answering-rag

# Or run the Python script directly from the template directory
cd templates/question_answering_rag
pip install -r requirements.txt
python app.py

Related Projects

Quivr

39.4k · Python
Stale C

Opinionated RAG framework for integrating GenAI into your apps. Works with any LLM, any vectorstore, any files — so you can focus on your product instead of building RAG pipelines.

ragpythonvector-database +3
  • · Opinionated RAG framework — Ready-to-use RAG pipeline, no need to build from scratch
  • · Any file support — PDF, TXT, Markdown and more with custom parser support
  • · Multi-LLM compatible — OpenAI, Anthropic, Mistral, Gemma and Ollama local models

UltraRAG

5.7k · Python
Active A+

A low-code MCP framework for building complex and innovative RAG pipelines. Combines visual pipeline design with MCP protocol integration for end-to-end RAG — from data ingestion and chunking to retrieval and generation.

ragmcppython +3
  • · First lightweight RAG framework built on MCP architecture
  • · Low-code YAML configuration for complex RAG workflow orchestration
  • · Core components (retriever, generator, etc.) as independent MCP Servers

Unstract

7.1k · Python
Active A+

LLM-driven extraction of unstructured data, built for API deployments and ETL pipeline workflows. Automates document parsing, PDF extraction, and intelligent data processing with LLM-powered intelligence.

data-processingragpython +3
  • · Prompt Studio defines document extraction schemas with natural language
  • · Supports REST API deployment and ETL pipeline workflows
  • · MCP Server integration connecting to Claude and other AI agents

SAG

2.3k · TypeScript
Active A

SQL-Driven RAG Engine that automatically builds knowledge graphs during querying, combining SQL query capabilities with Retrieval-Augmented Generation for efficient knowledge retrieval.

pythonragtools +2
  • · SQL-driven RAG engine that automatically builds knowledge graphs at query time instead of pre-maintaining them
  • · Three-stage smart search: entity recall → multi-hop expansion → intelligent ranking (PageRank)
  • · Semantic atomic event extraction — automatically decomposes documents into structured events and multi-dimensional entities