File size: 440 Bytes
8f41246
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
rag/
----
Local FAISS + BM25 hybrid RAG pipeline for the IndiaFinBench corpus.

Quick start:
    from rag.pipeline import RAGPipeline
    pipe = RAGPipeline()
    pipe.load_index()          # load pre-built index
    result = pipe.ask("What are the KYC norms under SEBI?")
"""

# Lazy import — do not eagerly pull in pipeline here; heavy deps may not be installed.
# Users should import directly: from rag.pipeline import RAGPipeline