How deleciagonsalves/rbi-policy-brief-llm works
This notebook implements a policy-brief workflow: a user supplies an RBI PDF, its text is chunked, and an open instruction-tuned model produces a map-reduce brief. It also compares basic and structured prompts, then checks numbers in the outputs against the source text. The README documents these relationships; no notebook source excerpts were provided, so the graph does not claim details beyond that documentation.
Main entry points: RBI_Policy_Brief_LLM_Generator (1).ipynb Map-reduce brief
Components 7
Document preparation
- PDF text chunking
RBI_Policy_Brief_LLM_Generator (1).ipynb
LLM briefing
- Qwen2.5 model
- Map-reduce brief
RBI_Policy_Brief_LLM_Generator (1).ipynb - Prompt comparison
RBI_Policy_Brief_LLM_Generator (1).ipynb
Output verification
- Number hallucination check
RBI_Policy_Brief_LLM_Generator (1).ipynb
Other components
- User
- RBI policy PDF
Connections 8
- User → RBI policy PDF: uploads
README.md - RBI policy PDF → PDF text chunking: extracts and chunks
README.md - PDF text chunking → Map-reduce brief: summarizes chunks
README.md - Qwen2.5 model → Map-reduce brief: generates notes
README.md - Qwen2.5 model → Prompt comparison: answers prompts
README.md - RBI policy PDF → Number hallucination check: provides source text
README.md - Map-reduce brief → Number hallucination check: checks brief numbers
README.md - Prompt comparison → Number hallucination check: checks answer numbers
README.md