{"id":30300275,"url":"https://github.com/azkasahar/ai-powered-hr-chatbot","last_synced_at":"2026-02-09T07:04:50.701Z","repository":{"id":308303477,"uuid":"1032327876","full_name":"AzkaSahar/AI-Powered-HR-Chatbot","owner":"AzkaSahar","description":"An interactive chatbot that answers HR policy questions using FAISS vector search and GPT-4o via GitHub-provided OpenAI token.","archived":false,"fork":false,"pushed_at":"2025-08-05T07:02:42.000Z","size":3131,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-17T04:21:32.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/AzkaSahar.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":"2025-08-05T06:38:12.000Z","updated_at":"2025-08-16T06:37:36.000Z","dependencies_parsed_at":"2025-08-05T08:55:24.347Z","dependency_job_id":null,"html_url":"https://github.com/AzkaSahar/AI-Powered-HR-Chatbot","commit_stats":null,"previous_names":["azkasahar/ai-powered-hr-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AzkaSahar/AI-Powered-HR-Chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Powered-HR-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Powered-HR-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Powered-HR-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Powered-HR-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AzkaSahar","download_url":"https://codeload.github.com/AzkaSahar/AI-Powered-HR-Chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AzkaSahar%2FAI-Powered-HR-Chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29258626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2025-08-17T04:12:48.707Z","updated_at":"2026-02-09T07:04:50.687Z","avatar_url":"https://github.com/AzkaSahar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 HR Chatbot with FAISS + GPT-4o\n\nAn interactive chatbot that answers HR policy questions using FAISS vector search and GPT-4o via GitHub-provided OpenAI token.\n\u003cimg width=\"606\" height=\"603\" alt=\"image\" src=\"https://github.com/user-attachments/assets/a32261ea-a135-4bbb-bf2d-9655e15c3ae3\" /\u003e\n\n\n---\n\n## 🛠 Features\n\n- 💬 Chat interface using Streamlit\n- 📁 HR documents embedded using `sentence-transformers` + FAISS\n- 🔍 Context-aware question rephrasing\n- 🤖 GPT-4o responses via GitHub Token (`https://models.github.ai/inference`)\n\n---\n\n## 📦 Installation\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/YOUR_USERNAME/hr-chatbot.git\ncd hr-chatbot\n````\n\n### 2. Install dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### 3. Create a `.env` file\n\n```env\nGITHUB_TOKEN=your_github_provided_token_here\n```\n\n---\n\n## 📁 Folder Structure\n\n```\n├── faiss_index/              # Vector store (auto-generated)\n├── hr-policies/              # Your HTML files (input)\n├── hr-chatbot.py             # Main Streamlit chatbot app\n├── hr-upload.py              # Script to build FAISS index from HTML\n├── requirements.txt\n└── README.md\n```\n\n---\n\n## 🚀 Usage\n\n### 1. Build FAISS Vector Index (run once)\n\nMake sure your `hr-policies/` folder contains all the HTML documents.\n\n```bash\npython hr-upload.py\n```\n\n### 2. Start the Chatbot UI\n\n```bash\nstreamlit run hr-chatbot.py\n```\n\nYou’ll be able to chat with the bot about HR policies in a Streamlit web UI.\n\n---\n\n## 🧠 Notes\n\n* GPT-4o is accessed via GitHub’s [models.github.ai](https://models.github.ai/inference) inference endpoint.\n* Your `GITHUB_TOKEN` must be valid and have access to that endpoint.\n* Ensure `faiss_index/` exists before running the chatbot.\n\n---\n\n## 📝 License\n\nMIT – free to use, modify, and share.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazkasahar%2Fai-powered-hr-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazkasahar%2Fai-powered-hr-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazkasahar%2Fai-powered-hr-chatbot/lists"}