{"id":21057660,"url":"https://github.com/senzmaki/kenyare","last_synced_at":"2026-04-20T13:34:21.319Z","repository":{"id":258172445,"uuid":"863509523","full_name":"SenZmaKi/Kenyare","owner":"SenZmaKi","description":"KBS AI bot that automates Kenyare's PI facultative underwriting","archived":false,"fork":false,"pushed_at":"2025-05-24T04:56:25.000Z","size":17705,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T08:47:37.442Z","etag":null,"topics":["ai","automate","kbs","python","svelte","webapp"],"latest_commit_sha":null,"homepage":"","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SenZmaKi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-26T12:21:40.000Z","updated_at":"2025-05-24T04:56:28.000Z","dependencies_parsed_at":"2025-07-06T13:40:33.004Z","dependency_job_id":"d8d3ad7c-84e5-4ed9-8c5a-36ef7888c663","html_url":"https://github.com/SenZmaKi/Kenyare","commit_stats":null,"previous_names":["senzmaki/kenyare"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SenZmaKi/Kenyare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenZmaKi%2FKenyare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenZmaKi%2FKenyare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenZmaKi%2FKenyare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenZmaKi%2FKenyare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SenZmaKi","download_url":"https://codeload.github.com/SenZmaKi/Kenyare/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SenZmaKi%2FKenyare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32049010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","automate","kbs","python","svelte","webapp"],"created_at":"2024-11-19T17:03:38.793Z","updated_at":"2026-04-20T13:34:21.298Z","avatar_url":"https://github.com/SenZmaKi.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Table of Contents\n\n- [Table of Contents](#table-of-contents)\n- [Introduction](#introduction)\n- [Video demo](#video-demo)\n- [Problem Description](#problem-description)\n- [Proposed solution](#proposed-solution)\n- [System diagram](#system-diagram)\n- [Installation](#installation)\n- [Environment Variables](#environment-variables)\n\n# Introduction\n- **Winner💫** of the First Kenyare AI4I Hackathon\n- KBS AI bot that automates Kenyare's PI facultative underwriting\n\n# Video demo\n\nhttps://github.com/user-attachments/assets/f03b57d6-a5b2-4c38-9d59-d19778864a8f\n\n# Problem Description\n\nThe current process of handling Professional Indemnity Insurance (PII) quotation requests is largely manual, involving the analysis of proposal forms and associated documents. This approach is time-consuming and labor-intensive, resulting in significant delays in the submission of quotes to our business partners. Presently, we rely on an Excel template for data entry and quote generation, which not only increases the likelihood of errors but also hampers efficiency and responsiveness.\n\nAs the insurance industry evolves and the demand for timely and accurate quotes grows, our manual processes are becoming a bottleneck. The inability to quickly analyze and process requests undermines our operational effectiveness and customer satisfaction. To maintain our competitive edge and ensure optimal service delivery, there is an urgent need to automate the reinsurance underwriting quotation process. This transition aims to enhance efficiency, accuracy, and overall value for our business partners, ultimately driving better outcomes for all stakeholders involved.\n\n# Proposed solution\n\nThe proposed solution is an AI-powered bot designed to automate the processing of Professional Indemnity Insurance (PII) quotation requests. This bot will autonomously handle the majority of the process, minimizing the need for manual input and significantly reducing time delays.\n\n# System diagram\n\n![System schema](https://github.com/SenZmaKi/Kenyare/blob/master/docs/schema.png)\n\n\n# Installation\n\n- Clone the repository using [Git](https://github.com/git-guides/install-git)\n\n  ```bash\n  git clone https://github.com/SenZmaKi/Kenyare.git\n  cd Kenyare\n  ```\n\n- Install Poppler 24.08.0 or higher and add it to PATH\n\n  - Linux/Mac\n\n    - Install Poppler using your package manager\n\n  - Windows\n    - Download Poppler from [this link](https://github.com/oschwartz10612/poppler-windows/releases/download/v24.08.0-0/Release-24.08.0-0.zip)\n    - Extract the downloaded file\n    - Add the bin folder `Release-24.08.0-0\\poppler-24.08.0\\Library\\bin\\` to PATH\n\n- Install [Python 3.12.4](https://www.python.org/downloads/release/python-3124/) or higher then run\n\n  - Create virtual environment\n    ```bash\n    python -m venv .venv\n    ```\n  - Activate virtual environment\n\n    - Linux/Mac\n      ```bash\n      source .venv/bin/activate\n      ```\n    - Windows\n\n      ```bash\n      .venv\\Scripts\\activate\n      ```\n\n  - Install dependencies\n    ```bash\n    pip install -r kenyare/requirements.txt\n    ```\n  - Run the backend api server\n\n    ```bash\n    python -m kenyare.server\n    ```\n\n    By default the server will run on port `5000`. You can change the port by setting the `FLASK_PORT` environment variable.\n    By default the server will run on host `127.0.0.1`. You can change the host by setting the `FLASK_HOST` environment variable.\n\n- Install [Node.js 22.9.0](https://nodejs.org/en/download/package-manager) or higher then run\n\n  - Install dependencies\n\n    ```bash\n    npm install\n    ```\n\n  - Run the frontend server\n\n    - Development\n\n      ```bash\n      npm run dev\n      ```\n\n      Navigate to [localhost:5173](http://127.0.0.1:5173) on your browser. You can change the port and host by setting the `VITE_DEV_PORT` and `VITE_DEV_HOST` environment variables.\n\n    - Production\n\n      ```bash\n      npm run build\n      npm run preview\n      ```\n\n      Navigate to [localhost:4173](http://127.0.0.1:4173) on your browser. You can change the port and host by setting the `VITE_PROD_PORT` and `VITE_PROD_PORT` environment variables.\n\n    By default the frontend server will make backend api requests to [localhost:5000](http://127.0.0.1:5000) set the `FLASK_PORT` and `FLASK_HOST` environment variables to change the port and host.\n\n# Environment Variables\n\n- Create a `.env` in the root project directory. The environment variables will be automatically loaded.\n\n```\nOPENAI_API_KEY=sk-proj-xxxxxxxxxxxxxxxxx # Required\nFLASK_PORT=5000\nFLASK_HOST=127.0.0.1\nFLASK_DEBUG=1 # Set to 0 to disable flask debug mode\nVITE_DEV_HOST=127.0.0.1\nVITE_DEV_PORT=5173\nVITE_PROD_HOST=127.0.0.1\nVITE_PROD_PORT=4173\nCLEAR_UPLOADS_DIR=0 # Set to 1 to clear upload directory on first quotation input run\nCLEAR_QUOTATATIONS_DIR=0 # Set to 1 to clear quotations directory on backend server start\nDELETE_UPLOADS=0 # Set to 1 to delete uploaded files after extracting quotation input\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenzmaki%2Fkenyare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenzmaki%2Fkenyare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenzmaki%2Fkenyare/lists"}