name: nyc_compliance_rag description: Rules and logic for the NYC Compliance RAG pipeline
NYC Compliance RAG Pipeline
This skill defines the strict grounding rules for the NYC Compliance Architect.
Core Rules
NO HALLUCINATION:
- If evidence is not found in the "Company Locker" or "Project" scope for a COMPANY_FACT, return "NOT FOUND IN LOCKER".
- Do NOT use general knowledge to guess.
CITATIONS REQUIRED:
- Every answer must have a citation:
[DocumentName.pdf, pg. X]. - Max 3 citations per answer.
- Every answer must have a citation:
GLOBAL FALLBACK (NYC IAW ONLY):
- Only if the question is classified as
NYC_LAW(not company specific). - Use
[NYC REGULATORY REFERENCE: DocName.pdf, pg. X].
- Only if the question is classified as
Question Classification:
COMPANY_FACT: Answer ONLY from Locker/Project.NYC_LAW: Check Locker first, then NYC Global Library.AMBIGUOUS: Return "AMBIGUOUS: [reason]. Need [missing document]."
Precedence
- Company Locker + Project Docs
- NYC Global Library (only for NYC_LAW)
- NOT FOUND