-
Notifications
You must be signed in to change notification settings - Fork 0
/
schemas.py
755 lines (743 loc) · 33.3 KB
/
schemas.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
BIG_PPTX_SCHEMA = "{type:object,properties:{slides:{type:array,items:{type:object,properties:{heading:{title:Heading,description:The_slide_Heading,type:string},bullet_points:{title:Bullet_Points,description:The_bullet_points,type:array,items:{type:string}}},required:[heading,bullet_points]}}},required:[slides]}"
BIG_DM_SLIDES_SCHEMA = """
{
type: object,
properties: {
slides: {
type: array,
items: {
oneOf: [
{
type: object,
properties: {
introduction: {
type: object,
properties: {
title: {
type: string,
description: The title text for the Introduction slide },
subtitle: {
type: string,
description: The optional subtitle text for the Introduction slide}},
required: [title]}},
required: [introduction]
},
{
type: object,
properties: {
section: {
type: object,
properties: {
title: {
type: string,
description: The title text for the Section slide},
subtitle: {
type: string,
description: The optional subtitle text for the Section slide}},
required: [title]}},
required: [section]
},
{
type: object,
properties: {
bullet_slide: {
type: object,
properties: {
title: {
type: string,
description: The title text for the Bullet slide},
bullets: {
type: array,
items: {
type: object,
properties: {
text: {
type: string,
description: Plain text element for the bullet point},
bullet_level: {
type: string,
enum: [1, 2, 3, 4, 5, 6],
description: The indentation level for bullet points}},
required: [text, bullet_level]},
description: Array of text and bullet elements for the Bulletpoints slide}},
required: [bullets]}},
required: [bullet_slide]
},
{
type: object,
properties: {
card: {
type: object,
properties: {
title: {
type: string,
description: The title text for the Card},
bullets: {
type: array,
items: {
type: object,
properties: {
text: {
type: string,
description: Plain text element for the bullet point},
bullet_level: {
type: string,
enum: [1, 2, 3, 4, 5, 6],
description: The indentation level for bullet points}},
required: [text, bullet_level]},
description: Array of text and bullet elements for the Card}},
required: [bullets]}},
required: [card]
}
]}}},
required: [slides]
}
"""
org__BIG_DM_SLIDES_SCHEMA = """
{
type: object,
properties: {
slides: {
type: array,
items: {
oneOf: [{
type: object,
properties: {
introduction: {
type: object,
properties: {
title: {
type: string,
description: The title text for the Introduction slide },
subtitle: {
type: string,
description: The optional subtitle text for the Introduction slide}},
required: [title]}},
required: [introduction]}, {
type: object,
properties: {
section: {
type: object,
properties: {
title: {
type: string,
description: The title text for the Section slide},
subtitle: {
type: string,
description: The optional subtitle text for the Section slide}},
required: [title]}},
required: [section]}, {
type: object,
properties: {
bulletpoints: {
type: object,
properties: {
elements: {
type: array,
items: {
type: object,
properties: {
text: {
type: string,
description: Plain text element for the bullet point},
bullet_level: {
type: string,
enum: [1, 2, 3, 4, 5, 6],
description: The indentation level for bullet points}},
required: [text, bullet_level]},
description: Array of text and bullet elements for the Bulletpoints slide}},
required: [elements]}},
required: [bulletpoints]}]}}},
required: [slides]
}
"""
GPT_TOOL_SLIDE_SCHEMA = """
{
type: object,
properties: {
slides: {
type: array,
items: {
type: object,
properties: {
heading: {type: string},
bullet_points: {
type: [array, null],
items: {
type: object,
properties: {
bullet_type: {
type: string,
enum: [none, bullet, number, letter]
},
bullet_level: {
type: string,
enum: [0, 1, 2, 3]
},
bullet_text: {type: string}
},
required: [bullet_type, bullet_level, bullet_text]
}
}
},
required: [heading]
}
}
}
}
"""
REMEDIAL_SCHEMA_old = '''
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GroupedFinancialResources",
"type": "object",
"properties": {
"gap_list": {
"type": "array",
"description": "An array listing all the identified gaps the candidates need to overcome",
"items": {
"type": "string",
"description": "A gap the candidate needs to overcome"
}
},
"remedial_resources": {
"type": "array",
"description": "An array of objects, each containing information about a financial resource",
"items": {
"type": "object",
"properties": {
"gap": {
"type": "string",
"description": "The specific gap the candidate needs to overcome"
},
"gap_category": {
"type": "string",
"description": "The title of the category"
},
"remedial": {
"type": "string",
"description": "Explain how these resources will help the candidate overcome a specific gap"
},
"sources": {
"type": "array",
"description": "An array of financial resource URLs with metadata",
"items": {
"type": "string",
"description": "A reference to a financial resource URL with metadata",
"enum": [
]
}
},
"reasonings": {
"type": "array",
"description": "An array of reasons why these resources are relevant",
"items": {
"type": "string"
}
}
},
"required": ["gap", "gap_category", "remedial", "sources", "reasonings"]
}
}
},
"required": ["gap_list","remedial_resources"]
}
'''
REMEDIAL_SYSTEM_PROMPT = "Use your tool to create a presentation helping the user bridge the gap in their knowledge. For each identified gap in the <GAPS> section, generate 2 to 5 references taken from the <REFERENCES> section that can help the candidate fill that gap in their knowledge. Ensure that each gap is addressed. Ensure that each reference is not used more than once. Provide the references as a JSON according to the provided json schema."
REMEDIAL_REFERENCES = '''
{
"resources": [
{
"ref": "InvBanRes_0001",
"type": "Investment_Banking_Resources",
"title": "101 Investment Banking Interview Questions",
"description": "Provides a comprehensive list of interview questions commonly asked in investment banking interviews.",
"url": "https://www.wallstreetoasis.com/resources/interviews/investment-banking-interview-questions-answers"
},
{
"ref": "InvBanRes_0002",
"type": "Investment_Banking_Resources",
"title": "Investment Banking Hierarchy",
"description": "Explains the various roles and structures within an investment bank.",
"url": "https://www.streetofwalls.com/finance-training-courses/investment-banking-overview-and-behavioral-training/investment-banking-overview"
},
{
"ref": "InvBanRes_0003",
"type": "Investment_Banking_Resources",
"title": "Investment Banking Interview Questions and Answers: The Definitive Guide",
"description": "A detailed guide that covers potential questions and answers for investment banking interviews.",
"url": "https://mergersandinquisitions.com/investment-banking-interview-questions-and-answers/"
},
{
"ref": "InvBanRes_0004",
"type": "Investment_Banking_Resources",
"title": "Investment Banking Resumes",
"description": "Offers tips and examples for crafting an effective resume for investment banking roles.",
"url": "https://mergersandinquisitions.com/investment-banking/recruitment/resumes/"
},
{
"ref": "InvBanRes_0005",
"type": "Investment_Banking_Resources",
"title": "How to get into Investment Banking",
"description": "Provides strategies and steps for breaking into the investment banking industry.",
"url": "https://mergersandinquisitions.com/how-to-get-into-investment-banking/#HowToGetIn"
},
{
"ref": "InvBanRes_0006",
"type": "Investment_Banking_Resources",
"title": "Day in the Life of an IB analyst",
"description": "Describes a typical day for an investment banking analyst, offering insights into the daily tasks and work environment.",
"url": "https://www.wallstreetprep.com/knowledge/ma-analyst-day-in-the-life/"
},
{
"ref": "InvBanRes_0007",
"type": "Investment_Banking_Resources",
"title": "What To Know for an Investment Banking Interview",
"description": "Discusses key topics and knowledge areas relevant for investment banking interviews.",
"url": "https://www.investopedia.com/articles/financialcareers/10/investment-banking-interview.asp"
},
{
"ref": "InvBanRes_0008",
"type": "Investment_Banking_Resources",
"title": "More IB interview q&a",
"description": "Collection of real interview questions and answers for investment banking job candidates.",
"url": "https://corporatefinanceinstitute.com/resources/career/real-investment-banking-interview-questions-form/"
},
{
"ref": "InvBanRes_0009",
"type": "Investment_Banking_Resources",
"title": "Investment banking interview prep guide",
"description": "A guide to preparing for investment banking interviews, including tips on how to answer common questions.",
"url": "https://igotanoffer.com/blogs/finance/investment-banking-interview-prep"
},
{
"ref": "InvBanRes_0010",
"type": "Investment_Banking_Resources",
"title": "IB interview sample questions",
"description": "Sample questions that may be asked during an investment banking interview, with guidance on how to respond.",
"url": "https://www.indeed.com/career-advice/interviewing/investment-bank-interview-questions"
},
{
"ref": "PriEquRes_0001",
"type": "Private_Equity_Resources",
"title": "How a PE Firm Works",
"description": "Explains the fundamental operations of a private equity firm.",
"url": "https://www.streetofwalls.com/articles/private-equity/learn-the-basics/how-private-equity-works/"
},
{
"ref": "PriEquRes_0002",
"type": "Private_Equity_Resources",
"title": "How to Break into Private Equity",
"description": "Provides strategies for securing a position in the private equity sector.",
"url": "https://mergersandinquisitions.com/private-equity/recruitment/"
},
{
"ref": "PriEquRes_0003",
"type": "Private_Equity_Resources",
"title": "PE Resume",
"description": "Offers guidance on crafting a resume tailored for private equity roles.",
"url": "https://www.streetofwalls.com/finance-training-courses/private-equity-training/private-equity-resume/"
},
{
"ref": "PriEquRes_0004",
"type": "Private_Equity_Resources",
"title": "PE Interview Questions",
"description": "Features a list of common interview questions asked during PE interviews.",
"url": "https://www.wallstreetoasis.com/resources/interviews/private-equity-interview-questions"
},
{
"ref": "PriEquRes_0005",
"type": "Private_Equity_Resources",
"title": "Private Equity Interviews 101: How to Win Offers",
"description": "Provides a guide to excelling in private equity interviews.",
"url": "https://mergersandinquisitions.com/private-equity-interviews/"
},
{
"ref": "PriEquRes_0006",
"type": "Private_Equity_Resources",
"title": "Private Equity Overview",
"description": "An overview of the private equity industry, including key practices and challenges.",
"url": "https://mergersandinquisitions.com/private-equity/"
},
{
"ref": "PriEquRes_0007",
"type": "Private_Equity_Resources",
"title": "Basic LBO Modelling Test",
"description": "Introduces a basic leveraged buyout (LBO) modeling test with example solutions.",
"url": "https://www.wallstreetprep.com/knowledge/lbo-modeling-test-example-solutions/"
},
{
"ref": "PriEquRes_0008",
"type": "Private_Equity_Resources",
"title": "Standard LBO Modelling Test",
"description": "Provides a practice LBO modeling test designed to be completed within one hour.",
"url": "https://www.wallstreetprep.com/knowledge/leveraged-buyout-lbo-modeling-1-hour-practice-test/"
},
{
"ref": "PriEquRes_0009",
"type": "Private_Equity_Resources",
"title": "Advanced LBO Modelling Test",
"description": "Features an advanced LBO modeling test that spans four hours, intended for more experienced professionals.",
"url": "https://www.wallstreetprep.com/knowledge/advanced-lbo-modeling-test-4-hour-example/"
},
{
"ref": "PriEquRes_0010",
"type": "Private_Equity_Resources",
"title": "Top 17 PE Interview Questions",
"description": "Lists top 17 interview questions specific to private equity interviews.",
"url": "https://growthequityinterviewguide.com/private-equity-interview-questions"
},
{
"ref": "VenCapRes_0001",
"type": "Venture_Capital_Resources",
"title": "VC Interview Questions",
"description": "A list of common questions asked during venture capital interviews.",
"url": "https://www.wallstreetoasis.com/resources/interviews/venture-capital-interview-questions"
},
{
"ref": "VenCapRes_0002",
"type": "Venture_Capital_Resources",
"title": "VC Overview",
"description": "Provides a broad overview of the venture capital industry, including key players and processes.",
"url": "https://mergersandinquisitions.com/venture-capital"
},
{
"ref": "VenCapRes_0003",
"type": "Venture_Capital_Resources",
"title": "Venture Capital Interview Questions: What to Expect and How to Prepare",
"description": "Detailed guide on what to expect in VC interviews and how to prepare effectively.",
"url": "https://mergersandinquisitions.com/venture-capital-interview-questions"
},
{
"ref": "VenCapRes_0004",
"type": "Venture_Capital_Resources",
"title": "Fundamentals of Early-Stage Investing",
"description": "Explains the due diligence process in early-stage venture capital investing.",
"url": "https://www.wallstreetprep.com/knowledge/venture-capital-diligence/"
},
{
"ref": "VenCapRes_0005",
"type": "Venture_Capital_Resources",
"title": "Top VC Interview Questions",
"description": "Outlines some of the top interview questions for venture capital job applicants.",
"url": "https://www.investopedia.com/articles/financial-careers/08/venture-capital-interview-questions.asp"
},
{
"ref": "VenCapRes_0006",
"type": "Venture_Capital_Resources",
"title": "Ultimate VC Interview Guide",
"description": "Comprehensive guide to succeeding in venture capital interviews.",
"url": "https://www.goingvc.com/post/the-ultimate-venture-capital-interview-guide"
},
{
"ref": "VenCapRes_0007",
"type": "Venture_Capital_Resources",
"title": "50 Most Common VC Interview Questions",
"description": "Compiles the 50 most frequently asked questions in VC interviews.",
"url": "https://www.joinleland.com/library/a/50-most-common-venture-capital-interview-questions"
},
{
"ref": "VenCapRes_0008",
"type": "Venture_Capital_Resources",
"title": "37 VC Interview Questions with Answers",
"description": "Provides a set of 37 venture capital interview questions along with suggested answers.",
"url": "https://sg.indeed.com/career-advice/interviewing/venture-capital-interview-questions"
},
{
"ref": "HedFunRes_0001",
"type": "Hedge_Fund_Resources",
"title": "Hedge Fund Interview Questions",
"description": "A collection of common interview questions faced during hedge fund interviews.",
"url": "https://www.wallstreetoasis.com/resources/interviews/hedge-funds-interview-questions"
},
{
"ref": "HedFunRes_0002",
"type": "Hedge_Fund_Resources",
"title": "Hedge Fund Primer",
"description": "An introductory guide to understanding the basic concepts and strategies of hedge funds.",
"url": "https://www.wallstreetprep.com/knowledge/hedge-fund"
},
{
"ref": "HedFunRes_0003",
"type": "Hedge_Fund_Resources",
"title": "How to Get a Job at a Hedge Fund",
"description": "Detailed strategies and advice for landing a job in the hedge fund industry.",
"url": "https://mergersandinquisitions.com/how-to-get-a-job-at-a-hedge-fund/"
},
{
"ref": "HedFunRes_0004",
"type": "Hedge_Fund_Resources",
"title": "Articles on Hedge Funds",
"description": "A compilation of various articles providing in-depth insights into the hedge fund industry.",
"url": "https://www.streetofwalls.com/articles/hedge-fund/"
},
{
"ref": "HedFunRes_0005",
"type": "Hedge_Fund_Resources",
"title": "Top 20 HF Interview Q&A",
"description": "Top 20 questions and answers to expect in a hedge fund interview.",
"url": "https://www.wallstreetmojo.com/hedge-fund-interview-questions/"
},
{
"ref": "HedFunRes_0006",
"type": "Hedge_Fund_Resources",
"title": "More HF Interview Q&A",
"description": "Additional hedge fund interview questions that could be crucial for candidates.",
"url": "https://www.daytrading.com/hedge-fund-interview-questions"
},
{
"ref": "HedFunRes_0007",
"type": "Hedge_Fund_Resources",
"title": "40 Hedge Fund Interview Questions (with Sample Answers)",
"description": "A robust list of 40 hedge fund interview questions along with guidance on sample answers.",
"url": "https://uk.indeed.com/career-advice/interviewing/hedge-fund-interview-questions"
},
{
"ref": "HedFunRes_0008",
"type": "Hedge_Fund_Resources",
"title": "How to Prepare for a HF Interview",
"description": "A comprehensive guide to preparing for hedge fund interviews, covering what to know and how to present oneself.",
"url": "https://www.selbyjennings.com/blog/2023/05/preparing-for-a-hedge-fund-interview-your-comprehensive-guide"
},
{
"ref": "HedFunRes_0009",
"type": "Hedge_Fund_Resources",
"title": "Hedge Fund Interview Questions: What to Expect, and What to Ask",
"description": "Insight into what candidates can expect to face in hedge fund interviews and suggestions on what questions to ask.",
"url": "https://www.efinancialcareers.sg/news/2023/05/hedge-fund-interview-questions"
},
{
"ref": "HedFunRes_0010",
"type": "Hedge_Fund_Resources",
"title": "Most Frequently Asked HF Interview Questions",
"description": "Lists the most frequently asked questions in hedge fund interviews, complete with answers.",
"url": "https://www.buysidehustle.com/most-frequently-asked-hedge-fund-interview-questions-and-answers/"
},
{
"ref": "AccRes_0001",
"type": "Accounting_Resources",
"title": "Accounting Interview Questions",
"description": "A list of common questions asked during accounting interviews.",
"url": "https://www.wallstreetoasis.com/resources/interviews/accounting-interview-questions"
},
{
"ref": "AccRes_0002",
"type": "Accounting_Resources",
"title": "Fundamentals of Free Cash Flow (FCF)",
"description": "Explains the basics of calculating and analyzing free cash flow, an essential concept in accounting and finance.",
"url": "https://www.wallstreetprep.com/knowledge/operating-cash-flow-ocf/"
},
{
"ref": "AccRes_0003",
"type": "Accounting_Resources",
"title": "Tips for Accounting Interview",
"description": "Provides practical tips to excel in accounting interviews, focusing on how to present technical knowledge and soft skills.",
"url": "https://www.robertwalters.co.uk/insights/career-advice/blog/five-accounting-interview-tips.html"
},
{
"ref": "AccRes_0004",
"type": "Accounting_Resources",
"title": "Top 128 Accounting Interview Q&A",
"description": "A comprehensive list of accounting interview questions and answers, covering a wide range of topics in the field.",
"url": "https://www.shiksha.com/online-courses/articles/top-accounting-interview-questions-answers/"
},
{
"ref": "AccRes_0005",
"type": "Accounting_Resources",
"title": "How to Prepare for Accounting Interview",
"description": "Discusses strategies to prepare for an accounting interview, including understanding what recruiters are looking for.",
"url": "https://www.franklin.edu/blog/accounting-mvp/accounting-interview-questions"
},
{
"ref": "AccRes_0006",
"type": "Accounting_Resources",
"title": "Guide for an Accounting Interview",
"description": "A guide to preparing for accounting interviews, offering insights into the types of questions and how to answer them effectively.",
"url": "https://accountingsoftwareanswers.com/accounting-interview-questions/"
},
{
"ref": "AccRes_0007",
"type": "Accounting_Resources",
"title": "How to Prepare for Accounting Interview Questions",
"description": "Provides a detailed approach to preparing for accounting interviews, emphasizing the importance of practical examples to illustrate accounting skills.",
"url": "https://www.sienaheights.edu/how-to-prepare-for-accounting-interview-questions/"
},
{
"ref": "RisAnaRes_0001",
"type": "Risk_Analyst_Resources",
"title": "6 Risk Analyst Interview Questions with Sample Answers",
"description": "This page provides a curated list of interview questions specifically for risk analyst positions along with detailed sample answers to help candidates prepare effectively.",
"url": "https://www.remoterocketship.com/advice/6-risk-analyst-interview-questions-with-sample-answers"
},
{
"ref": "RisAnaRes_0002",
"type": "Risk_Analyst_Resources",
"title": "Common Interview Questions: Credit Risk Analysts",
"description": "Investopedia outlines common interview questions faced by credit risk analysts, offering insights into the skills and knowledge expected in the role.",
"url": "https://www.investopedia.com/articles/professionals/111115/common-interview-questions-credit-risk-analysts.asp"
},
{
"ref": "RisAnaRes_0003",
"type": "Risk_Analyst_Resources",
"title": "Top 15 Risk Analyst Job Interview Questions, Answers & Tips",
"description": "ZipRecruiter presents a list of top interview questions for risk analysts, including tips on how to answer and what employers are looking for.",
"url": "https://www.ziprecruiter.com/career/job-interview-question-answers/risk-analyst"
},
{
"ref": "RisAnaRes_0004",
"type": "Risk_Analyst_Resources",
"title": "How To Become a Risk Analyst: 6 Steps",
"description": "Indeed guides on the steps to becoming a risk analyst, detailing necessary education, skills, and career paths.",
"url": "https://www.indeed.com/career-advice/finding-a-job/how-to-become-risk-analyst"
},
{
"ref": "RisAnaRes_0005",
"type": "Risk_Analyst_Resources",
"title": "Top 40 Risk Management Interview Questions",
"description": "The Knowledge Academy provides a comprehensive list of risk management interview questions to help candidates prepare for interviews in risk management roles.",
"url": "https://www.theknowledgeacademy.com/blog/risk-management-interview-questions/"
},
{
"ref": "ITRes_0001",
"type": "IT_Resources",
"title": "How to Become a Financial Data Scientist",
"description": "This article outlines the initial steps necessary to pursue a career as a financial data scientist, emphasizing the importance of mastering statistical concepts and analytical skills.",
"url": "https://www.projectpro.io/article/financial-data-scientist/925"
},
{
"ref": "ITRes_0002",
"type": "IT_Resources",
"title": "Data Science in Finance [Career Guide]",
"description": "The guide explores the role of data science in the finance sector, detailing the skills required and the impact of data science on financial strategies and decisions.",
"url": "https://onlinedegrees.sandiego.edu/data-science-in-finance/"
},
{
"ref": "ITRes_0003",
"type": "IT_Resources",
"title": "How can I best prepare for a career as a Financial Data Scientist?",
"description": "This FAQ section provides insights into the preparations necessary for a career as a financial data scientist, with tips on education, skills development, and practical experience.",
"url": "https://www.jobzmall.com/careers/financial-data-scientist/faqs/how-can-i-best-prepare-for-a-career-as-a-financial-data-scientist"
}
]
}
'''
GAP_SCHEMA = '''
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "FinancialKnowledgeGap",
"type": "object",
"properties": {
"gap_list": {
"type": "array",
"description": "An array listing all the identified gaps the candidates need to overcome",
"items": {
"type": "string",
"description": "A gap the candidate needs to overcome"
}
}
},
"required": ["gap_list"]
}
'''
REMEDIAL_SCHEMA = '''
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GroupedFinancialResources",
"type": "object",
"properties": {
"remedial_resources": {
"type": "array",
"description": "An array of exactly two objects, each containing information about a financial resource",
"items": {
"type": "object",
"properties": {
"gap": {
"type": "string",
"enum": ["Gap A", "Gap B"]
},
"gap_category": {
"type": "string",
"description": "The title of the category"
},
"remedial": {
"type": "string",
"description": "Explain how these resources will help the candidate overcome a specific gap"
},
"sources": {
"type": "array",
"description": "An array of financial resource URLs with metadata",
"items": {
"type": "string",
"description": "A reference to a financial resource URL with metadata"
}
},
"reasonings": {
"type": "array",
"description": "An array of reasons why these resources are relevant",
"items": {
"type": "string"
}
}
},
"required": ["gap", "gap_category", "remedial", "sources", "reasonings"]
},
"minItems": 2,
"maxItems": 2
}
},
"required": ["remedial_resources"]
}
'''
REMEDIAL_SCHEMA_CONST = '''
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions":
{
"references":
{
"type":"array",
"description":"A list of references to material useful to bridge a gap in knowledge",
"items":
{
"type":"object",
"properties":
{
"source":
{
"type": "string",
"enum": ["value1", "value2", "value3", "value4", "value5"]
},
"explanation":
{
"type":"string",
"description":"How this resource can help the candidate bridge the gap in knowledge"
}
}
}
}
},
"title": "GroupedFinancialResources",
"type": "object",
"properties": {},
"required": []
}
'''
GAP_PROPERTIES_EXAMPLE='''
"gap_1":
{
"type":"object",
"properties":
{
"gap":
{
"type": "string",
"const": "some value here"
},
"sources":
{
"$ref": "#/definitions/references"
}
},
"required": ["gap", "sources"]
},
'''