ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2

ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2
1 / 1
ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 1 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 2 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 3 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 4 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 5 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 6 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 7 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 8 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 9 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 10 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 11 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 12 of 13 ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 - slide 13 of 13
ISBMS PGDM 202527 SEMESTER III SESSION 2 OF 10 Module 2 Prompt Engineering RAG for Financial Analysis Tejas Jadhav, CFA, FRM Faculty Agentic AI Advanced Analytics in Finance (PGDM-SEM3-SPEC-AIFINANCE)

Related Topics

Download this presentation From Below

"ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
ISBMS · PGDM 2025–27 · SEMESTER III · SESSION 2 OF 10 Module 2
Prompt Engineering & RAG for Financial Analysis Tejas Jadhav, CFA, FRM
Faculty · Agentic AI & Advanced Analytics in Finance (PGDM-SEM3-SPEC-AIFINANCE)
tejasgjadhav.github.io/AIFINANCE TODAY 3 hours
Hour 1 prompts · Hour 2
RAG pipeline · Hour 3 lab Plain English
A prompt is written in English.
Hours 1 and 2 need no code. 1
Q&A BOT ON AN IPO PROSPECTUS
BUILT BEFORE YOU LEAVE ISBMS · PGDM 2025–27 · AGENTIC AI & ADVANCED ANALYTICS IN FINANCE MODULE 2 · 01<br>
02
THE PLAN What we do in these three hours HOUR 1 · 60 MIN
The prompts ▪ Zero-shot, few-shot, chain-of-thought ▪ Role prompting — “You are a CFO…” ▪ Output formats: JSON, markdown tables ▪ Hallucination — the risk and the fixes ▪ Pair activity: one query, four prompts HOUR 2 · 60 MIN
The pipeline ▪ Why a model cannot read 200 pages ▪ Chunking a financial document ▪ Embeddings and vector databases ▪ Retrieval, then re-ranking ▪ Self-consistency and tree-of-thought HOUR 3 · 60 MIN
The lab ▪ One NSE IPO prospectus as the source ▪ LlamaIndex + ChromaDB + Claude API ▪ Build the Q&A bot ▪ Ten investor questions, scored ▪ Case: SEBI DRHP analysis using RAG Our goal for today: a bot that answers investor questions from a 200-page IPO prospectus and shows the page each answer came from. ISBMS · PGDM 2025–27 · AGENTIC AI & ADVANCED ANALYTICS IN FINANCE MODULE 2 · 02<br>
03
HOUR 1 · PROMPTING Three ways to ask: zero-shot, few-shot, chain-of-thought ZERO-SHOT Just ask. You state the task and nothing else. The model answers from its training alone. EXAMPLE
“Classify this cost as capex or opex: licence fee for the new core banking system.” Use it for routine tasks the model has seen a thousand times. FEW-SHOT Show it first. You give two or three solved examples, then the real task. The model copies the pattern. EXAMPLE
Show two costs already labelled capex or opex, then the third for the model to label the same way. Use it when the format must match yours exactly. CHAIN-OF-THOUGHT Ask for the steps. You ask it to reason step by step before answering. The steps become visible, so errors can be caught. EXAMPLE
“Compute the current ratio step by step, then end with one line stating the ratio.” Use it for arithmetic and multi-step logic. The order of use: start zero-shot. Add examples when the format matters. Ask for the steps when there is arithmetic. ISBMS · PGDM 2025–27 · AGENTIC AI & ADVANCED ANALYTICS IN FINANCE MODULE 2 · 03<br>