benroshan commited on
Commit
76f2b0b
·
1 Parent(s): dd9f94d

eval: v1.3.0 clean run (25 samples) — recall=0.627, relevancy=0.837; fix eval script max_tokens+print

Browse files
eval-dashboard/public/data/index.json CHANGED
@@ -20,8 +20,8 @@
20
  {
21
  "version": "v1.3.0",
22
  "tag": "Violet",
23
- "date": "2026-06-20",
24
- "file": "v1.3.0_20260620.json"
25
  },
26
  {
27
  "version": "v1.4.0",
 
20
  {
21
  "version": "v1.3.0",
22
  "tag": "Violet",
23
+ "date": "2026-06-23",
24
+ "file": "v1.3.0_20260623.json"
25
  },
26
  {
27
  "version": "v1.4.0",
eval-dashboard/public/data/runs/v1.3.0_20260623.json ADDED
@@ -0,0 +1,477 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "v1.3.0",
3
+ "tag": "Violet",
4
+ "computed_at": "2026-06-23T23:10:33",
5
+ "sample_count": 25,
6
+ "config": {
7
+ "hyde_enabled": false,
8
+ "multi_query_enabled": false,
9
+ "contextual_retrieval": false,
10
+ "retrieve_k": 10,
11
+ "rerank_k": 5,
12
+ "llm": "llama-3.3-70b-versatile",
13
+ "judge_model": "llama-3.1-8b-instant",
14
+ "workspace": "default"
15
+ },
16
+ "metrics": {
17
+ "answer_correctness": 0.76,
18
+ "answer_relevancy": 0.8374,
19
+ "context_recall": 0.6274,
20
+ "precision_at_5": 0.888,
21
+ "latency_p50_ms": 833,
22
+ "latency_p95_ms": 2788,
23
+ "latency_p99_ms": 2969
24
+ },
25
+ "per_query": [
26
+ {
27
+ "query": "What was the total UPI transaction volume in FY2024?",
28
+ "answer": "The total UPI transaction volume reached 131 billion transactions in FY2024. \n[Doc 1]",
29
+ "ground_truth": "Total UPI transaction volume crossed 131 billion transactions in FY2024. Monthly volume reached 14.04 billion transactions by March 2024, growing 56% year-on-year in volume and 43% in value compared to FY2023. Total annual value was approximately Rs 200 lakh crore.",
30
+ "answer_correctness": 0.75,
31
+ "correctness_reason": "minor omission of growth rate and annual value",
32
+ "answer_relevancy": 1.0,
33
+ "context_recall": 0.75,
34
+ "precision_at_5": 1.0,
35
+ "latency_ms": 1298,
36
+ "retrieved_sources": [
37
+ "npci_upi_report_2024.txt",
38
+ "npci_upi_report_2024.txt",
39
+ "rbi_annual_report_2024.txt",
40
+ "npci_upi_report_2024.txt",
41
+ "npci_upi_report_2024.txt"
42
+ ]
43
+ },
44
+ {
45
+ "query": "What was India's GDP growth rate in FY2024?",
46
+ "answer": "India's real GDP growth for FY2024 is estimated at 7.6 per cent. \n[Doc 1]",
47
+ "ground_truth": "India's real GDP grew at 7.6% in FY2024, driven by strong domestic demand and investment activity. This was above the global average and made India one of the fastest-growing major economies.",
48
+ "answer_correctness": 0.75,
49
+ "correctness_reason": "most key facts correct, minor omissions or imprecision",
50
+ "answer_relevancy": 0.8604,
51
+ "context_recall": 0.5,
52
+ "precision_at_5": 1.0,
53
+ "latency_ms": 828,
54
+ "retrieved_sources": [
55
+ "rbi_annual_report_2024.txt",
56
+ "bajaj_finance_q3_2024_transcript.txt",
57
+ "bajaj_finance_q3_2024_transcript.txt",
58
+ "rbi_annual_report_2024.txt",
59
+ "rbi_annual_report_2024.txt"
60
+ ]
61
+ },
62
+ {
63
+ "query": "What were Bajaj Finance's Assets Under Management in Q3 FY2024?",
64
+ "answer": "Bajaj Finance's Assets Under Management (AUM) in Q3 FY2024 were Rs 3,10,672 crore. \n[Doc 3] supports this answer.",
65
+ "ground_truth": "Bajaj Finance's consolidated Assets Under Management (AUM) stood at Rs 3,10,672 crore as of Q3 FY2024, growing 35% year-on-year.",
66
+ "answer_correctness": 0.75,
67
+ "correctness_reason": "most key facts correct, minor omissions or imprecision (lack of year-on-year growth percentage in the generated answer)",
68
+ "answer_relevancy": 0.965,
69
+ "context_recall": 1.0,
70
+ "precision_at_5": 0.8,
71
+ "latency_ms": 771,
72
+ "retrieved_sources": [
73
+ "bajaj_finance_q3_2024_transcript.txt",
74
+ "bajaj_finance_q3_2024_transcript.txt",
75
+ "bajaj_finance_q3_2024_transcript.txt",
76
+ "rbi_annual_report_2024.txt",
77
+ "bajaj_finance_q3_2024_transcript.txt"
78
+ ]
79
+ },
80
+ {
81
+ "query": "What is RBI's stance on digital lending regulations?",
82
+ "answer": "The RBI has enhanced guidelines on digital lending, requiring all digital loans to be disbursed and repaid through borrower bank accounts, and Lending Service Providers (LSPs) and Digital Lending Apps (DLAs) must comply with disclosure requirements. \n[Doc 3]",
83
+ "ground_truth": "RBI issued enhanced guidelines on digital lending requiring all digital loans to be disbursed and repaid through borrower bank accounts. Lending Service Providers (LSPs) and Digital Lending Apps (DLAs) must comply with disclosure requirements. The framework applies to NBFCs and banks offering digital lending products.",
84
+ "answer_correctness": 0.75,
85
+ "correctness_reason": "minor omission of 'framework applies to NBFCs and banks offering digital lending products'",
86
+ "answer_relevancy": 0.8134,
87
+ "context_recall": 1.0,
88
+ "precision_at_5": 0.8,
89
+ "latency_ms": 650,
90
+ "retrieved_sources": [
91
+ "bajaj_finance_q3_2024_transcript.txt",
92
+ "rbi_annual_report_2024.txt",
93
+ "rbi_annual_report_2024.txt",
94
+ "rbi_annual_report_2024.txt",
95
+ "rbi_annual_report_2024.txt"
96
+ ]
97
+ },
98
+ {
99
+ "query": "How many banks were live on UPI by March 2024?",
100
+ "answer": "580 banks were live on UPI as of March 2024. \n[Doc 1] supports this answer.",
101
+ "ground_truth": "580 banks were live on UPI as of March 2024, up from 437 in March 2023. PSU banks accounted for 35% of UPI originating transactions, private banks 42%, and Small Finance Banks and Payment Banks 23%.",
102
+ "answer_correctness": 0.75,
103
+ "correctness_reason": "missing distribution of banks and incorrect reference to supporting document",
104
+ "answer_relevancy": 0.9815,
105
+ "context_recall": 0.2857,
106
+ "precision_at_5": 1.0,
107
+ "latency_ms": 887,
108
+ "retrieved_sources": [
109
+ "npci_upi_report_2024.txt",
110
+ "npci_upi_report_2024.txt",
111
+ "npci_upi_report_2024.txt",
112
+ "npci_upi_report_2024.txt",
113
+ "npci_upi_report_2024.txt"
114
+ ]
115
+ },
116
+ {
117
+ "query": "What was the UPI fraud rate in FY2024?",
118
+ "answer": "The UPI fraud rate remained low at 0.0006% of total transactions by volume in FY2024. \n[Doc 1]",
119
+ "ground_truth": "The UPI fraud rate was 0.0006% of total transactions in FY2024. There were 3.07 lakh fraud cases reported, representing a very small fraction given the 131 billion total transactions processed during the year.",
120
+ "answer_correctness": 0.75,
121
+ "correctness_reason": "minor omission of specific numbers and reference",
122
+ "answer_relevancy": 1.0,
123
+ "context_recall": 1.0,
124
+ "precision_at_5": 0.8,
125
+ "latency_ms": 2601,
126
+ "retrieved_sources": [
127
+ "npci_upi_report_2024.txt",
128
+ "npci_upi_report_2024.txt",
129
+ "rbi_annual_report_2024.txt",
130
+ "npci_upi_report_2024.txt",
131
+ "npci_upi_report_2024.txt"
132
+ ]
133
+ },
134
+ {
135
+ "query": "What was the RBI repo rate during FY2024?",
136
+ "answer": "The RBI policy repo rate was 6.50 per cent during FY2024. \n[Doc 5] supports this answer.",
137
+ "ground_truth": "The RBI kept the repo rate unchanged at 6.50% throughout FY2024. The Monetary Policy Committee (MPC) maintained this rate to balance inflation control with growth support, keeping the policy stance as withdrawal of accommodation.",
138
+ "answer_correctness": 0.75,
139
+ "correctness_reason": "most key facts correct, minor omissions or imprecision",
140
+ "answer_relevancy": 0.9657,
141
+ "context_recall": 0.2667,
142
+ "precision_at_5": 1.0,
143
+ "latency_ms": 2791,
144
+ "retrieved_sources": [
145
+ "rbi_annual_report_2024.txt",
146
+ "rbi_annual_report_2024.txt",
147
+ "rbi_annual_report_2024.txt",
148
+ "rbi_annual_report_2024.txt",
149
+ "rbi_annual_report_2024.txt"
150
+ ]
151
+ },
152
+ {
153
+ "query": "What was Bajaj Finance's profit after tax in Q3 FY2024?",
154
+ "answer": "Bajaj Finance's profit after tax in Q3 FY2024 was Rs 3,639 crore. \nThis information is supported by Doc 3.",
155
+ "ground_truth": "Bajaj Finance's profit after tax (PAT) in Q3 FY2024 was Rs 3,639 crore, growing 22% year-on-year. Earnings per share increased correspondingly.",
156
+ "answer_correctness": 0.75,
157
+ "correctness_reason": "omitted year-on-year growth and earnings per share information",
158
+ "answer_relevancy": 1.0,
159
+ "context_recall": 1.0,
160
+ "precision_at_5": 1.0,
161
+ "latency_ms": 1339,
162
+ "retrieved_sources": [
163
+ "bajaj_finance_q3_2024_transcript.txt",
164
+ "bajaj_finance_q3_2024_transcript.txt",
165
+ "bajaj_finance_q3_2024_transcript.txt",
166
+ "bajaj_finance_q3_2024_transcript.txt",
167
+ "bajaj_finance_q3_2024_transcript.txt"
168
+ ]
169
+ },
170
+ {
171
+ "query": "What is UPI Lite and how many users does it have?",
172
+ "answer": "UPI Lite is a product innovation that enables small-value transactions (up to Rs 500) with near-zero decline rates. As of March 2024, UPI Lite had 5.2 crore enabled users. \n[Doc 1]",
173
+ "ground_truth": "UPI Lite is a feature enabling small-value transactions up to Rs 500 with near-zero decline rates by using an on-device wallet. As of March 2024, UPI Lite had 5.2 crore enabled users processing 18 crore transactions monthly. UPI Lite X, the offline variant, was piloted in 12 cities.",
174
+ "answer_correctness": 0.75,
175
+ "correctness_reason": "omitted information about transactions and UPI Lite X",
176
+ "answer_relevancy": 0.7858,
177
+ "context_recall": 0.6667,
178
+ "precision_at_5": 0.8,
179
+ "latency_ms": 837,
180
+ "retrieved_sources": [
181
+ "npci_upi_report_2024.txt",
182
+ "npci_upi_report_2024.txt",
183
+ "rbi_annual_report_2024.txt",
184
+ "npci_upi_report_2024.txt",
185
+ "rbi_annual_report_2024.txt"
186
+ ]
187
+ },
188
+ {
189
+ "query": "What was India's CPI inflation rate in FY2024?",
190
+ "answer": "India's CPI inflation rate in FY2024 averaged 5.4 per cent. \n[Doc 1]",
191
+ "ground_truth": "India's CPI inflation averaged 5.4% in FY2024, declining from 6.7% in FY2023. Core inflation (excluding food and fuel) moderated to 4.2%. Food inflation remained elevated, while fuel prices provided some relief.",
192
+ "answer_correctness": 0.75,
193
+ "correctness_reason": "most key facts correct, minor omissions or imprecision",
194
+ "answer_relevancy": 0.9321,
195
+ "context_recall": 0.6667,
196
+ "precision_at_5": 0.8,
197
+ "latency_ms": 723,
198
+ "retrieved_sources": [
199
+ "rbi_annual_report_2024.txt",
200
+ "bajaj_finance_q3_2024_transcript.txt",
201
+ "rbi_annual_report_2024.txt",
202
+ "rbi_annual_report_2024.txt",
203
+ "rbi_annual_report_2024.txt"
204
+ ]
205
+ },
206
+ {
207
+ "query": "What is Bajaj Finance's capital adequacy ratio?",
208
+ "answer": "Bajaj Finance's capital adequacy ratio (CRAR) stood at 23.8%. \n[Doc 1] supports this answer.",
209
+ "ground_truth": "Bajaj Finance's Capital to Risk-weighted Assets Ratio (CRAR) stood at 23.8% as of Q3 FY2024, with Tier-I capital ratio at 22.1%. Both are well above the regulatory minimum, reflecting a strong capital position.",
210
+ "answer_correctness": 0.75,
211
+ "correctness_reason": "missing key fact (Tier-I capital ratio) and reference to supporting document",
212
+ "answer_relevancy": 0.9008,
213
+ "context_recall": 0.5,
214
+ "precision_at_5": 1.0,
215
+ "latency_ms": 677,
216
+ "retrieved_sources": [
217
+ "bajaj_finance_q3_2024_transcript.txt",
218
+ "bajaj_finance_q3_2024_transcript.txt",
219
+ "bajaj_finance_q3_2024_transcript.txt",
220
+ "bajaj_finance_q3_2024_transcript.txt",
221
+ "rbi_annual_report_2024.txt"
222
+ ]
223
+ },
224
+ {
225
+ "query": "Which countries accept UPI payments internationally?",
226
+ "answer": "According to Doc 1, UPI acceptance was enabled in 7 countries: Singapore, UAE, France, Sri Lanka, Mauritius, Nepal, and Bhutan.",
227
+ "ground_truth": "UPI is accepted internationally in Singapore, UAE, France, Sri Lanka, and several other countries for cross-border payments. NPCI International is driving further expansion to reach 20 countries by 2028.",
228
+ "answer_correctness": 0.75,
229
+ "correctness_reason": "most key facts correct, minor omissions or imprecision",
230
+ "answer_relevancy": 0.7839,
231
+ "context_recall": 0.6,
232
+ "precision_at_5": 0.6,
233
+ "latency_ms": 828,
234
+ "retrieved_sources": [
235
+ "npci_upi_report_2024.txt",
236
+ "npci_upi_report_2024.txt",
237
+ "npci_upi_report_2024.txt",
238
+ "rbi_annual_report_2024.txt",
239
+ "rbi_annual_report_2024.txt"
240
+ ]
241
+ },
242
+ {
243
+ "query": "What was India's foreign exchange reserves in March 2024?",
244
+ "answer": "India's foreign exchange reserves stood at USD 645.6 billion as of March 2024. \n[Doc 1]",
245
+ "ground_truth": "India's foreign exchange reserves stood at USD 645.6 billion as of March 2024, providing approximately 11 months of import cover and reflecting strong external sector resilience.",
246
+ "answer_correctness": 0.75,
247
+ "correctness_reason": "missing import cover and external sector resilience details",
248
+ "answer_relevancy": 0.9549,
249
+ "context_recall": 1.0,
250
+ "precision_at_5": 1.0,
251
+ "latency_ms": 646,
252
+ "retrieved_sources": [
253
+ "rbi_annual_report_2024.txt",
254
+ "rbi_annual_report_2024.txt",
255
+ "npci_upi_report_2024.txt",
256
+ "rbi_annual_report_2024.txt",
257
+ "rbi_annual_report_2024.txt"
258
+ ]
259
+ },
260
+ {
261
+ "query": "What is Bajaj Finance's Gross NPA ratio?",
262
+ "answer": "The Gross NPA ratio for Bajaj Finance is 0.95% as of December 2023. \n[Doc 3] supports this answer.",
263
+ "ground_truth": "Bajaj Finance's Gross NPA (GNPA) ratio was 0.95% and Net NPA ratio was 0.36% as of Q3 FY2024. Provision coverage remained strong, reflecting disciplined underwriting and collections.",
264
+ "answer_correctness": 0.75,
265
+ "correctness_reason": "most key facts correct, minor omissions or imprecision (GNPA ratio correct, but date is different, no mention of Net NPA ratio or provision coverage)",
266
+ "answer_relevancy": 0.8938,
267
+ "context_recall": 0.3793,
268
+ "precision_at_5": 1.0,
269
+ "latency_ms": 841,
270
+ "retrieved_sources": [
271
+ "rbi_annual_report_2024.txt",
272
+ "bajaj_finance_q3_2024_transcript.txt",
273
+ "bajaj_finance_q3_2024_transcript.txt",
274
+ "bajaj_finance_q3_2024_transcript.txt",
275
+ "bajaj_finance_q3_2024_transcript.txt"
276
+ ]
277
+ },
278
+ {
279
+ "query": "What is the market share of PhonePe on UPI?",
280
+ "answer": "PhonePe's market share on UPI is 47%. \n[Doc 1] supports this answer.",
281
+ "ground_truth": "PhonePe held 47% market share on UPI by transaction volume, followed by Google Pay at 34%. The top two players together control over 80% of UPI transactions, though NPCI's market cap guidelines aim to limit concentration.",
282
+ "answer_correctness": 0.75,
283
+ "correctness_reason": "missing information about Google Pay and market concentration",
284
+ "answer_relevancy": 0.9666,
285
+ "context_recall": 0.2857,
286
+ "precision_at_5": 1.0,
287
+ "latency_ms": 1037,
288
+ "retrieved_sources": [
289
+ "npci_upi_report_2024.txt",
290
+ "npci_upi_report_2024.txt",
291
+ "npci_upi_report_2024.txt",
292
+ "npci_upi_report_2024.txt",
293
+ "npci_upi_report_2024.txt"
294
+ ]
295
+ },
296
+ {
297
+ "query": "What is the banking sector's GNPA ratio as reported by RBI?",
298
+ "answer": "The banking sector's GNPA ratio is 3.2 per cent. \n[Doc 1] supports this answer.",
299
+ "ground_truth": "The banking sector's Gross NPA (GNPA) ratio declined to 3.2% as of March 2024, the lowest in over a decade. Net NPA ratio stood at 0.8%. The improvement reflects better asset quality, recoveries, and write-offs.",
300
+ "answer_correctness": 0.75,
301
+ "correctness_reason": "most key facts correct, minor omissions or imprecision",
302
+ "answer_relevancy": 0.8867,
303
+ "context_recall": 0.6667,
304
+ "precision_at_5": 0.8,
305
+ "latency_ms": 788,
306
+ "retrieved_sources": [
307
+ "rbi_annual_report_2024.txt",
308
+ "rbi_annual_report_2024.txt",
309
+ "rbi_annual_report_2024.txt",
310
+ "bajaj_finance_q3_2024_transcript.txt",
311
+ "bajaj_finance_q3_2024_transcript.txt"
312
+ ]
313
+ },
314
+ {
315
+ "query": "How much did Bajaj Finance spend on technology?",
316
+ "answer": "Bajaj Finance spent Rs 1,180 crore on technology for 9M FY2024. \n[Doc 4] supports this answer.",
317
+ "ground_truth": "Bajaj Finance spent Rs 1,180 crore on technology in Q3 FY2024, representing approximately 12% of operating expenses. Technology investments focus on digital origination, customer experience, and risk management platforms.",
318
+ "answer_correctness": 0.75,
319
+ "correctness_reason": "most key facts correct, minor omissions or imprecision (FY2024 vs 9M FY2024)",
320
+ "answer_relevancy": 0.9343,
321
+ "context_recall": 0.5,
322
+ "precision_at_5": 1.0,
323
+ "latency_ms": 671,
324
+ "retrieved_sources": [
325
+ "bajaj_finance_q3_2024_transcript.txt",
326
+ "bajaj_finance_q3_2024_transcript.txt",
327
+ "bajaj_finance_q3_2024_transcript.txt",
328
+ "bajaj_finance_q3_2024_transcript.txt",
329
+ "bajaj_finance_q3_2024_transcript.txt"
330
+ ]
331
+ },
332
+ {
333
+ "query": "What are the BBPS transaction statistics for FY2024?",
334
+ "answer": "BBPS processed 1,243 crore transactions valued at Rs 15.4 lakh crore during FY2024, with a 42% growth over FY2023. \n[Doc 1]",
335
+ "ground_truth": "Bharat Bill Payment System (BBPS) processed 1,243 crore transactions worth Rs 15.4 lakh crore in FY2024, growing 42% year-on-year. BBPS handles utility bill payments, insurance premiums, EMI collections, and other recurring payments.",
336
+ "answer_correctness": 0.75,
337
+ "correctness_reason": "minor inaccuracy in year-on-year comparison",
338
+ "answer_relevancy": 0.8679,
339
+ "context_recall": 0.6667,
340
+ "precision_at_5": 0.8,
341
+ "latency_ms": 758,
342
+ "retrieved_sources": [
343
+ "npci_upi_report_2024.txt",
344
+ "npci_upi_report_2024.txt",
345
+ "npci_upi_report_2024.txt",
346
+ "rbi_annual_report_2024.txt",
347
+ "npci_upi_report_2024.txt"
348
+ ]
349
+ },
350
+ {
351
+ "query": "What is the Digital Rupee pilot status?",
352
+ "answer": "The Digital Rupee (e-Rupee) pilot programmes continued with both retail (e\u20b9-R) and wholesale (e\u20b9-W) variants, with the retail CBDC pilot expanded to cover 50 cities and approximately 10 lakh retail e\u20b9 wallets active as of March 2024. \n[Doc 1]",
353
+ "ground_truth": "RBI's Digital Rupee (e-Rupee / CBDC) retail pilot was expanded to 50 cities with over 10 lakh users as of FY2024. The pilot covers retail use cases for person-to-person and person-to-merchant transactions using a digital wallet issued by participating banks.",
354
+ "answer_correctness": 0.75,
355
+ "correctness_reason": "minor difference in wording and date format",
356
+ "answer_relevancy": 0.9068,
357
+ "context_recall": 0.3333,
358
+ "precision_at_5": 0.6,
359
+ "latency_ms": 882,
360
+ "retrieved_sources": [
361
+ "rbi_annual_report_2024.txt",
362
+ "rbi_annual_report_2024.txt",
363
+ "rbi_annual_report_2024.txt",
364
+ "npci_upi_report_2024.txt",
365
+ "npci_upi_report_2024.txt"
366
+ ]
367
+ },
368
+ {
369
+ "query": "What is Bajaj Housing Finance's AUM and IPO plans?",
370
+ "answer": "Bajaj Housing Finance's AUM is Rs 72,400 crore, and its IPO is targeted for H1 FY2025. \n[Doc 1, Doc 2]",
371
+ "ground_truth": "Bajaj Housing Finance's AUM stood at Rs 72,400 crore as of Q3 FY2024. The company filed its Draft Red Herring Prospectus (DRHP) for an IPO and listing on stock exchanges, subject to regulatory approvals.",
372
+ "answer_correctness": 0.75,
373
+ "correctness_reason": "most key facts correct, minor omissions or imprecision",
374
+ "answer_relevancy": 0.8804,
375
+ "context_recall": 0.6667,
376
+ "precision_at_5": 1.0,
377
+ "latency_ms": 852,
378
+ "retrieved_sources": [
379
+ "bajaj_finance_q3_2024_transcript.txt",
380
+ "bajaj_finance_q3_2024_transcript.txt",
381
+ "bajaj_finance_q3_2024_transcript.txt",
382
+ "bajaj_finance_q3_2024_transcript.txt",
383
+ "bajaj_finance_q3_2024_transcript.txt"
384
+ ]
385
+ },
386
+ {
387
+ "query": "How did UPI transaction volume growth compare between FY2023 and FY2024?",
388
+ "answer": "UPI transaction volume grew by 56% year-on-year in FY2024. \n[Doc 2] supports this answer.",
389
+ "ground_truth": "UPI grew 56% in volume and 43% in value in FY2024 compared to FY2023. In FY2023, UPI processed approximately 84 billion transactions. Monthly run-rate reached 14.04 billion in March 2024 versus 8.9 billion in March 2023. Growth decelerated slightly from FY2023's 80%+ pace but remained strong.",
390
+ "answer_correctness": 0.75,
391
+ "correctness_reason": "most key facts correct, minor omissions or imprecision",
392
+ "answer_relevancy": 0.9272,
393
+ "context_recall": 0.75,
394
+ "precision_at_5": 1.0,
395
+ "latency_ms": 753,
396
+ "retrieved_sources": [
397
+ "npci_upi_report_2024.txt",
398
+ "rbi_annual_report_2024.txt",
399
+ "npci_upi_report_2024.txt",
400
+ "npci_upi_report_2024.txt",
401
+ "npci_upi_report_2024.txt"
402
+ ]
403
+ },
404
+ {
405
+ "query": "What restrictions does RBI impose on digital lending service providers regarding loan disbursement?",
406
+ "answer": "The RBI requires all digital loans to be disbursed and repaid through borrower bank accounts. \n[Doc 1]",
407
+ "ground_truth": "RBI mandates that all digital loan disbursals must flow directly to the borrower's bank account \u00e2\u20ac\u201d not through any intermediary or pass-through account of the Lending Service Provider (LSP). Similarly, all repayments must be made directly to the regulated entity (bank or NBFC). LSPs are prohibited from holding or pooling borrower funds at any stage.",
408
+ "answer_correctness": 0.75,
409
+ "correctness_reason": "omitted details about LSPs and pass-through accounts",
410
+ "answer_relevancy": 0.8448,
411
+ "context_recall": 1.0,
412
+ "precision_at_5": 0.6,
413
+ "latency_ms": 712,
414
+ "retrieved_sources": [
415
+ "rbi_annual_report_2024.txt",
416
+ "bajaj_finance_q3_2024_transcript.txt",
417
+ "rbi_annual_report_2024.txt",
418
+ "bajaj_finance_q3_2024_transcript.txt",
419
+ "npci_upi_report_2024.txt"
420
+ ]
421
+ },
422
+ {
423
+ "query": "How did Bajaj Finance's net interest income change year-on-year in Q3 FY2024?",
424
+ "answer": "Bajaj Finance's net interest income (NII) for Q3 FY2024 was up 28% year-on-year. \n[Doc 2] supports this answer.",
425
+ "ground_truth": "Bajaj Finance's Net Interest Income (NII) grew 28% year-on-year in Q3 FY2024, driven by strong AUM expansion and stable net interest margins. NIM remained in the range of 9.8\u00e2\u20ac\u201c10.2%, supported by a diversified borrowing mix and favorable repricing of the loan book.",
426
+ "answer_correctness": 0.75,
427
+ "correctness_reason": "most key facts correct, minor omissions or imprecision",
428
+ "answer_relevancy": 0.8834,
429
+ "context_recall": 0.5,
430
+ "precision_at_5": 1.0,
431
+ "latency_ms": 833,
432
+ "retrieved_sources": [
433
+ "bajaj_finance_q3_2024_transcript.txt",
434
+ "bajaj_finance_q3_2024_transcript.txt",
435
+ "bajaj_finance_q3_2024_transcript.txt",
436
+ "bajaj_finance_q3_2024_transcript.txt",
437
+ "bajaj_finance_q3_2024_transcript.txt"
438
+ ]
439
+ },
440
+ {
441
+ "query": "What did RBI say about the withdrawal of Rs 2000 denomination notes?",
442
+ "answer": "There is no information provided in the given context about the RBI's statement on the withdrawal of Rs 2000 denomination notes. None of the documents (Doc 1 to Doc 5) mention this topic.",
443
+ "ground_truth": "RBI announced the withdrawal of Rs 2000 denomination banknotes from circulation in May 2023. Citizens were given until September 2023 to deposit or exchange these notes. Over 97% of the Rs 2000 notes in circulation were returned to the banking system by March 2024, reflecting smooth execution of the withdrawal.",
444
+ "answer_correctness": 0.75,
445
+ "correctness_reason": "generated answer is correct in stating lack of information, but does not attempt to verify or provide any information about the topic, whereas the reference answer provides specific details.",
446
+ "answer_relevancy": 0.0,
447
+ "context_recall": 0.2,
448
+ "precision_at_5": 0.8,
449
+ "latency_ms": 2780,
450
+ "retrieved_sources": [
451
+ "rbi_annual_report_2024.txt",
452
+ "bajaj_finance_q3_2024_transcript.txt",
453
+ "rbi_annual_report_2024.txt",
454
+ "rbi_annual_report_2024.txt",
455
+ "rbi_annual_report_2024.txt"
456
+ ]
457
+ },
458
+ {
459
+ "query": "What is NPCI's 30% market share cap for UPI apps and when does it apply?",
460
+ "answer": "There is no information provided about NPCI's 30% market share cap for UPI apps in the given context. \n\nNo document supports this answer as the information is not available.",
461
+ "ground_truth": "NPCI introduced a 30% market share cap for third-party UPI applications, applicable once total UPI transaction volume crosses 300 crore per month. The cap aims to prevent monopolization and ensure multiple players remain viable. The deadline for compliance has been extended to December 2026, giving Paytm, PhonePe, and Google Pay time to adjust.",
462
+ "answer_correctness": 1.0,
463
+ "correctness_reason": "generated answer contradicts reference",
464
+ "answer_relevancy": 0.0,
465
+ "context_recall": 0.5,
466
+ "precision_at_5": 1.0,
467
+ "latency_ms": 3026,
468
+ "retrieved_sources": [
469
+ "npci_upi_report_2024.txt",
470
+ "npci_upi_report_2024.txt",
471
+ "npci_upi_report_2024.txt",
472
+ "npci_upi_report_2024.txt",
473
+ "npci_upi_report_2024.txt"
474
+ ]
475
+ }
476
+ ]
477
+ }
scripts/run_eval_versioned.py CHANGED
@@ -235,7 +235,7 @@ def main():
235
  answer_llm = _make_llm(config["llm"]["model"], temperature=0.1, max_tokens=500)
236
  judge_llm = _make_llm(args.judge_model, temperature=0.0, max_tokens=200)
237
 
238
- ragas_llm = LangchainLLMWrapper(_make_llm(args.judge_model, temperature=0.0, max_tokens=1024))
239
  ragas_emb = LangchainEmbeddingsWrapper(
240
  _OAIEmb(
241
  model="text-embedding-3-small",
@@ -294,7 +294,7 @@ def main():
294
 
295
  # RAGAS batch eval — max_workers=2 to avoid Groq free-tier rate limit timeouts
296
  print(f"\nRunning RAGAS on {len(ragas_samples)} samples (answer_relevancy + context_recall)...")
297
- print("Using max_workers=1 to avoid Groq rate limits — will take ~25-35 min for 50 samples")
298
  dataset = EvaluationDataset(samples=ragas_samples)
299
  ragas_cfg = RunConfig(timeout=180, max_workers=1, max_retries=10)
300
  results = evaluate(
 
235
  answer_llm = _make_llm(config["llm"]["model"], temperature=0.1, max_tokens=500)
236
  judge_llm = _make_llm(args.judge_model, temperature=0.0, max_tokens=200)
237
 
238
+ ragas_llm = LangchainLLMWrapper(_make_llm(args.judge_model, temperature=0.0, max_tokens=2048))
239
  ragas_emb = LangchainEmbeddingsWrapper(
240
  _OAIEmb(
241
  model="text-embedding-3-small",
 
294
 
295
  # RAGAS batch eval — max_workers=2 to avoid Groq free-tier rate limit timeouts
296
  print(f"\nRunning RAGAS on {len(ragas_samples)} samples (answer_relevancy + context_recall)...")
297
+ print(f"Using max_workers=1 to avoid Groq rate limits — will take ~{len(ragas_samples) // 2}-{len(ragas_samples)} min for {len(ragas_samples)} samples")
298
  dataset = EvaluationDataset(samples=ragas_samples)
299
  ragas_cfg = RunConfig(timeout=180, max_workers=1, max_retries=10)
300
  results = evaluate(