# ZettaBrain RAG — Test Prompts Guide ## Financial Services & Healthcare Industry Scenarios --- ## FINANCIAL SERVICES — Apex Financial Group ### 20 Test Prompts Across All 10 Documents --- ### Trading & Compliance (Doc 01, 08) 1. "What is the pre-clearance process for personal securities trades and how long does approval last?" 2. "Can I short sell Apex Financial Group stock? What are the restrictions on trading AFG securities?" 3. "What happens if I trade a stock that is on the restricted list by mistake — what are the penalties for a first-time violation?" 4. "How long do I need to hold third-party equities before selling them?" 5. "What qualifies as material non-public information? Give me examples." 6. "What is a Chinese Wall and when do I need approval to cross it?" ### AML & KYC (Doc 02, 03) 7. "When do I need to file a Suspicious Activity Report and what is the deadline for filing?" 8. "What are the Enhanced Due Diligence requirements for Politically Exposed Persons?" 9. "A customer is making multiple cash deposits just below $10,000 — what should I do?" 10. "What documents do I need to onboard a new corporate entity client?" 11. "What is the difference between the restricted list and the watch list?" 12. "How long does standard individual client onboarding take versus a high-risk entity?" ### Benefits & HR (Doc 04, 07, 10) 13. "How much does the company match for the 401(k) and when does the match vest?" 14. "How many PTO days do I get if I have been with the company for 7 years?" 15. "What is the parental leave policy for a primary caregiver?" 16. "When are performance review meetings held and how is the bonus calculated for an Exceptional rating?" 17. "What mandatory training do I need to complete within my first 30 days?" ### Expenses & Risk (Doc 05, 06) 18. "What is the maximum hotel rate I can expense in New York City and what do I need if I exceed it?" 19. "Can I fly business class on a domestic flight? What are the rules?" 20. "What happens when a risk event has a financial impact of over $10 million — who needs to be notified and how quickly?" --- ## HEALTHCARE — Riverside Medical Center ### 20 Test Prompts Across All 10 Documents --- ### HIPAA & Privacy (Doc 01, 03) 1. "A patient calls to ask what information we shared with their insurance company — what are their rights and how long do I have to respond?" 2. "What are the minimum necessary standards for accessing patient records — can I look at my colleague's records?" 3. "What should I do if I suspect a PHI breach — who do I contact and what is the notification timeline?" 4. "Which messaging apps are approved for sending patient information internally?" 5. "A patient wants to request a correction to their medical record — what is the process and deadline?" 6. "What personal devices can I use to access electronic patient health information?" ### Clinical & Medication (Doc 02, 07) 7. "What are the Five Rights of medication administration and what must I verify for each?" 8. "Which medications require an independent double-check by a second nurse before administration?" 9. "A patient received the wrong medication — what are the steps I need to take to report it?" 10. "How often must I document nursing progress notes for a patient in the medical-surgical unit versus ICU?" 11. "What abbreviations are prohibited in clinical documentation and why?" 12. "When are verbal or telephone orders permitted and how quickly must a physician co-sign them?" ### Emergency Response (Doc 04, 05) 13. "What does Code Blue mean and what is my role as a first responder if a patient collapses in my unit?" 14. "Explain the R.A.C.E. protocol for fire response and how to use a fire extinguisher." 15. "A patient has MRSA — what precautions do I need to take when entering the room?" 16. "I was exposed to a patient's blood — what are the immediate steps and where do I go for evaluation?" 17. "What is the difference between contact, droplet, and airborne precautions?" ### Operations & HR (Doc 06, 08, 09, 10) 18. "How many CME days do clinical staff with over 5 years of service receive and what is the annual CME budget for physicians?" 19. "What criteria must a patient meet to be discharged to a skilled nursing facility versus inpatient rehabilitation?" 20. "Can a physician prescribe a controlled substance on a telemedicine visit to a new patient?" --- ## CROSS-INDUSTRY COMPARISON PROMPTS *Use these to test how well the RAG handles queries that span documents* ### Financial Services - "Compare the consequences of a first-time versus third-time trading policy violation" - "What are all the deadlines I need to know for my first month as a new employee at Apex?" - "Summarise all the ways my personal trading could create a compliance problem" ### Healthcare - "What are all the time-sensitive deadlines in the first 24 hours after a patient is admitted?" - "Summarise the differences between all the emergency codes and what staff should do for each" - "What are all the situations where I must immediately notify a supervisor or specialist?" --- ## ADVERSARIAL TEST PROMPTS *These test whether ZettaBrain correctly says it doesn't know something not in the documents* ### Financial Services - "What is the current stock price of Apex Financial Group?" - "Who is the current CEO of Apex Financial Group?" - "What was Apex's revenue last quarter?" ### Healthcare - "What is the recommended treatment for Type 2 diabetes?" - "Is acetaminophen safe during pregnancy?" - "What is the current COVID-19 vaccination recommendation?" **Expected behaviour:** ZettaBrain should answer from documents for the industry-specific prompts and clearly state "This information is not covered in your documents" for the adversarial prompts. --- ## HOW TO RUN THESE TESTS ### Step 1 — Ingest both industry document sets ```bash # Ingest financial documents zettabrain-ingest --folder /path/to/financial-docs --rebuild # Chat and test financial prompts zettabrain-chat # Re-ingest with healthcare documents zettabrain-ingest --folder /path/to/healthcare-docs --rebuild # Chat and test healthcare prompts zettabrain-chat ``` ### Step 2 — Test via the web GUI Open `https://YOUR_SERVER_IP:7860` and paste prompts into the chat interface. Click "sources" after each answer to verify the correct document was retrieved. ### Step 3 — Evaluate responses on 3 criteria - **Accuracy**: Is the answer factually correct based on the document? - **Grounding**: Does the response cite the source document correctly? - **Refusal**: Does it correctly decline to answer adversarial prompts?