8th UN Global Road Safety Week Concludes with Nationwide Activities
NTSA wraps up a successful week of road safety awareness, engaging partners and communities across Kenya to promote the protection of vulnerable road users.
Share:
The 8th UN Global Road Safety Week concluded on a high note after a week of impactful and colorful activities held across the country. Led by the National Transport and Safety Authority (NTSA), the campaign saw active participation from Board Directors, Management, and officials who visited various regions to promote road safety awareness.
Throughout the week, NTSA partnered with road safety actors, government agencies, and community stakeholders to sensitize the publicβparticularly vulnerable road users such as pedestrians and cyclists. The collaborative efforts aimed to reinforce the importance of safe mobility and reduce road-related injuries and fatalities.
NTSA thanks all partners and participants for their commitment to making Kenyan roads safer for everyone.
+
+
+
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__About_Us_-_Who_We_Are_47583408.html b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__About_Us_-_Who_We_Are_47583408.html
new file mode 100644
index 0000000..abcdb15
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__About_Us_-_Who_We_Are_47583408.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+ NTSA | About Us - Who We Are
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The National Transport and Safety Authority (NTSA) is Kenya's premier agency responsible for transport safety regulation and enforcement, dedicated to creating safer roads for all Kenyans.
Established through an Act of Parliament; NTSA Act No. 33 of 2012, we are dedicated to harmonizing the operations of the key road transport departments and helping in effectively managing the road transport sub-sector and minimizing traffic accidents.
Our Vision & Mission
Our Vision
To establish a Safe, Reliable, and Efficient Road Transport System in Kenya.
Our Mission
Through the planning, management, and regulation of the road transportation system, to continuously increase road safety for all users.
Our Core Values
Commitment to Safety
Customer Focus
Professionalism
Teamwork
Resource Mobilisation
Integrity and Accountability
Our Role
1
Implementing policies relating to road transport and safety
2
Registering and licensing motor vehicles
3
Conducting motor vehicle inspections and certification
4
Regulating public service vehicles
5
Advising the government on national road transport and safety matters
6
Developing and implementing road safety strategies
Our Mandate
The National Transport and Safety Authority (NTSA) was established through an Act of Parliament; Act Number 33 of 2012. The Authority is responsible for:
Implementation of policies relating to road transport and safety
Registration and licensing of motor vehicles
Conducting motor vehicle inspections and certification
Regulating public service vehicles
Advising the government on national road transport and safety matters
Development and implementation of road safety strategies
Collection and analysis of road safety data
Our Commitment
"Safety on our roads is not just our responsibility, it's our commitment to every Kenyan family."
We are committed to making Kenyan roads safe for all users through effective regulation, enforcement, and public education. Our team of dedicated professionals works tirelessly to ensure compliance with transport regulations and promote road safety awareness.
Use the quick search to find information or services instantly.
Welcome to The New and Improved NTSA Online Services
Access all NTSA services through your eCitizen accountβeverything you need in one place with one account. All the TIMS services and many more are available in our new and simple-to-use platform.
Kenyaβs innovation in public service has earned continental acclaim at the APSCA Awards, with NTSA recognized for leading the nationβs digital transformation journey toward smarter, paperless governance.
NTSA is offering free motor vehicle inspection clinics for all school transport vehicles across its centres. The initiative aims to enhance the safety of children as schools reopen.
The National Transport and Safety Authority has operationalized the Duty Update Module/Vehicle Records Update Tool to support all motor vehicle and motorcycle owners.
The deadline for submission of comments on the proposed 2025 Traffic & Transport Regulations has been extended to Tuesday, 22nd July 2025. All previous submissions must be re-sent using the prescribed formats to ensure proper review. Send comments to info@transport.go.ke, copy to comments@ntsa.go.ke.
In line with a government directive, all MDAs are required to apply for reflective plates through the NTSA portal. The application deadline is set for Friday, August 29, 2025.
NTSA wraps up a successful week of road safety awareness, engaging partners and communities across Kenya to promote the protection of vulnerable road users.
Kenyaβs innovation in public service has earned continental acclaim at the APSCA Awards, with NTSA recognized for leading the nationβs digital transformation journey toward smarter, paperless governance.
NTSA is offering free motor vehicle inspection clinics for all school transport vehicles across its centres. The initiative aims to enhance the safety of children as schools reopen.
Use the quick search to find information or services instantly.
Welcome to The New and Improved NTSA Online Services
Access all NTSA services through your eCitizen accountβeverything you need in one place with one account. All the TIMS services and many more are available in our new and simple-to-use platform.
Kenyaβs innovation in public service has earned continental acclaim at the APSCA Awards, with NTSA recognized for leading the nationβs digital transformation journey toward smarter, paperless governance.
NTSA is offering free motor vehicle inspection clinics for all school transport vehicles across its centres. The initiative aims to enhance the safety of children as schools reopen.
The National Transport and Safety Authority has operationalized the Duty Update Module/Vehicle Records Update Tool to support all motor vehicle and motorcycle owners.
The deadline for submission of comments on the proposed 2025 Traffic & Transport Regulations has been extended to Tuesday, 22nd July 2025. All previous submissions must be re-sent using the prescribed formats to ensure proper review. Send comments to info@transport.go.ke, copy to comments@ntsa.go.ke.
In line with a government directive, all MDAs are required to apply for reflective plates through the NTSA portal. The application deadline is set for Friday, August 29, 2025.
NTSA wraps up a successful week of road safety awareness, engaging partners and communities across Kenya to promote the protection of vulnerable road users.
Kenyaβs innovation in public service has earned continental acclaim at the APSCA Awards, with NTSA recognized for leading the nationβs digital transformation journey toward smarter, paperless governance.
NTSA is offering free motor vehicle inspection clinics for all school transport vehicles across its centres. The initiative aims to enhance the safety of children as schools reopen.
Kenyaβs innovation in public service has earned continental acclaim at the APSCA Awards, with NTSA recognized for leading the nationβs digital transformation journey toward smarter, paperless governance.
NTSA is offering free motor vehicle inspection clinics for all school transport vehicles across its centres. The initiative aims to enhance the safety of children as schools reopen.
The National Transport and Safety Authority has operationalized the Duty Update Module/Vehicle Records Update Tool to support all motor vehicle and motorcycle owners.
The deadline for submission of comments on the proposed 2025 Traffic & Transport Regulations has been extended to Tuesday, 22nd July 2025. All previous submissions must be re-sent using the prescribed formats to ensure proper review. Send comments to info@transport.go.ke, copy to comments@ntsa.go.ke.
In line with a government directive, all MDAs are required to apply for reflective plates through the NTSA portal. The application deadline is set for Friday, August 29, 2025.
NTSA launches a comprehensive six-month road safety campaign to reduce accidents and promote safer driving practices.
Share:
The National Transport and Safety Authority (NTSA) has today launched a comprehensive road safety campaign aimed at reducing road accidents and promoting safer driving practices across the country.
+
The campaign, which will run for the next six months, includes:
+
+
Public awareness programs
+
Enhanced enforcement measures
+
Collaboration with stakeholders
+
Use of technology for monitoring
+
+
This initiative comes as part of our ongoing commitment to making Kenyan roads safer for all users.
+
+
+
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__NTSA_Services_7a9ee5d0.html b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__NTSA_Services_7a9ee5d0.html
new file mode 100644
index 0000000..fc60ddf
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__NTSA_Services_7a9ee5d0.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+ NTSA | NTSA Services
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Our new service portal provides a streamlined experience for all your NTSA service needs. Access vehicle registration, driver licensing, and more through your eCitizen account.
βSimplified user interface for easy navigation
βSecure payment processing
βReal-time application status updates
βIntegrated with eCitizen for seamless experience
To provide effective regulation and coordination of the road transport sector and ensure safety on our roads through implementation of innovative interventions and strict enforcement of traffic rules.
Our Vision
To be the world's leading surface transport authority.
Our Core Values
Integrity
We uphold honesty, transparency, and ethical conduct in all our operations.
Professionalism
We maintain high standards of service delivery and expertise in our work.
Innovation
We embrace creative solutions and modern technology to improve our services.
Our Mandate
The National Transport and Safety Authority (NTSA) was established through an Act of Parliament; Act Number 33 of 2012. The Authority is responsible for:
Implementation of policies relating to road transport and safety
Registration and licensing of motor vehicles
Conducting motor vehicle inspections and certification
Regulating public service vehicles
Advising the government on national road transport and safety matters
Development and implementation of road safety strategies
Collection and analysis of road safety data
Strategic Objectives
β’Reduce road traffic crashes and fatalities
β’Enhance efficiency in transport services
β’Develop and implement integrated transport and safety systems
β’Strengthen institutional capacity
β’Enhance road user compliance with traffic laws
β’Promote stakeholder engagement and partnerships
+
+
+
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__New_Digital_Licensing_System_Goes_Live__NTSA_50d5938e.html b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__New_Digital_Licensing_System_Goes_Live__NTSA_50d5938e.html
new file mode 100644
index 0000000..b3bf37d
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__New_Digital_Licensing_System_Goes_Live__NTSA_50d5938e.html
@@ -0,0 +1,45 @@
+
+
+
+
+
+ NTSA | New Digital Licensing System Goes Live | NTSA Kenya
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The National Transport and Safety Authority (NTSA) operates in a highly data-oriented environment which requires the processing and use of personal data in order to fulfil its core mandate of disseminating information to the public. NTSA is committed to high standards of privacy and security of your personal data as required under the Data Protection Act, 2019 and the regulations thereto.
This Privacy Statement explains the personal data we collect, how we process it and for what purpose. It also describes how NTSA handles your data when you use any of our services and the controls NTSA has established to safeguard your data. The Privacy Statement applies to our visitors who either physically visit our premises or our website, users of any of Our Products and services, suppliers, agents, customers and all our stakeholders.
2.0 Definition of terms
3.0 Collection of Information
4.0 Use of information
5.0 Retention of Data
6.0 Disclosure of Information
7.0 Social media features and widgets
8.0 Safeguarding and protection of your personal data
9.0 How to Contact Us
+
+
+
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__Tenders_73ac6e93.html b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__Tenders_73ac6e93.html
new file mode 100644
index 0000000..beb0a38
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/raw_html/NTSA__Tenders_73ac6e93.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+ NTSA | Tenders
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Administer and update vehicle records, including inspections, permits, and modifications, via the NTSA portal. The platform ensures that all vehicle-related data is accurately maintained in accordance with regulatory standards.
Available Services
Motor Vehicle Inspections
The Authority conducts inspection services to all Public Service Vehicles (PSV) and Commercial vehicles.
Motor Vehicle Registration
The authority registers vehicles and asigns number plates to the vehicles
Apply for Short Term RSL
The issuing of short-term Road Service License is meant to facilitate Public Service Vehicles to operate a route outside their licensed route for a specified short period of time not exceeding three (3) days. This application is done by the authorized personnel.
+
+
+
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Contact_Us_7bdb748a.md b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Contact_Us_7bdb748a.md
new file mode 100644
index 0000000..e59154b
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Contact_Us_7bdb748a.md
@@ -0,0 +1,9 @@
+# NTSA | Contact Us
+
+**URL:** https://ntsa.go.ke/contact
+**Scraped:** 2025-10-24T07:23:43.605483
+**Content Length:** 1587 characters
+
+---
+
+Contact usWe'd love to hear from you. Our friendly team is always here to chat.Email usInquiries:info@ntsa.go.keComplaints:complaints@ntsa.go.keDL queries:dlqueries@ntsa.go.keIntegrity:integrity@ntsa.go.keCall usSafaricom:0709 932 000Telkom:020 6939 000Visit us316 Upper Hill Chambers,2nd Ngong Avenue,Upper Hill, Nairobi.Write to usNational Transport and Safety Authority,P.O Box 3602 - 00506,Nairobi.NTSA County OfficesThikaDeputy County Commissioners Offices, opposite Barclays Bank, next to Kiambu Lands Officeinfo@ntsa.go.ke0709 932 000NyeriRegional Commissioners Complex, Block C, Third floor, opposite the Nyeri Law Courtsinfo@ntsa.go.ke0709 932 000MeruImenti CDF Building, Ground Floorinfo@ntsa.go.ke0709 932 000EmbuMotor Vehicle Inspection, along Kiritiri Roadinfo@ntsa.go.ke0709 932 000NakuruMotor Vehicle Inspection Centre, along Nakuru Ravine Road, near Show Ground junctioninfo@ntsa.go.ke0709 932 000EldoretMotor Vehicle Inspection Centre, along Police Line Roadinfo@ntsa.go.ke0709 932 000KerichoKericho County Commissioner's compound, NTSA MVI Centreinfo@ntsa.go.ke0709 932 000KakamegaPostal, KRA Officesinfo@ntsa.go.ke0709 932 000KisiiMotor Vehicle Inspection Unit, along Kisii - Kilgoris Roadinfo@ntsa.go.ke0709 932 000KisumuMotor Vehicle Inspection Center, along Airport Roadinfo@ntsa.go.ke0709 932 000MachakosMachakos inspection Center, along people's park roadinfo@ntsa.go.ke0709 932 000VoiMotor Vehicle Inspection centreinfo@ntsa.go.ke0709 932 000MombasaMiritini MVImombasa.queries@ntsa.go.ke0709 932 000GarissaKRA Offices, 1st Floorinfo@ntsa.go.ke0709 932 000Find Us
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Frequently_Asked_Questions__NTSA_Kenya_291931bf.md b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Frequently_Asked_Questions__NTSA_Kenya_291931bf.md
new file mode 100644
index 0000000..cfe81e9
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Frequently_Asked_Questions__NTSA_Kenya_291931bf.md
@@ -0,0 +1,9 @@
+# NTSA | Frequently Asked Questions | NTSA Kenya
+
+**URL:** https://ntsa.go.ke/faqs
+**Scraped:** 2025-10-24T07:24:28.754233
+**Content Length:** 819 characters
+
+---
+
+Frequently Asked QuestionsFind answers to common questions about NTSA services, licensing, vehicle registration, and road safety.All FAQsDriver LicensingVehicle RegistrationCorporate ServicesPSV & TransportRoad SafetyAll FAQsHow do I apply for Smart Driving LicenseHow do I renew my smart driving license?What documents do I need for vehicle registration?How do I transfer vehicle ownership?How do I register a transport company?What are the requirements for PSV operators?How do I apply for a PSV badge?How do I report unsafe driving behavior?How do I check my driving license status?How often should I have my vehicle inspected?What are the requirements for a fleet management system?Still have questions?If you couldn't find the answer to your question, please contact our customer support team. Call Us Contact Form
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Keep_our_roads_safe_0a8e8522.md b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Keep_our_roads_safe_0a8e8522.md
new file mode 100644
index 0000000..c5b5c79
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Keep_our_roads_safe_0a8e8522.md
@@ -0,0 +1,10 @@
+# NTSA | Keep our roads safe
+
+**URL:** https://ntsa.go.ke/
+**Scraped:** 2025-10-24T07:24:38.822420
+**Content Length:** 6068 characters
+
+---
+
+Inter-Agency Road Safety ConferenceInter-Agency Road Safety Conference graced by CS Ministry of Roads and Transport Davis ChirchirAccess ServicesWe care about keeping you safe on the roadsThe National Transport and Safety Authority continually improves accessibility and safety of Kenya's road transport system for all.Access ServicesTUVUKE SALAMA - Safe Crossings, Safer ChildrenTogether with our partners, we are championing for safer school crossing zones to save our children on the roads.Access ServicesQuick SearchFind a ServiceUse the quick search to find information or services instantly.SearchWelcome to The New and Improved NTSA Online ServicesAccess all NTSA services through your eCitizen accountβeverything you need in one place with one account. All the TIMS services and many more are available in our new and simple-to-use platform.Access ServicesLearn MoreLive Portal30+ ServicesOnline ServicesDiscover All NTSA Online ServicesWith over 30 services available online, explore what you can do on the new online portal.IndividualsLicenses & permitsVehiclesRegistration & transferService ProvidersOperators & dealersOrganizationsFleet managementOther NTSA ServicesQuick access to specialized servicesView AllUncollected Smart DL & PlatesSpeed Limiter ApplicationDealer & Garage LicenseConformity AssessorTransport Network CompanyNews & UpdatesLatest News & UpdatesStay informed with the latest announcements, initiatives, and updates from NTSAView All NewsOct 13, 2025Kenya Recognized for Technological Advancement and Public Service Excellence at APSCA AwardsKenyaβs innovation in public service has earned continental acclaim at the APSCA Awards, with NTSA recognized for leading the nationβs digital transformation journey toward smarter, paperless governance.Read Full StorySep 01, 2025LIST OF APPROVED MOTOR VEHICLE BODY BUILDERS, CONFORMITY ASSESSORS AND SPEED LIMITERS SUPPLIERS IN KENYALIST OF APPROVED MOTOR VEHICLE BODY BUILDERS, CONFORMITY ASSESSORS AND SPEED LIMITERS SUPPLIERS IN KENYARead Full StoryAug 20, 2025Operation Watoto Wafike Salama β Free Motor Vehicle Inspection ClinicsNTSA is offering free motor vehicle inspection clinics for all school transport vehicles across its centres. The initiative aims to enhance the safety of children as schools reopen.Read Full StoryAug 15, 2025IMPORTANT PUBLIC NOTICE: ROAD SAFETY AS SCHOOLS REOPENSafe, reliable school transport is mandatory as the new school term begins.Read Full StoryJul 29, 2025IMPORTANT PUBLIC NOTICE FOR MOTOR VEHICLE / MOTORCYCLE OWNERSThe National Transport and Safety Authority has operationalized the Duty Update Module/Vehicle Records Update Tool to support all motor vehicle and motorcycle owners.Read Full StoryJul 07, 2025PUBLIC NOTICE: EXTENSION OF COMMENTS AND PROPOSALS SUBMISSION DATE ON DRAFT TRAFFIC AND TRANSPORT REGULATIONS, 2025The deadline for submission of comments on the proposed 2025 Traffic & Transport Regulations has been extended to Tuesday, 22nd July 2025. All previous submissions must be re-sent using the prescribed formats to ensure proper review. Send comments to info@transport.go.ke, copy to comments@ntsa.go.ke.Read Full StoryJun 11, 2025e-Agent Account Creation on the eCitizen PlatformThe e-Agent account feature on eCitizen enables streamlined bulk payments for institutions and agencies.Read Full StoryJun 10, 2025Application for various NTSA services by National and County Government entitiesDedicated help desks are available at NTSA HQ, regional offices, and Huduma CentresRead Full StoryJun 02, 2025Government Agencies, Ministries and State Departments Directed to Apply for Reflective Plates via NTSA PortalIn line with a government directive, all MDAs are required to apply for reflective plates through the NTSA portal. The application deadline is set for Friday, August 29, 2025.Read Full StoryMay 16, 2025NTSA Warns Public About Social Media ScamsNTSA Alerts Public on Social Media Scams :
+Beware of fraudsters impersonating NTSA on platforms like TikTok to solicit money and personal details.Read Full StoryMay 15, 20258th UN Global Road Safety Week Concludes with Nationwide ActivitiesNTSA wraps up a successful week of road safety awareness, engaging partners and communities across Kenya to promote the protection of vulnerable road users.Read Full StoryMay 13, 2025NTSA and Vihiga County Partner to Promote Road Safety During UN Global Road Safety Week 2025NTSA and Vihiga County Government #CTSC sensitized pedestrians, boda boda riders, and drivers in Mbale town as part of #UNGRSW2025.Read Full StoryDec 22, 2024NTSA Launches New Road Safety CampaignNTSA launches a comprehensive six-month road safety campaign to reduce accidents and promote safer driving practices.Read Full StoryMay 24, 2023NTSA Partners with County GovernmentsNTSA forms strategic partnerships with county governments to enhance road safety and transport management.Read Full StoryDec 28, 2020New Digital Licensing System Goes LiveNTSA introduces a new digital licensing system to streamline services and improve efficiency.Read Full StoryOct 13, 2025Kenya Recognized for Technological Advancement and Public Service Excellence at APSCA AwardsKenyaβs innovation in public service has earned continental acclaim at the APSCA Awards, with NTSA recognized for leading the nationβs digital transformation journey toward smarter, paperless governance.Read Full StorySep 01, 2025LIST OF APPROVED MOTOR VEHICLE BODY BUILDERS, CONFORMITY ASSESSORS AND SPEED LIMITERS SUPPLIERS IN KENYALIST OF APPROVED MOTOR VEHICLE BODY BUILDERS, CONFORMITY ASSESSORS AND SPEED LIMITERS SUPPLIERS IN KENYARead Full StoryAug 20, 2025Operation Watoto Wafike Salama β Free Motor Vehicle Inspection ClinicsNTSA is offering free motor vehicle inspection clinics for all school transport vehicles across its centres. The initiative aims to enhance the safety of children as schools reopen.Read Full StoryRoad SafetyDrive Safe, Arrive SafeAlways Wear Your SeatbeltSeatbelts reduce the risk of fatal injury by 45%. Buckle up every time.Learn MoreLearn More About Road Safety
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Keep_our_roads_safe_f13d765c.md b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Keep_our_roads_safe_f13d765c.md
new file mode 100644
index 0000000..2d82526
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Keep_our_roads_safe_f13d765c.md
@@ -0,0 +1,10 @@
+# NTSA | Keep our roads safe
+
+**URL:** https://ntsa.go.ke
+**Scraped:** 2025-10-24T07:23:28.981272
+**Content Length:** 6068 characters
+
+---
+
+Inter-Agency Road Safety ConferenceInter-Agency Road Safety Conference graced by CS Ministry of Roads and Transport Davis ChirchirAccess ServicesWe care about keeping you safe on the roadsThe National Transport and Safety Authority continually improves accessibility and safety of Kenya's road transport system for all.Access ServicesTUVUKE SALAMA - Safe Crossings, Safer ChildrenTogether with our partners, we are championing for safer school crossing zones to save our children on the roads.Access ServicesQuick SearchFind a ServiceUse the quick search to find information or services instantly.SearchWelcome to The New and Improved NTSA Online ServicesAccess all NTSA services through your eCitizen accountβeverything you need in one place with one account. All the TIMS services and many more are available in our new and simple-to-use platform.Access ServicesLearn MoreLive Portal30+ ServicesOnline ServicesDiscover All NTSA Online ServicesWith over 30 services available online, explore what you can do on the new online portal.IndividualsLicenses & permitsVehiclesRegistration & transferService ProvidersOperators & dealersOrganizationsFleet managementOther NTSA ServicesQuick access to specialized servicesView AllUncollected Smart DL & PlatesSpeed Limiter ApplicationDealer & Garage LicenseConformity AssessorTransport Network CompanyNews & UpdatesLatest News & UpdatesStay informed with the latest announcements, initiatives, and updates from NTSAView All NewsOct 13, 2025Kenya Recognized for Technological Advancement and Public Service Excellence at APSCA AwardsKenyaβs innovation in public service has earned continental acclaim at the APSCA Awards, with NTSA recognized for leading the nationβs digital transformation journey toward smarter, paperless governance.Read Full StorySep 01, 2025LIST OF APPROVED MOTOR VEHICLE BODY BUILDERS, CONFORMITY ASSESSORS AND SPEED LIMITERS SUPPLIERS IN KENYALIST OF APPROVED MOTOR VEHICLE BODY BUILDERS, CONFORMITY ASSESSORS AND SPEED LIMITERS SUPPLIERS IN KENYARead Full StoryAug 20, 2025Operation Watoto Wafike Salama β Free Motor Vehicle Inspection ClinicsNTSA is offering free motor vehicle inspection clinics for all school transport vehicles across its centres. The initiative aims to enhance the safety of children as schools reopen.Read Full StoryAug 15, 2025IMPORTANT PUBLIC NOTICE: ROAD SAFETY AS SCHOOLS REOPENSafe, reliable school transport is mandatory as the new school term begins.Read Full StoryJul 29, 2025IMPORTANT PUBLIC NOTICE FOR MOTOR VEHICLE / MOTORCYCLE OWNERSThe National Transport and Safety Authority has operationalized the Duty Update Module/Vehicle Records Update Tool to support all motor vehicle and motorcycle owners.Read Full StoryJul 07, 2025PUBLIC NOTICE: EXTENSION OF COMMENTS AND PROPOSALS SUBMISSION DATE ON DRAFT TRAFFIC AND TRANSPORT REGULATIONS, 2025The deadline for submission of comments on the proposed 2025 Traffic & Transport Regulations has been extended to Tuesday, 22nd July 2025. All previous submissions must be re-sent using the prescribed formats to ensure proper review. Send comments to info@transport.go.ke, copy to comments@ntsa.go.ke.Read Full StoryJun 11, 2025e-Agent Account Creation on the eCitizen PlatformThe e-Agent account feature on eCitizen enables streamlined bulk payments for institutions and agencies.Read Full StoryJun 10, 2025Application for various NTSA services by National and County Government entitiesDedicated help desks are available at NTSA HQ, regional offices, and Huduma CentresRead Full StoryJun 02, 2025Government Agencies, Ministries and State Departments Directed to Apply for Reflective Plates via NTSA PortalIn line with a government directive, all MDAs are required to apply for reflective plates through the NTSA portal. The application deadline is set for Friday, August 29, 2025.Read Full StoryMay 16, 2025NTSA Warns Public About Social Media ScamsNTSA Alerts Public on Social Media Scams :
+Beware of fraudsters impersonating NTSA on platforms like TikTok to solicit money and personal details.Read Full StoryMay 15, 20258th UN Global Road Safety Week Concludes with Nationwide ActivitiesNTSA wraps up a successful week of road safety awareness, engaging partners and communities across Kenya to promote the protection of vulnerable road users.Read Full StoryMay 13, 2025NTSA and Vihiga County Partner to Promote Road Safety During UN Global Road Safety Week 2025NTSA and Vihiga County Government #CTSC sensitized pedestrians, boda boda riders, and drivers in Mbale town as part of #UNGRSW2025.Read Full StoryDec 22, 2024NTSA Launches New Road Safety CampaignNTSA launches a comprehensive six-month road safety campaign to reduce accidents and promote safer driving practices.Read Full StoryMay 24, 2023NTSA Partners with County GovernmentsNTSA forms strategic partnerships with county governments to enhance road safety and transport management.Read Full StoryDec 28, 2020New Digital Licensing System Goes LiveNTSA introduces a new digital licensing system to streamline services and improve efficiency.Read Full StoryOct 13, 2025Kenya Recognized for Technological Advancement and Public Service Excellence at APSCA AwardsKenyaβs innovation in public service has earned continental acclaim at the APSCA Awards, with NTSA recognized for leading the nationβs digital transformation journey toward smarter, paperless governance.Read Full StorySep 01, 2025LIST OF APPROVED MOTOR VEHICLE BODY BUILDERS, CONFORMITY ASSESSORS AND SPEED LIMITERS SUPPLIERS IN KENYALIST OF APPROVED MOTOR VEHICLE BODY BUILDERS, CONFORMITY ASSESSORS AND SPEED LIMITERS SUPPLIERS IN KENYARead Full StoryAug 20, 2025Operation Watoto Wafike Salama β Free Motor Vehicle Inspection ClinicsNTSA is offering free motor vehicle inspection clinics for all school transport vehicles across its centres. The initiative aims to enhance the safety of children as schools reopen.Read Full StoryRoad SafetyDrive Safe, Arrive SafeAlways Wear Your SeatbeltSeatbelts reduce the risk of fatal injury by 45%. Buckle up every time.Learn MoreLearn More About Road Safety
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__NTSA_Services_7a9ee5d0.md b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__NTSA_Services_7a9ee5d0.md
new file mode 100644
index 0000000..4b4bcd6
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__NTSA_Services_7a9ee5d0.md
@@ -0,0 +1,9 @@
+# NTSA | NTSA Services
+
+**URL:** https://ntsa.go.ke/services
+**Scraped:** 2025-10-24T07:23:38.582012
+**Content Length:** 1994 characters
+
+---
+
+NTSA ServicesAccess all NTSA services through your eCitizen accountβeverything you need in one place with one account.Access Services PortalIndividuals ServicesManage your vehicle-related permits, licenses, and personal details with ease through your NTSA individual service account. This portal allows you to handle all aspects of vehicle ownership, including adding an organization or business to your profile.View Services Vehicles ServicesAdminister and update vehicle records, including inspections, permits, and modifications, via the NTSA portal. The platform ensures that all vehicle-related data is accurately maintained in accordance with regulatory standards.View Services Organisations ServicesEfficiently manage your fleet and driver operations through the NTSA portal, designed for seamless organizational oversight. This service facilitates the streamlined management of vehicles, ensuring compliance with national transport regulations.View Services Service Providers ServicesRegister and comply with NTSA's regulatory requirements through the NTSA Service Providers portal. This platform supports the registration of operators, SACCOs, and dealerships, ensuring alignment with national transport standards.View Services NTSA Service PortalOur new service portal provides a streamlined experience for all your NTSA service needs. Access vehicle registration, driver licensing, and more through your eCitizen account.βSimplified user interface for easy navigationβSecure payment processingβReal-time application status updatesβIntegrated with eCitizen for seamless experienceVisit Service PortalHow It Works01Create AccountSign up or log in to your eCitizen account to access NTSA services.02Select ServiceChoose from our range of services based on your needs.03Complete ProcessFollow the guided process, make payment, and track your application.Ready to Get Started?Access all NTSA services through our integrated service portal. Fast, secure, and convenient.Access Services Now
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Privacy_Policy__NTSA_68960874.md b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Privacy_Policy__NTSA_68960874.md
new file mode 100644
index 0000000..8b62370
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Privacy_Policy__NTSA_68960874.md
@@ -0,0 +1,9 @@
+# NTSA | Privacy Policy | NTSA
+
+**URL:** https://ntsa.go.ke/privacy-policy
+**Scraped:** 2025-10-24T07:24:33.755242
+**Content Length:** 1130 characters
+
+---
+
+NTSA Privacy PolicyLast Updated: April 9, 20251.0 IntroductionThe National Transport and Safety Authority (NTSA) operates in a highly data-oriented environment which requires the processing and use of personal data in order to fulfil its core mandate of disseminating information to the public. NTSA is committed to high standards of privacy and security of your personal data as required under the Data Protection Act, 2019 and the regulations thereto.This Privacy Statement explains the personal data we collect, how we process it and for what purpose. It also describes how NTSA handles your data when you use any of our services and the controls NTSA has established to safeguard your data. The Privacy Statement applies to our visitors who either physically visit our premises or our website, users of any of Our Products and services, suppliers, agents, customers and all our stakeholders.2.0 Definition of terms3.0 Collection of Information4.0 Use of information5.0 Retention of Data6.0 Disclosure of Information7.0 Social media features and widgets8.0 Safeguarding and protection of your personal data9.0 How to Contact Us
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Vehicles_Services_57ba53a1.md b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Vehicles_Services_57ba53a1.md
new file mode 100644
index 0000000..42d5c8f
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/services/ntsa_NTSA__Vehicles_Services_57ba53a1.md
@@ -0,0 +1,9 @@
+# NTSA | Vehicles Services
+
+**URL:** https://ntsa.go.ke/services/vehicles-services
+**Scraped:** 2025-10-24T07:24:23.702092
+**Content Length:** 814 characters
+
+---
+
+Vehicles ServicesAdminister and update vehicle records, including inspections, permits, and modifications, via the NTSA portal. The platform ensures that all vehicle-related data is accurately maintained in accordance with regulatory standards.Available ServicesMotor Vehicle InspectionsThe Authority conducts inspection services to all Public Service Vehicles (PSV) and Commercial vehicles.How to Apply Motor Vehicle RegistrationThe authority registers vehicles and asigns number plates to the vehiclesHow to Apply Apply for Short Term RSLThe issuing of short-term Road Service License is meant to facilitate Public Service Vehicles to operate a route outside their licensed route for a specified short period of time not exceeding three (3) days. This application is done by the authorized personnel.How to Apply
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/tenders/ntsa_NTSA__Tenders_73ac6e93.md b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/tenders/ntsa_NTSA__Tenders_73ac6e93.md
new file mode 100644
index 0000000..0bbd54b
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/ntsa_comprehensive_knowledge_base/tenders/ntsa_NTSA__Tenders_73ac6e93.md
@@ -0,0 +1,9 @@
+# NTSA | Tenders
+
+**URL:** https://ntsa.go.ke/tenders
+**Scraped:** 2025-10-24T07:23:53.707639
+**Content Length:** 354 characters
+
+---
+
+Current TendersBrowse through our latest tenders and find opportunities to work with us.We regularly update this section with new tenders.NTSA/REG-018/2023-2024Reserved for: openREGISTRATION OF PROSPECTIVE SUPPLIERS FOR THE SUPPLY AND DELIVERY OF GOODS, WORKS, SERVICES, AND CONSULTANCIES FOR A PERIOD OF TWO YEARSClosing: 31 Jan 2027 at 05:00 pmDownload
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/requirements.txt b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/requirements.txt
new file mode 100644
index 0000000..dc96d79
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/requirements.txt
@@ -0,0 +1,14 @@
+# Core dependencies
+requests>=2.25.0
+beautifulsoup4>=4.9.0
+selenium>=4.0.0
+webdriver-manager>=3.8.0
+
+# Jupyter notebook
+jupyter>=1.0.0
+ipykernel>=6.0.0
+
+# Optional: For advanced features
+# langchain>=0.1.0
+# chromadb>=0.4.0
+# openai>=1.0.0
\ No newline at end of file
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/simple_scraper.py b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/simple_scraper.py
new file mode 100644
index 0000000..0fb06e3
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/simple_scraper.py
@@ -0,0 +1,116 @@
+#!/usr/bin/env python3
+"""
+Simple NTSA Web Scraper with Selenium
+A minimal scraper that handles JavaScript-rendered content
+"""
+
+import time
+import json
+from pathlib import Path
+from datetime import datetime
+from selenium import webdriver
+from selenium.webdriver.chrome.service import Service
+from selenium.webdriver.chrome.options import Options
+from selenium.webdriver.common.by import By
+from selenium.webdriver.support.ui import WebDriverWait
+from selenium.webdriver.support import expected_conditions as EC
+from webdriver_manager.chrome import ChromeDriverManager
+from bs4 import BeautifulSoup
+
+
+def scrape_ntsa_page(url: str) -> dict:
+ """Scrape a single NTSA page using Selenium"""
+ driver = None
+ try:
+ # Setup Chrome driver
+ chrome_options = Options()
+ chrome_options.add_argument("--headless")
+ chrome_options.add_argument("--no-sandbox")
+ chrome_options.add_argument("--disable-dev-shm-usage")
+ chrome_options.add_argument("--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36")
+
+ service = Service(ChromeDriverManager().install())
+ driver = webdriver.Chrome(service=service, options=chrome_options)
+
+ # Load page
+ driver.get(url)
+ time.sleep(3) # Wait for JavaScript to load
+
+ # Wait for content
+ WebDriverWait(driver, 10).until(
+ EC.presence_of_element_located((By.TAG_NAME, "body"))
+ )
+
+ # Get page source and parse
+ page_source = driver.page_source
+ soup = BeautifulSoup(page_source, 'html.parser')
+
+ # Extract title
+ title = soup.find('title')
+ title_text = title.get_text().strip() if title else "NTSA Page"
+
+ # Extract main content
+ content = soup.get_text().strip()
+
+ return {
+ 'url': url,
+ 'title': title_text,
+ 'content': content,
+ 'timestamp': datetime.now().isoformat()
+ }
+ except Exception as e:
+ print(f"Error scraping {url}: {e}")
+ return None
+ finally:
+ if driver:
+ driver.quit()
+
+
+def main():
+ """Main scraping function"""
+ print("π·οΈ Simple NTSA Scraper")
+
+ # Sample URLs to scrape
+ urls = [
+ "https://ntsa.go.ke",
+ "https://ntsa.go.ke/about",
+ "https://ntsa.go.ke/services"
+ ]
+
+ results = []
+ output_dir = Path("sample_ntsa_data")
+ output_dir.mkdir(exist_ok=True)
+
+ for url in urls:
+ print(f"Scraping: {url}")
+ data = scrape_ntsa_page(url)
+ if data:
+ results.append(data)
+
+ # Save to file
+ safe_title = "".join(c for c in data['title'] if c.isalnum() or c in (' ', '-', '_')).strip()
+ safe_title = safe_title.replace(' ', '_')[:30]
+ filename = f"ntsa_{safe_title}.md"
+ filepath = output_dir / filename
+
+ with open(filepath, 'w', encoding='utf-8') as f:
+ f.write(f"# {data['title']}\n\n")
+ f.write(f"**URL:** {data['url']}\n")
+ f.write(f"**Scraped:** {data['timestamp']}\n\n")
+ f.write(data['content'][:1000] + "...")
+
+ # Save metadata
+ metadata = {
+ 'scraping_date': datetime.now().isoformat(),
+ 'total_pages': len(results),
+ 'pages': results
+ }
+
+ with open(output_dir / 'metadata.json', 'w') as f:
+ json.dump(metadata, f, indent=2)
+
+ print(f"β Scraped {len(results)} pages to {output_dir}")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/week5/community-contributions/NTSA_knowledge_base_and_chatbot/working_chatbot.py b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/working_chatbot.py
new file mode 100644
index 0000000..c5139f0
--- /dev/null
+++ b/week5/community-contributions/NTSA_knowledge_base_and_chatbot/working_chatbot.py
@@ -0,0 +1,166 @@
+#!/usr/bin/env python3
+"""
+Working NTSA Chatbot - Self-contained version
+No external dependencies that cause numpy issues
+"""
+
+import os
+import json
+from pathlib import Path
+from dotenv import load_dotenv
+from typing import List, Dict, Any, Optional
+
+# Load environment variables
+load_dotenv()
+
+class WorkingChatbot:
+ """Simple working chatbot that uses the knowledge base directly"""
+
+ def __init__(self, knowledge_base_dir: str = "ntsa_comprehensive_knowledge_base"):
+ self.knowledge_base_dir = Path(knowledge_base_dir)
+ self.documents = []
+ self.conversation_history = []
+
+ def load_documents(self):
+ """Load documents from the knowledge base"""
+ print("π Loading documents from knowledge base...")
+
+ if not self.knowledge_base_dir.exists():
+ print(f"β Knowledge base directory not found: {self.knowledge_base_dir}")
+ return []
+
+ documents = []
+ for md_file in self.knowledge_base_dir.rglob("*.md"):
+ try:
+ with open(md_file, 'r', encoding='utf-8') as f:
+ content = f.read()
+ documents.append({
+ 'file': str(md_file),
+ 'content': content,
+ 'title': md_file.stem
+ })
+ except Exception as e:
+ print(f"β οΈ Error reading {md_file}: {e}")
+
+ self.documents = documents
+ print(f"β Loaded {len(documents)} documents")
+ return documents
+
+ def search_documents(self, query: str, max_results: int = 3) -> List[Dict]:
+ """Simple keyword-based search"""
+ if not self.documents:
+ return []
+
+ query_lower = query.lower()
+ results = []
+
+ for doc in self.documents:
+ content_lower = doc['content'].lower()
+ # Simple keyword matching
+ score = 0
+ for word in query_lower.split():
+ if word in content_lower:
+ score += content_lower.count(word)
+
+ if score > 0:
+ results.append({
+ 'document': doc,
+ 'score': score,
+ 'title': doc['title']
+ })
+
+ # Sort by score and return top results
+ results.sort(key=lambda x: x['score'], reverse=True)
+ return results[:max_results]
+
+ def generate_response(self, query: str) -> str:
+ """Generate a response based on the knowledge base"""
+ # Search for relevant documents
+ search_results = self.search_documents(query)
+
+ if not search_results:
+ return "I don't have specific information about that topic in my knowledge base. Please try asking about NTSA services, driving licenses, vehicle registration, or road safety."
+
+ # Build response from search results
+ response_parts = []
+
+ for i, result in enumerate(search_results[:2], 1):
+ doc = result['document']
+ content = doc['content']
+
+ # Extract relevant sections (first 500 characters)
+ relevant_content = content[:500] + "..." if len(content) > 500 else content
+
+ response_parts.append(f"Based on NTSA information:\n{relevant_content}")
+
+ # Add a helpful note
+ response_parts.append("\nFor more specific information, please visit the NTSA website or contact them directly.")
+
+ return "\n\n".join(response_parts)
+
+ def chat(self, message: str) -> str:
+ """Main chat function"""
+ if not message.strip():
+ return "Please ask me a question about NTSA services!"
+
+ # Add to conversation history
+ self.conversation_history.append({"user": message, "bot": ""})
+
+ # Generate response
+ response = self.generate_response(message)
+
+ # Update conversation history
+ self.conversation_history[-1]["bot"] = response
+
+ return response
+
+ def reset_conversation(self):
+ """Reset conversation history"""
+ self.conversation_history = []
+ print("β Conversation history cleared")
+
+def main():
+ """Main function to run the chatbot"""
+ print("π€ NTSA AI Assistant - Working Version")
+ print("=" * 60)
+
+ # Initialize chatbot
+ chatbot = WorkingChatbot()
+
+ # Load documents
+ documents = chatbot.load_documents()
+
+ if not documents:
+ print("β No documents found. Please make sure the knowledge base exists.")
+ return
+
+ print("\nβ Chatbot ready! Ask me anything about NTSA services!")
+ print("Type 'quit' to exit, 'clear' to reset conversation")
+ print("=" * 60)
+
+ while True:
+ try:
+ user_input = input("\nπ€ You: ").strip()
+
+ if user_input.lower() in ['quit', 'exit', 'bye', 'q']:
+ print("π Goodbye! Thanks for using NTSA AI Assistant!")
+ break
+ elif user_input.lower() == 'clear':
+ chatbot.reset_conversation()
+ continue
+ elif not user_input:
+ print("Please enter a question.")
+ continue
+
+ print("π€ Assistant: ", end="")
+ response = chatbot.chat(user_input)
+ print(response)
+
+ except KeyboardInterrupt:
+ print("\nπ Goodbye!")
+ break
+ except Exception as e:
+ print(f"β Error: {e}")
+
+if __name__ == "__main__":
+ main()