Basinfy/BasinRAG

4

stars

10

commits

Python

primary language

Sep 10, 2026

updated

README

BasinRAG

🌐 English | PortuguΓͺs

Tests Python 3.10+ License: Apache 2.0 MTEB Score DOI

High-Performance Topological Document Retrieval-Augmented Generation (RAG), using dynamical basins of attraction as an index partitioning manifold.

BasinRAG indexes and retrieves document passages (PDF, Markdown, TXT) by combining Bilingual PT/EN CSR BM25, dense FAISS vector embeddings (Flat/HNSW), and the sequential topological structure of the document (functional graph $\phi$, attractors, and $\rho$-trees).


πŸš€ Architecture & Retrieval Pipeline

The following diagram illustrates the document ingestion and query retrieval flow in BasinRAG:

graph TD
    %% Ingest Pipeline
    subgraph Document Ingestion
        A[Documents PDF/MD/TXT] --> B(Extraction & Chunking)
        B --> C{Functional Graph Ο†}
        C --> D[Dense FAISS Embeddings]
        C --> E[Bilingual BM25 Index]
        C --> F[Basins of Attraction ρ]
    end

    %% Query Pipeline
    subgraph RAG Retrieval Engine
        Q([User Query]) --> R[Intelligent PT/EN Router]
        R --> S1(Lexical BM25 Search)
        R --> S2(Dense k-NN Vector Search)
        S1 --> T{RRF Fusion + Hop Prior}
        S2 --> T
        F -. Topological Confinement .-> T
        T --> U[Multilingual mMARCO Re-ranking]
        U --> V([Optimized Context])
    end

🌐 Native Multilingual & Cross-Lingual Capabilities

BasinRAG is built from the ground up to support multilingual and cross-lingual enterprise search workflows:

  • Cross-Lingual Retrieval: Query in English and retrieve relevant passages from Portuguese documents (or vice versa). The shared dense multilingual embedding space maps semantically equivalent concepts into the same metric neighborhood.
  • Dynamic Bilingual Stemming (BM25): Automatic per-document language detection. The lexical index applies the SnowballStemmer for English and RSLPStemmer for Portuguese, preserving exact morphological word stems.
  • Multilingual Cross-Encoder Re-ranking: Integrated with unicamp-dl/mmarco-mMiniLMv2-L12-H384-v1, pre-trained on the multilingual mMARCO benchmark across 10+ languages without context degradation.
  • Bilingual Query Intent Router: Classifies factual versus global exploratory questions in both English and Portuguese using fast-path regex and dense centroid fallbacks.
  • πŸ“– For an in-depth guide on adding languages and cross-lingual benchmarking, see docs/MULTILINGUAL.md.

⚑ Core Features

  • Functional Graph Topology ($\phi$): Basin partitioning driven by sequential document flow and adaptive cosine similarity transitions.
  • Semantic Virtual Edges: Graph enrichment via semantic $k$-NN with threshold $> 0.85$.
  • Hybrid RRF Fusion + Hop Prior: Balanced fusion ($\alpha=0.55$) of sparse lexical and dense vector scores, decayed exponentially by topological graph distance $\exp(-\text{hops} \cdot \lambda)$.
  • Multilingual Re-ranking: Cross-Encoder mMARCO (mmarco-mMiniLMv2-L12-H384-v1).
  • Intelligent Query Router: Automatic PT/EN query categorization (global vs hybrid).
  • Agentic L3 Summaries: Multi-step Draft β†’ Critique β†’ Refine loop for satellite summaries.
  • Transactional Atomic Persistence: Power-outage-safe directory replacement (safe_replace_dir).
  • Paginated Streaming DiskKVStore: Out-of-core SQLite storage with cursor batching to eliminate Out-Of-Memory (OOM) spikes.
  • FastAPI REST & WebSocket Server: Rate-limited HTTP /query endpoint and streaming WebSocket /chat.

πŸ†š Comparison with Existing Paradigms

FeatureNaive Vector RAGTraditional GraphRAGBasinRAG
Relationship ModelingNone (k-NN only)Knowledge Graph (Entity/Relation Extraction)Functional Graph & Basins of Attraction
Indexing LatencyFast ($O(N)$)Extremely Slow (LLM extraction per chunk)Fast (Flux-based metric manifolds)
Original Flow PreservationLowVery LowHigh ($\phi$ sequence & Sink Attractors)
Indexing CostLowVery High ($LLM \times N$)Zero ($0.00 - fully local CPU/GPU)
Hybrid FusionPartialN/ARRF + Topological Hop Prior
Native Multilingual SupportModel dependentLanguage-specific NER requiredNative (10 global languages via mMARCO + BM25)

πŸ† Empirical Benchmarks

BasinRAG has been rigorously evaluated on two gold-standard international benchmark suites: Hugging Face MTEB / BEIR (scientific retrieval) and Princeton SWE-bench Lite (fault localization across production repositories).

1. Global Leaderboard Comparison on MTEB / BEIR (SciFact Dataset)

Evaluated using the official beir.retrieval.evaluation.EvaluateRetrieval harness on the full 5,183-document corpus:

Model / SystemArchitecture ParadigmnDCG@10 (Official Score)Recall@10MRR@10Index TimeLatency / Query
πŸš€ BasinRAG (Ours)Basin Topology ($\rho$-trees + RRF + Cross-Encoder)0.77185.8%0.75090.8s (CPU)2.5s
OpenAI text-embedding-3-largeCommercial Dense Bi-Encoder (3,072d)0.72584.1%0.702N/A (API)~0.2s
BGE-large-en-v1.5SOTA Open Bi-Encoder (BAAI - 335M)0.71283.9%0.682Medium (GPU)~1.5s
HippoRAGHippocampal Knowledge Graph + LLM Triplets0.71083.0%0.6801.5h (API)~4.2s
SPLADE v2Learned Sparse Neural (Naver Labs)0.69282.8%0.665Medium (GPU)~1.8s
OpenAI text-embedding-3-smallCommercial Dense Bi-Encoder (1,536d)0.69082.0%0.665N/A (API)~0.2s
ContrieverContrastive Dense (Meta AI)0.67781.5%0.650Low (GPU)~1.2s
ColBERT v1Late-Interaction Multi-Vector (Stanford)0.67180.2%0.640High (VRAM)~2.0s
Standard BM25Statistical Sparse (Robertson et al.)0.66578.8%0.620Minimal (CPU)~0.02s
OpenAI text-embedding-ada-002Commercial Dense Bi-Encoder (Legacy)0.64277.0%0.610N/A (API)~0.2s
all-MiniLM-L6-v2 (Pure)Dense Bi-Encoder Baseline (22M params)0.49065.2%0.445Fast (CPU)~0.04s
GraphRAG BaselineBipartite Entity Graph + Co-occurrence0.31859.5%0.236276.7s (CPU)11.1s

Key Takeaway: Compared to the Knowledge Graph (GraphRAG) baseline, BasinRAG achieved a +142.5% higher NDCG@10 and +217.8% higher MRR@10 on SciFact, while requiring 3.05x less indexing time and reducing search latency by 4.43x.

2. Official Hugging Face MTEB Submission Package (300 Test Queries)

Generated via mteb v2.20 harness with exhaustive evaluation up to $k \le 1000$:

  • nDCG@10: 0.650 (0.6497) (+3.6% over initial baseline)
  • MRR@10: 0.629 (0.6294) (+9.1% over initial baseline)
  • MAP@10: 0.619 (0.6188) (+9.5% over initial baseline)
  • Hit@1 (First Rank Accuracy): 57.0%
  • Hit@5: 71.3% | Hit@10: 74.7%
  • Recall@100: 87.0%
  • Recall@1000: 98.7% (near-complete search space coverage)

3. Princeton SWE-bench Lite (Fault Localization on Real Repositories)

Evaluated on real GitHub issues across production Python codebases (Flask, Requests, Seaborn, Pytest, Pylint, Xarray):

Retrieval System / AgentParadigmHit@1Hit@5Hit@10MRRCost / Time per Issue
πŸš€ BasinRAG (Hardened)Basin Topology ($\rho$-trees + PPR)30.8%46.2%84.6%0.434~18s / $0.00
GraphRAG BaselineAST symbol graph + 2-hop walk23.1%38.5%69.2%0.374~36s / $0.00
HyperFL (ICSE/arXiv 2024)Adaptive retrieval with query rewrite~22%~65%76.5%~0.380~45s / $0.05
Dense Vector RAG (ada-002)Pure Cosine Similarity15.0%44.2%55.8%0.280~500ms / $0.005
BM25 Code SearchExact keyword matching12.5%38.0%50.2%0.245~100ms / $0.00

4. Operational Efficiency & Financial Cost

MetricCommercial GraphRAGAutonomous LLM AgentsBasinRAG
Index Time (5k docs)2 to 6 hours (API LLM)N/A90.8 seconds (Local CPU)
Index Time (Python Repo)10 to 30 minutesN/A~18 seconds (Local CPU)
Indexing Financial Cost$35.00 to $80.00 / 10k docsN/A$0.00 (Zero API calls)
Cost Per Query$0.02 to $0.10$0.40 to $3.50 / issue$0.00 (Local)
Search Latency5 to 15 seconds2 to 15 minutes2.5 seconds (with CrossEncoder)

5. Topological Flow Dynamics and Hub Congestion Mitigation

Discrete co-occurrence graphs can experience significant edge concentration around ubiquitous identifiers (often characterized as hub congestion or hub collapse), which may cause unconstrained graph walks to drift toward peripheral nodes in dense corpora.

BasinRAG models documents across metric manifolds anchored by basin attractors ($\rho$-trees), applying spectral diffusion via Personalized PageRank (PPR) exclusively within the induced subgraph. This formulation naturally confines propagation to contextually coherent components, preserving retrieval accuracy without relying on language model extraction during indexing.

πŸ“– Detailed Reports & Reproduction Guides:

Reproduction commands:

# BEIR SciFact (Comparative: BasinRAG vs GraphRAG)
python -m basinrag.eval.compare_beir --num-queries 50

# SWE-bench Lite (Comparative: BasinRAG vs GraphRAG)
python -m basinrag.eval.compare_graphrag --limit 13

# Official Hugging Face MTEB Runner
python -m basinrag.eval.run_mteb --tasks SciFact

πŸ“¦ Installation

# Install with optional dependencies (dev tools, FastAPI server, and Ollama support)
pip install -e ".[dev,api,ollama]"

⚑ Quickstart

1. Via Python SDK (Programmatic)

from basinrag import BasinRAG, BasinRAGConfig

# Configure and instantiate the topological engine
config = BasinRAGConfig(storage_dir=".basinrag_index")
rag = BasinRAG(config)

# Ingest documents from a folder (PDF, Markdown, TXT)
rag.ingest("./my_documents")

# Run hybrid topological search
results = rag.query("What is the core working principle of the model?", top_k=5)

for res in results:
    print(f"Score: {res.score:.3f} | Passage: {res.text[:100]}...")

2. Via CLI (Command Line Interface)

# 1. Ingest documents
basinrag ingest ./docs

# 2. Query the topological index
basinrag query "What are the main findings in the document?" --type auto --top-k 5

# 3. Start an interactive terminal chat session
basinrag chat

# 4. Check installed version
basinrag --version

3. Via REST API & WebSocket Server

# Launch the FastAPI server
basinrag serve --port 8000
  • OpenAPI Documentation (Swagger): http://localhost:8000/docs
  • POST Query Endpoint: /query ({"query": "question", "top_k": 5})
  • WebSocket Streaming: ws://localhost:8000/chat

βš™οΈ Configuration

Copy the example environment configuration:

cp .env.example .env
Environment VariableDefaultDescription
BASINRAG_API_KEYNoneOptional secret key for X-API-KEY header authentication
BASINRAG_CORS_ORIGINS*Comma-separated list of allowed CORS origins
BASINRAG_LLM_PROVIDERollamaLLM provider (ollama or openai)
BASINRAG_LLM_MODELqwen2.5Target LLM model name
BASINRAG_ENCODER_MODELparaphrase-multilingual-MiniLM-L12-v2Sentence transformer embedding model
BASINRAG_STORAGE_DIR.basinragAtomic index storage directory

πŸ“– Further Documentation


πŸ“š Citation

If you use BasinRAG in your research, evaluations, or software, please cite it as:

@software{martins2026basinrag,
  author       = {Alex Martins},
  title        = {BasinRAG: High-Performance Topological Retrieval-Augmented Generation via Dynamical Basins},
  year         = {2026},
  publisher    = {Zenodo},
  version      = {v1.0.3},
  doi          = {10.5281/zenodo.22664948},
  url          = {https://doi.org/10.5281/zenodo.22664948}
}

πŸ“„ License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Contributors

alexmart1ns

10 commits

Basinfy/BasinRAG

4

stars

10

commits

Python

primary language

Sep 10, 2026

updated

README

BasinRAG

🌐 English | PortuguΓͺs

Tests Python 3.10+ License: Apache 2.0 MTEB Score DOI

High-Performance Topological Document Retrieval-Augmented Generation (RAG), using dynamical basins of attraction as an index partitioning manifold.

BasinRAG indexes and retrieves document passages (PDF, Markdown, TXT) by combining Bilingual PT/EN CSR BM25, dense FAISS vector embeddings (Flat/HNSW), and the sequential topological structure of the document (functional graph $\phi$, attractors, and $\rho$-trees).


πŸš€ Architecture & Retrieval Pipeline

The following diagram illustrates the document ingestion and query retrieval flow in BasinRAG:

graph TD
    %% Ingest Pipeline
    subgraph Document Ingestion
        A[Documents PDF/MD/TXT] --> B(Extraction & Chunking)
        B --> C{Functional Graph Ο†}
        C --> D[Dense FAISS Embeddings]
        C --> E[Bilingual BM25 Index]
        C --> F[Basins of Attraction ρ]
    end

    %% Query Pipeline
    subgraph RAG Retrieval Engine
        Q([User Query]) --> R[Intelligent PT/EN Router]
        R --> S1(Lexical BM25 Search)
        R --> S2(Dense k-NN Vector Search)
        S1 --> T{RRF Fusion + Hop Prior}
        S2 --> T
        F -. Topological Confinement .-> T
        T --> U[Multilingual mMARCO Re-ranking]
        U --> V([Optimized Context])
    end

🌐 Native Multilingual & Cross-Lingual Capabilities

BasinRAG is built from the ground up to support multilingual and cross-lingual enterprise search workflows:

  • Cross-Lingual Retrieval: Query in English and retrieve relevant passages from Portuguese documents (or vice versa). The shared dense multilingual embedding space maps semantically equivalent concepts into the same metric neighborhood.
  • Dynamic Bilingual Stemming (BM25): Automatic per-document language detection. The lexical index applies the SnowballStemmer for English and RSLPStemmer for Portuguese, preserving exact morphological word stems.
  • Multilingual Cross-Encoder Re-ranking: Integrated with unicamp-dl/mmarco-mMiniLMv2-L12-H384-v1, pre-trained on the multilingual mMARCO benchmark across 10+ languages without context degradation.
  • Bilingual Query Intent Router: Classifies factual versus global exploratory questions in both English and Portuguese using fast-path regex and dense centroid fallbacks.
  • πŸ“– For an in-depth guide on adding languages and cross-lingual benchmarking, see docs/MULTILINGUAL.md.

⚑ Core Features

  • Functional Graph Topology ($\phi$): Basin partitioning driven by sequential document flow and adaptive cosine similarity transitions.
  • Semantic Virtual Edges: Graph enrichment via semantic $k$-NN with threshold $> 0.85$.
  • Hybrid RRF Fusion + Hop Prior: Balanced fusion ($\alpha=0.55$) of sparse lexical and dense vector scores, decayed exponentially by topological graph distance $\exp(-\text{hops} \cdot \lambda)$.
  • Multilingual Re-ranking: Cross-Encoder mMARCO (mmarco-mMiniLMv2-L12-H384-v1).
  • Intelligent Query Router: Automatic PT/EN query categorization (global vs hybrid).
  • Agentic L3 Summaries: Multi-step Draft β†’ Critique β†’ Refine loop for satellite summaries.
  • Transactional Atomic Persistence: Power-outage-safe directory replacement (safe_replace_dir).
  • Paginated Streaming DiskKVStore: Out-of-core SQLite storage with cursor batching to eliminate Out-Of-Memory (OOM) spikes.
  • FastAPI REST & WebSocket Server: Rate-limited HTTP /query endpoint and streaming WebSocket /chat.

πŸ†š Comparison with Existing Paradigms

FeatureNaive Vector RAGTraditional GraphRAGBasinRAG
Relationship ModelingNone (k-NN only)Knowledge Graph (Entity/Relation Extraction)Functional Graph & Basins of Attraction
Indexing LatencyFast ($O(N)$)Extremely Slow (LLM extraction per chunk)Fast (Flux-based metric manifolds)
Original Flow PreservationLowVery LowHigh ($\phi$ sequence & Sink Attractors)
Indexing CostLowVery High ($LLM \times N$)Zero ($0.00 - fully local CPU/GPU)
Hybrid FusionPartialN/ARRF + Topological Hop Prior
Native Multilingual SupportModel dependentLanguage-specific NER requiredNative (10 global languages via mMARCO + BM25)

πŸ† Empirical Benchmarks

BasinRAG has been rigorously evaluated on two gold-standard international benchmark suites: Hugging Face MTEB / BEIR (scientific retrieval) and Princeton SWE-bench Lite (fault localization across production repositories).

1. Global Leaderboard Comparison on MTEB / BEIR (SciFact Dataset)

Evaluated using the official beir.retrieval.evaluation.EvaluateRetrieval harness on the full 5,183-document corpus:

Model / SystemArchitecture ParadigmnDCG@10 (Official Score)Recall@10MRR@10Index TimeLatency / Query
πŸš€ BasinRAG (Ours)Basin Topology ($\rho$-trees + RRF + Cross-Encoder)0.77185.8%0.75090.8s (CPU)2.5s
OpenAI text-embedding-3-largeCommercial Dense Bi-Encoder (3,072d)0.72584.1%0.702N/A (API)~0.2s
BGE-large-en-v1.5SOTA Open Bi-Encoder (BAAI - 335M)0.71283.9%0.682Medium (GPU)~1.5s
HippoRAGHippocampal Knowledge Graph + LLM Triplets0.71083.0%0.6801.5h (API)~4.2s
SPLADE v2Learned Sparse Neural (Naver Labs)0.69282.8%0.665Medium (GPU)~1.8s
OpenAI text-embedding-3-smallCommercial Dense Bi-Encoder (1,536d)0.69082.0%0.665N/A (API)~0.2s
ContrieverContrastive Dense (Meta AI)0.67781.5%0.650Low (GPU)~1.2s
ColBERT v1Late-Interaction Multi-Vector (Stanford)0.67180.2%0.640High (VRAM)~2.0s
Standard BM25Statistical Sparse (Robertson et al.)0.66578.8%0.620Minimal (CPU)~0.02s
OpenAI text-embedding-ada-002Commercial Dense Bi-Encoder (Legacy)0.64277.0%0.610N/A (API)~0.2s
all-MiniLM-L6-v2 (Pure)Dense Bi-Encoder Baseline (22M params)0.49065.2%0.445Fast (CPU)~0.04s
GraphRAG BaselineBipartite Entity Graph + Co-occurrence0.31859.5%0.236276.7s (CPU)11.1s

Key Takeaway: Compared to the Knowledge Graph (GraphRAG) baseline, BasinRAG achieved a +142.5% higher NDCG@10 and +217.8% higher MRR@10 on SciFact, while requiring 3.05x less indexing time and reducing search latency by 4.43x.

2. Official Hugging Face MTEB Submission Package (300 Test Queries)

Generated via mteb v2.20 harness with exhaustive evaluation up to $k \le 1000$:

  • nDCG@10: 0.650 (0.6497) (+3.6% over initial baseline)
  • MRR@10: 0.629 (0.6294) (+9.1% over initial baseline)
  • MAP@10: 0.619 (0.6188) (+9.5% over initial baseline)
  • Hit@1 (First Rank Accuracy): 57.0%
  • Hit@5: 71.3% | Hit@10: 74.7%
  • Recall@100: 87.0%
  • Recall@1000: 98.7% (near-complete search space coverage)

3. Princeton SWE-bench Lite (Fault Localization on Real Repositories)

Evaluated on real GitHub issues across production Python codebases (Flask, Requests, Seaborn, Pytest, Pylint, Xarray):

Retrieval System / AgentParadigmHit@1Hit@5Hit@10MRRCost / Time per Issue
πŸš€ BasinRAG (Hardened)Basin Topology ($\rho$-trees + PPR)30.8%46.2%84.6%0.434~18s / $0.00
GraphRAG BaselineAST symbol graph + 2-hop walk23.1%38.5%69.2%0.374~36s / $0.00
HyperFL (ICSE/arXiv 2024)Adaptive retrieval with query rewrite~22%~65%76.5%~0.380~45s / $0.05
Dense Vector RAG (ada-002)Pure Cosine Similarity15.0%44.2%55.8%0.280~500ms / $0.005
BM25 Code SearchExact keyword matching12.5%38.0%50.2%0.245~100ms / $0.00

4. Operational Efficiency & Financial Cost

MetricCommercial GraphRAGAutonomous LLM AgentsBasinRAG
Index Time (5k docs)2 to 6 hours (API LLM)N/A90.8 seconds (Local CPU)
Index Time (Python Repo)10 to 30 minutesN/A~18 seconds (Local CPU)
Indexing Financial Cost$35.00 to $80.00 / 10k docsN/A$0.00 (Zero API calls)
Cost Per Query$0.02 to $0.10$0.40 to $3.50 / issue$0.00 (Local)
Search Latency5 to 15 seconds2 to 15 minutes2.5 seconds (with CrossEncoder)

5. Topological Flow Dynamics and Hub Congestion Mitigation

Discrete co-occurrence graphs can experience significant edge concentration around ubiquitous identifiers (often characterized as hub congestion or hub collapse), which may cause unconstrained graph walks to drift toward peripheral nodes in dense corpora.

BasinRAG models documents across metric manifolds anchored by basin attractors ($\rho$-trees), applying spectral diffusion via Personalized PageRank (PPR) exclusively within the induced subgraph. This formulation naturally confines propagation to contextually coherent components, preserving retrieval accuracy without relying on language model extraction during indexing.

πŸ“– Detailed Reports & Reproduction Guides:

Reproduction commands:

# BEIR SciFact (Comparative: BasinRAG vs GraphRAG)
python -m basinrag.eval.compare_beir --num-queries 50

# SWE-bench Lite (Comparative: BasinRAG vs GraphRAG)
python -m basinrag.eval.compare_graphrag --limit 13

# Official Hugging Face MTEB Runner
python -m basinrag.eval.run_mteb --tasks SciFact

πŸ“¦ Installation

# Install with optional dependencies (dev tools, FastAPI server, and Ollama support)
pip install -e ".[dev,api,ollama]"

⚑ Quickstart

1. Via Python SDK (Programmatic)

from basinrag import BasinRAG, BasinRAGConfig

# Configure and instantiate the topological engine
config = BasinRAGConfig(storage_dir=".basinrag_index")
rag = BasinRAG(config)

# Ingest documents from a folder (PDF, Markdown, TXT)
rag.ingest("./my_documents")

# Run hybrid topological search
results = rag.query("What is the core working principle of the model?", top_k=5)

for res in results:
    print(f"Score: {res.score:.3f} | Passage: {res.text[:100]}...")

2. Via CLI (Command Line Interface)

# 1. Ingest documents
basinrag ingest ./docs

# 2. Query the topological index
basinrag query "What are the main findings in the document?" --type auto --top-k 5

# 3. Start an interactive terminal chat session
basinrag chat

# 4. Check installed version
basinrag --version

3. Via REST API & WebSocket Server

# Launch the FastAPI server
basinrag serve --port 8000
  • OpenAPI Documentation (Swagger): http://localhost:8000/docs
  • POST Query Endpoint: /query ({"query": "question", "top_k": 5})
  • WebSocket Streaming: ws://localhost:8000/chat

βš™οΈ Configuration

Copy the example environment configuration:

cp .env.example .env
Environment VariableDefaultDescription
BASINRAG_API_KEYNoneOptional secret key for X-API-KEY header authentication
BASINRAG_CORS_ORIGINS*Comma-separated list of allowed CORS origins
BASINRAG_LLM_PROVIDERollamaLLM provider (ollama or openai)
BASINRAG_LLM_MODELqwen2.5Target LLM model name
BASINRAG_ENCODER_MODELparaphrase-multilingual-MiniLM-L12-v2Sentence transformer embedding model
BASINRAG_STORAGE_DIR.basinragAtomic index storage directory

πŸ“– Further Documentation


πŸ“š Citation

If you use BasinRAG in your research, evaluations, or software, please cite it as:

@software{martins2026basinrag,
  author       = {Alex Martins},
  title        = {BasinRAG: High-Performance Topological Retrieval-Augmented Generation via Dynamical Basins},
  year         = {2026},
  publisher    = {Zenodo},
  version      = {v1.0.3},
  doi          = {10.5281/zenodo.22664948},
  url          = {https://doi.org/10.5281/zenodo.22664948}
}

πŸ“„ License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Contributors

alexmart1ns

10 commits

Languages

Python

77.5%

TeX

22.5%