尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗An Agentic RAG system designed for Indian IPO prospectuses (Draft Red Herring Prospectus [DRHP] and Red Herring Prospectus [RHP]). Features page-cited evidence attribution, deterministic financial calculation tools, domain-specialized LangGraph agents, version-aware comparative analysis, and 100% cross-IPO tenant isolation.
BAAI/bge-base-en-v1.5), sparse lexical search (BM25Okapi), Reciprocal Rank Fusion (RRF), and Cross-Encoder Reranking (BAAI/bge-reranker-base).
Evaluated on a hand-labelled set of 16 queries over the MOEL DRHP (data/corrected_benchmark_results.json):
| Method | Hit@5 | Hit@10 |
|---|---|---|
| BM25 only | 50.0% (8/16) | 68.8% (11/16) |
| Dense only (Chroma) | 68.8% (11/16) | 100% (16/16) |
| Hybrid (BM25 + Dense, RRF) | 75.0% (12/16) | 87.5% (14/16) |
| Hybrid + Cross-Encoder Rerank | 62.5% (10/16) | 100% (16/16) |
Hybrid RRF gives the best top-5 hit rate; adding the reranker gives the best top-10 recall but lowered Hit@5 on this small set. The set is small and single-company, so treat these as directional.
User Query (via Web UI / REST API)
│
▼
┌───────────────────────────────────────────────┐
│ FastAPI Server │
└──────────────────────┬────────────────────────┘
│
▼
┌───────────────────────────────────────────────┐
│ LangGraph State Router (100% Acc) │
└──────┬──────────┬──────────┬──────────┬───────┘
│ │ │ │
▼ ▼ ▼ ▼
┌───────────┐┌──────────┐┌──────────┐┌──────────────┐
│ Financial ││ Risk ││Litigation││Related-Party │
│ Agent ││ Agent ││ Agent ││ Agent │
└─────┬─────┘└────┬─────┘└────┬─────┘└──────┬───────┘
│ │ │ │
│ ┌───────┴───────────┴─────────┐ │
│ │ Hybrid Dense-Sparse Engine │ │
│ │ (BM25 + Chroma + Reranker) │ │
│ └─────────────────────────────┘ │
▼ ▼
┌───────────────────────────┐ ┌─────────────────────┐
│ Deterministic Calculator │ │ Page Attribution │
│ (YoY, Margins, Ratios) │ │ [Doc ID, Page X] │
└───────────────────────────┘ └─────────────────────┘
The live demo runs a lightweight serverless version (api/index.py) so it fits inside Vercel's 250MB function limit:
| Live demo (Vercel) | Full pipeline (server.py / Docker) | |
|---|---|---|
| Routing | Keyword router | LangGraph LLM router + specialised agents |
| Retrieval | BM25 over text chunks and a separate table store, with section boosting | BM25 + ChromaDB dense search, RRF, cross-encoder reranking |
| DRHP vs RHP | Version-scoped retrieval; comparative mode pulls evidence from both filings | Same |
| Calculations | LLM extracts figures → Python computes growth | Deterministic financial calculator agent |
| Page-cited excerpts & refusals | Yes | Yes |
| Upload new prospectus | Not available (needs a persistent index) | Yes |
Set BACKEND_URL in Vercel to proxy the live UI to a container running the full pipeline.
This repository includes a native vercel.json and a lightweight serverless handler in api/index.py designed to run inside Vercel's 250MB serverless limit:
GROQ_API_KEY: Your Groq Cloud API key (console.groq.com/keys)GROQ_MODEL: openai/gpt-oss-120b or llama-3.3-70b-versatile(Optional: To connect the Vercel frontend to a dedicated heavy GPU/CPU container running the full PyTorch + BGE Reranker + ChromaDB pipeline, set the BACKEND_URL environment variable in Vercel to your container URL).
A production Dockerfile is included for container platforms:
# Build the container
docker build -t ipo-research-agent .
# Run the container
docker run -p 8000:8000 --env-file .env ipo-research-agent
On Render or Railway:
GROQ_API_KEY in the environment settings.git clone https://github.com/YOUR_USERNAME/ai-ipo-research-analyst.git
cd ai-ipo-research-analyst
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Create a .env file from the provided example:
cp .env.example .env
Add your Groq API key:
GROQ_API_KEY=your_groq_api_key_here
GROQ_MODEL=openai/gpt-oss-120b
GROQ_ROUTER_MODEL=openai/gpt-oss-120b
GROQ_MAX_TOKENS=2048
Rebuild or verify the Chroma vector store from the pre-processed filings:
python scripts/build_vectorstore.py
python server.py
Navigate to http://127.0.0.1:8000 in your browser.
Run the complete test suite:
python -m unittest discover tests
Expected baseline: 62/62 tests passing (100% OK).
What was HDB Financial Services' revenue and revenue growth?What are the major risks associated with HDB Financial Services?What litigation is currently disclosed?What changed between the DRHP and RHP?Give me a complete research summary of HDB Financial Services.What was the company's revenue and revenue growth?What are the major risks associated with the company?What litigation is currently disclosed?MIT License. See LICENSE for details.