Use two simulated corporate disclosure reports to design sources, chunking and metadata, build a ten-question evaluation set, and test a RAG prototype that cites page and section and abstains when evidence is missing.
Info
This is simulated teaching material. Qinglan Precision Components Corp., Haoyu Circuit Materials Inc., their reports and every figure in them are invented for practice and describe no real company or filing. Nothing in this course is investment advice.
Warning
This course teaches how to build and evaluate trustworthy knowledge systems. It does not give investment advice. Any AI answer that could be read as financial information, or that is shared outside the practice room, must be checked against its cited sources and approved by an accountable person.
Warning
Index only the simulated documents provided by the course, or public documents you are entitled to use, in a service your organisation has authorised. Never upload company secrets, client personal data, unpublished material or other restricted data to an AI tool or practice environment.
A simulated annual risk disclosure (document id SIM-DISC-A-2025, version 1.1 superseding 1.0) with page and section markers such as [p.3 §2.1]: seven principal risks, a version history, risk ownership, a dividend policy with no future amount and a qualitative outlook. English with a Traditional Chinese summary.
A simulated annual-report risk chapter (SIM-DISC-B-2025, version 1.0) whose risk factors partly overlap Report A (supply, currency, costs, information security) and partly differ (patent litigation, key personnel, interest rates). Its appendix holds a labelled prompt-injection test string.
Ten test questions over the two reports with expected behaviour, source document, page/section, difficulty and a negative-case flag. Includes cross-document comparison, a version question, a wording-mismatch question, a prompt-injection question and no-evidence questions where the right behaviour is to abstain.
The artifact 106-A1 template: all ten fields, the rubric (25/25/30/20), the Critical Fail checklist, a metric worksheet for hit@k, citation accuracy, groundedness and abstention with a small-sample warning, a citation check log and a failure log.
Turn the two simulated disclosure reports into a traceable source register, a chunking and metadata plan, and an architecture choice for each kind of question.
Build a source register for both reports: document id, company, publication date, version, what it supersedes, page count and course-use rights. Note which version of Report A must be used, and why.
Decide how to chunk the reports: follow the [p.N §X] markers and section headings rather than a fixed length, and note where overlap or keeping a section together matters.
List the metadata every chunk must carry so a citation can be checked (at least document id, version, page and section), and which fields you would use to filter retrieval.
For three sample questions (a single fact, a comparison across both reports, and a question neither report answers), choose LLM-only, single-step RAG or agentic retrieval, and explain the choice.
Check upload restrictions: confirm the service you will use is authorised for these documents, and write down one kind of document you would never index in it.
What you produce
A source register for both documents
A chunking and metadata plan with the minimum citation fields
An architecture choice for the three sample questions, with one sentence of reasoning each
Exercise 2: Evaluation Set Design
Review and complete a ten-question evaluation set so it can measure retrieval, citations, groundedness and abstention, including questions the documents cannot answer.
Open AIMI106_QA_Evaluation_Set.csv and, for every answerable question, open the cited document and confirm the page and section really contain the evidence.
Confirm the set has at least two no-evidence questions whose expected behaviour is to abstain, and at least one partial-evidence question; mark how a good abstention should be worded.
For each question, write what counts as a pass for retrieval (hit@k, with your chosen k), for citations, for groundedness and for abstention.
Plan the baseline: run the same ten questions through LLM-only or keyword search and score them with the same rules.
What you produce
A checked evaluation set with verified page/section evidence
Pass criteria per question for each metric
A baseline plan using the same questions and scoring
Info
Do not drop or rewrite a question after you see a failure. A hard question that the system misses belongs in the failure log, not out of the set.
Exercise 3: RAG Prototype & Evaluation
Build a small RAG prototype over the two reports with a no-code tool or code, evaluate it against the baseline, check every citation, and complete the Financial Media RAG Agent & Evaluation.
Build the prototype in an authorised environment with only the two simulated reports, using your chunking and metadata plan. Instruct it to answer only from retrieved passages, cite document and page/section for every claim, and say when evidence is insufficient.
Run all ten evaluation questions through the prototype and the baseline, and record the results in the metric worksheet of the template.
Open every citation and confirm the text supports the claim and the version is valid; record each check in the citation log.
Log every failure by type (retrieval, generation, citation, abstention, version, injection), its likely cause and a fix, then retest at least one fix.
Complete the ten template fields, state the small-sample confidence limits, and run the Critical Fail checklist before a person signs off.
What you produce
A working prototype (no-code or code) over the two reports
A completed metric worksheet with counts for RAG and the baseline
A citation check log and a failure log
The completed ten-field artifact
Info
Submit the completed artifact on the Apply page. A fabricated document or page number, a non-retrieved claim stated as fact, or restricted data uploaded to an unauthorised service is a Critical Fail. L2 requires a separate human rubric review.
The done mark is stored in this browser only (and synced once you join a session). Keep your work in your own files.
Sync my progressJoin a session to keep progress across devices and share it with your instructor