2 months ago

The First Filipino Philippines Building Code Assistant Model

tools thinking
ollama run chrisdiochavez/PHILIPPINES-BUILDING-CODE-AI-ASSISTANT

Applications

Claude Code
Claude Code ollama launch claude --model chrisdiochavez/PHILIPPINES-BUILDING-CODE-AI-ASSISTANT
OpenCode
OpenCode ollama launch opencode --model chrisdiochavez/PHILIPPINES-BUILDING-CODE-AI-ASSISTANT
Hermes Agent
Hermes Agent ollama launch hermes --model chrisdiochavez/PHILIPPINES-BUILDING-CODE-AI-ASSISTANT
OpenClaw
OpenClaw ollama launch openclaw --model chrisdiochavez/PHILIPPINES-BUILDING-CODE-AI-ASSISTANT

Models

View all →

Readme

Philippines Building Code AI Assistant

A locally deployable AI assistant designed to help users better understand publicly available materials related to the National Building Code of the Philippines, its implementing rules and regulations, building permits, occupancy requirements, construction standards, accessibility, fire safety, zoning considerations, and other related regulatory references.

This model is intended for general information, research, education, document review, and compliance awareness only.

It can help make complex building regulations easier to explore and understand, but it does not replace the professional judgment of architects, civil engineers, structural engineers, electrical engineers, mechanical engineers, sanitary engineers, building officials, fire safety professionals, lawyers, or other qualified specialists.


Run with Ollama

ollama run chrisdiochavez/PHILIPPINES-BUILDING-CODE-AI-ASSISTANT

About the Model

The Philippines Building Code AI Assistant is designed to assist users in navigating building-related rules and publicly available regulatory materials in the Philippines.

It may help users:

  • Understand general provisions of the National Building Code
  • Summarize building-code sections and regulatory documents
  • Explain common building, occupancy, and permit terminology
  • Identify possible requirements that may need further verification
  • Prepare questions for architects, engineers, contractors, building officials, or regulatory offices
  • Organize references for building-permit and compliance research
  • Review publicly available rules concerning construction, occupancy, accessibility, fire safety, sanitation, and building administration
  • Compare user-provided information with relevant regulatory references
  • Create preliminary checklists for human review

The model is intended to make technical and regulatory information easier to understand. It is not designed to approve plans, certify compliance, issue permits, perform engineering calculations, or make final professional decisions.


Creator and Architect

This AI model was created and architected by CHRISTOPHER DIO CHAVEZ, a cybersecurity practitioner.

The model was developed with an emphasis on:

  • Responsible and practical AI use
  • Local and private deployment through Ollama
  • Cybersecurity-aware implementation
  • Prompt-injection risk reduction
  • Source-grounded regulatory assistance
  • Clear communication of technical and legal limitations
  • Human review for safety-critical decisions
  • Accessible explanations of Philippine building regulations

This is an independently developed AI project. It is not an official government platform or regulatory system.


Important Disclaimer

This model is an AI-generated assistant. It is not an official system, service, representative, employee, contractor, or authorized agent of the Department of Public Works and Highways, the National Building Code Development Office, any Office of the Building Official, any local government unit, the Bureau of Fire Protection, or any other Philippine government agency.

The model may provide information based on publicly available building codes, implementing rules, government issuances, technical references, and user-provided documents. However, its responses may be:

  • Incomplete
  • Outdated
  • Inaccurate
  • Based on missing context
  • Incorrectly interpreted
  • Inapplicable to a particular location or project
  • Affected by later laws, regulations, circulars, court decisions, local ordinances, or agency interpretations

Users must independently verify important information through current and authoritative sources.

An answer generated by this model does not constitute an official interpretation, approval, permit, clearance, certification, inspection result, engineering conclusion, architectural opinion, or legal determination.


Not Professional Advice

Nothing generated by this model should be treated as:

  • Architectural advice
  • Civil or structural engineering advice
  • Electrical or mechanical engineering advice
  • Sanitary or plumbing engineering advice
  • Geotechnical advice
  • Fire safety certification
  • Legal advice
  • Zoning approval
  • Building-permit approval
  • Occupancy-permit approval
  • Code-compliance certification
  • A signed or sealed professional document
  • A substitute for an on-site inspection
  • A substitute for professional calculations, plans, specifications, or assessments

Building and construction decisions may affect public safety, property, health, accessibility, and legal rights. Any response involving structural integrity, fire protection, electrical systems, mechanical systems, sanitation, occupancy, accessibility, excavation, demolition, or life-safety requirements must be reviewed by the appropriate licensed professional and competent government authority.


Human Review Is Required

This model should be treated as a research and assistance tool, not as the final decision-maker.

Before relying on an answer, users should consult the appropriate person or office, which may include:

  • A registered and licensed architect
  • A registered civil or structural engineer
  • A professional electrical engineer
  • A professional mechanical engineer
  • A sanitary engineer or master plumber
  • A geodetic or geotechnical professional
  • A qualified contractor
  • The Office of the Building Official
  • The local zoning or planning office
  • The Bureau of Fire Protection
  • The Department of Public Works and Highways
  • A qualified lawyer or regulatory professional

Requirements can vary depending on the location, occupancy classification, building use, project size, construction type, site conditions, local ordinances, and the interpretation of the authority having jurisdiction.


Responsible Use

Users are expected to use this model only for lawful, ethical, educational, and legitimate purposes.

Appropriate uses may include:

  • Studying Philippine building regulations
  • Summarizing publicly available building-code materials
  • Understanding general permit and occupancy concepts
  • Preparing preliminary compliance questions
  • Reviewing government forms and reference documents
  • Organizing research before consulting a professional
  • Creating non-final checklists for architects, engineers, contractors, or property owners
  • Explaining technical terms in simpler language
  • Supporting classroom, training, or research activities

This model must not be used to:

  • Create fake building permits, occupancy permits, clearances, certificates, licenses, inspection reports, or government documents
  • Forge professional signatures, seals, plans, or certifications
  • Impersonate an architect, engineer, building official, fire safety inspector, lawyer, contractor, or government employee
  • Falsely claim that a building, design, or project is code-compliant
  • Evade inspections, permit requirements, zoning rules, fire safety requirements, or lawful government processes
  • Conceal construction defects, safety hazards, or unauthorized work
  • Produce intentionally misleading regulatory submissions
  • Alter plans or calculations to deceive an authority
  • Encourage unsafe construction, demolition, excavation, occupancy, or electrical work
  • Make final life-safety or structural decisions without qualified human review

The user remains responsible for how the model’s output is interpreted and used.


No Permit or Compliance Guarantee

Use of this model does not guarantee:

  • Approval of a building permit
  • Approval of an occupancy permit
  • Approval of a zoning or locational clearance
  • Approval of a fire safety evaluation or inspection
  • Acceptance of architectural or engineering plans
  • Compliance with national or local regulations
  • Approval by an Office of the Building Official
  • Approval by the Bureau of Fire Protection
  • Successful completion of an inspection
  • Protection from administrative, civil, or criminal liability
  • Suitability of a design for actual construction

Only the duly authorized government office or competent authority can issue an official permit, clearance, approval, ruling, or inspection result.


Location-Specific Requirements

Building requirements may differ between cities, municipalities, provinces, economic zones, subdivisions, and other jurisdictions.

In addition to national laws and regulations, a project may be subject to:

  • Local zoning ordinances
  • Comprehensive land-use plans
  • Subdivision or condominium restrictions
  • Homeowners’ association rules
  • Heritage or environmental regulations
  • Easements and setback requirements
  • Utility-provider requirements
  • Fire safety regulations
  • Accessibility requirements
  • Environmental clearances
  • Aviation, coastal, flood-control, or protected-area restrictions
  • Special rules issued by local or national authorities

The model may not know every local amendment, administrative practice, current fee, documentary requirement, or agency interpretation. Users should confirm all location-specific requirements with the relevant authority.


Source and Accuracy Notice

The model may rely on publicly available materials concerning the National Building Code of the Philippines and related regulations, including:

  • Presidential Decree No. 1096
  • The Revised Implementing Rules and Regulations of the National Building Code
  • DPWH issuances and reference materials
  • Philippine accessibility requirements
  • Fire safety laws and regulations
  • The Philippine Green Building Code
  • Local ordinances and zoning materials
  • Publicly available permit forms, memoranda, circulars, and advisories
  • Documents supplied by the user

The inclusion of a law, regulation, circular, form, or reference in the model’s training or supporting materials does not guarantee that it is the most current version.

Building regulations, procedures, fees, forms, technical standards, official interpretations, and documentary requirements may be amended or replaced. Users must verify the current version directly with official sources before taking action.

Where a model response conflicts with an official law, regulation, court decision, memorandum, department order, circular, local ordinance, permit condition, written agency interpretation, or instruction from a competent authority, the official source shall prevail.


Document Analysis Limitations

When reviewing plans, specifications, reports, permits, photographs, or other documents, the model may fail to detect:

  • Missing pages or attachments
  • Incorrect dimensions
  • Drawing-scale issues
  • Conflicting plan details
  • Structural design deficiencies
  • Site-specific hazards
  • Hidden construction defects
  • Invalid signatures or professional seals
  • Outdated forms
  • Local code amendments
  • Incorrect engineering assumptions
  • Fire and life-safety risks
  • Accessibility barriers
  • Fraudulent or altered documents

AI review is not equivalent to a professional plan review, technical evaluation, engineering analysis, legal review, or physical inspection.

Do not upload confidential, privileged, classified, personally identifiable, or commercially sensitive information unless you are authorized to process it and understand how your local deployment stores and handles data.


Performance and Reliability

The model runs locally through Ollama. Its speed and performance may vary depending on:

  • CPU performance
  • Available RAM
  • GPU and VRAM capacity
  • Storage speed
  • Model quantization
  • Context length
  • Prompt complexity
  • Length and quality of user-provided documents
  • Retrieval and indexing configuration
  • Other applications running on the device

Larger models and longer contexts may provide more detailed responses but may also require significantly more computing resources.

For better reliability, users should provide:

  • The specific city or municipality
  • The type and use of the building
  • The number of storeys
  • The occupancy classification, when known
  • The relevant code provision or document
  • The date or version of the regulation
  • Clear measurements and project details
  • Any instructions issued by the local building official

Even with complete information, the model may still produce incorrect results. All important outputs require human verification.


Recommended User Practice

Before acting on an answer:

  1. Ask the model to identify the provision or source supporting its response.
  2. Verify that the cited document is authentic and current.
  3. Check whether national rules have been amended by later issuances or court decisions.
  4. Confirm applicable local ordinances and zoning requirements.
  5. Consult the Office of the Building Official or other authority having jurisdiction.
  6. Have technical conclusions reviewed by the appropriate licensed professional.
  7. Never use AI-generated calculations, plans, or compliance conclusions as the sole basis for construction.
  8. Keep copies of the official documents and written guidance relied upon.
  9. Obtain all required permits and approvals before beginning regulated work.

A useful way to treat the model is:

Use it to prepare better questions—not to replace the professionals who must answer them.


Legal Notice and Limitation of Liability

This model and all generated responses are provided “as is” and “as available.”

To the fullest extent permitted by applicable law, no warranty, representation, or guarantee is made regarding:

  • Accuracy
  • Completeness
  • Timeliness
  • Reliability
  • Availability
  • Legality
  • Regulatory acceptance
  • Code compliance
  • Technical correctness
  • Safety
  • Fitness for a particular purpose
  • Non-infringement
  • Suitability for construction or professional use

The creator, architect, maintainer, publisher, host, contributor, or distributor of this model shall not be liable for any direct, indirect, incidental, special, consequential, exemplary, or other loss or damage arising from or related to:

  • Use of the model
  • Reliance on a generated response
  • Incorrect or incomplete information
  • Construction delays or additional expenses
  • Rejected permits, plans, applications, or inspections
  • Regulatory penalties or enforcement action
  • Design or construction defects
  • Property damage
  • Personal injury or loss of life
  • Business interruption
  • Data loss
  • Professional liability
  • Contractual disputes
  • Legal claims
  • Failure to obtain professional or government review
  • Inability to access or use the model

Users assume full responsibility for verifying the accuracy, safety, legality, and applicability of all outputs before using them.

No provision in this notice is intended to exclude or limit liability where such exclusion or limitation is prohibited by applicable law.


No Government or Professional Affiliation

This model is independently created and maintained.

It is not affiliated with, endorsed by, sponsored by, certified by, or officially approved by:

  • The Department of Public Works and Highways
  • The National Building Code Development Office
  • Any Office of the Building Official
  • Any city, municipality, province, or local government unit
  • The Bureau of Fire Protection
  • The Department of the Interior and Local Government
  • The Professional Regulation Commission
  • The United Architects of the Philippines
  • The Philippine Institute of Civil Engineers
  • Any engineering or professional organization
  • Any Philippine government agency or regulatory authority

Any government agency, law, code, office, or professional organization mentioned by the model remains the property and responsibility of its respective institution.

References to those entities are provided only for identification, education, research, and informational context.


User Acknowledgment

By downloading, running, accessing, modifying, distributing, or using this model, the user acknowledges that:

  • The model is an unofficial AI research and information tool.
  • AI-generated responses may contain errors.
  • The model does not provide professional or official approval.
  • Building and construction decisions require qualified human review.
  • The user is responsible for verifying all generated information.
  • The user accepts responsibility for decisions made using the model’s output.
  • Official laws, regulations, permits, and government instructions always take priority over AI-generated content.

Final Reminder

This assistant can help make Philippine building regulations easier to explore, but it cannot inspect a site, sign and seal plans, verify actual construction conditions, approve a permit, or assume professional responsibility for a project.

For any real-world building, renovation, demolition, occupancy, fire safety, structural, electrical, mechanical, plumbing, sanitation, accessibility, or zoning matter, consult the proper licensed professional and the government authority having jurisdiction.