╔═══════════════════════════════════════════╗
║ _ _ _____ _ ║
║ | \ | | | ___| | _____ __ ║
║ | \| |_____| |_ | |/ _ \ \ /\ / / ║
║ | |\ |_____| _| | | (_) \ V V / ║
║ |_| \_| |_| |_|\___/ \_/\_/ ║
║ ║
╚═══════════════════════════════════════════╝
The Next-Generation Native Flow for Document Processing and RAG in Node.js
📚 Documentation
💻 GitHub Repository
- ⚡ Ultra Fast: 100% native JavaScript/TypeScript, zero dependencies.
- 🧠 Intelligent Pipelines: Ingest, process, embed, store, and query seamlessly.
- 🗂️ Fully Modular: Swap in your own loaders, splitters, embedders, and stores.
- 🔍 Optimized Search: High-performance vector similarity search.
- 🔄 Scalable: From prototypes to enterprise-grade deployments.
- 🔥 Designed for RAG: Perfect foundation for Retrieval-Augmented Generation.
- 🏎 Zero Overhead: Native Node.js, no unnecessary bloat.
- 🛡 Reliable: Structured error handling for stability.
- 🔧 Extensible: Customize each pipeline step easily.
- 🧠 AI-Ready: Designed for semantic search and LLM-based systems.
Concept | Description |
---|---|
Loader | Import documents from file systems, URLs, APIs, etc. |
Splitter | Divide documents into smaller semantic chunks. |
Embedder | Transform text into vector embeddings. |
Vector Store | Store embeddings and enable fast retrieval. |
Flow | Orchestrate full ingestion and retrieval processes. |
Flow of Documents: Load → Preprocess → Embed → Store
Flow of Queries: Embed Query → Retrieve → Respond
- 🏎️ Blazing Fast: Built for speed, not bloat.
- 🧩 Composable: Easily integrate your preferred libraries and models.
- 📚 AI-First: Specifically optimized for LLMs and semantic applications.
- 🛡️ Production-Ready: Robust error handling, test coverage, and extensibility.
- Built-in loaders for PDF, Word, Text files.
- Real-time ingestion with WebSocket support.
- Sharded vector storage for horizontal scaling.
- Summarization modules for large docs.
- Integration with LangChain, LlamaIndex, etc.
We ❤️ contributions!
git clone https://github.com/N2FlowJS/nflow.git
cd nflow
npm install
npm run dev
Please check out CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License.
Powered by passion, built for scale — N-Flow is the heartbeat of document-driven AI applications.