Skip to content
/ nflow Public

NFlow is an intelligent document processing and knowledge management system that leverages vector embeddings and natural language processing to extract, organize, and query information from various document formats.

Notifications You must be signed in to change notification settings

N2FlowJS/nflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFlow Architecture and Document Processing Flow

╔═══════════════════════════════════════════╗                                      
║    _   _       _____ _                    ║
║   | \ | |     |  ___| | _____      __     ║
║   |  \| |_____| |_  | |/ _ \ \ /\ / /     ║
║   | |\  |_____|  _| | | (_) \ V  V /      ║
║   |_| \_|     |_|   |_|\___/ \_/\_/       ║ 
║                                           ║
╚═══════════════════════════════════════════╝

The Next-Generation Native Flow for Document Processing and RAG in Node.js

GitHub stars GitHub forks GitHub issues GitHub license

📚 Documentation
💻 GitHub Repository


✨ Features

  • 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.

🔥 Why N-Flow?

  • 🏎 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.

🧩 Core Concepts

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.

📚 Architecture Overview

N-Flow Architecture Diagram

Flow of Documents: Load → Preprocess → Embed → Store
Flow of Queries: Embed Query → Retrieve → Respond


🚀 Why Choose N-Flow?

  • 🏎️ 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.

📈 Roadmap

  • 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.

🤝 Contributing

We ❤️ contributions!

git clone https://github.com/N2FlowJS/nflow.git
cd nflow
npm install
npm run dev

Please check out CONTRIBUTING.md for guidelines.


📜 License

This project is licensed under the MIT License.


Powered by passion, built for scale — N-Flow is the heartbeat of document-driven AI applications.

About

NFlow is an intelligent document processing and knowledge management system that leverages vector embeddings and natural language processing to extract, organize, and query information from various document formats.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published