{"id":30208744,"url":"https://github.com/k0msenapati/waterwise","last_synced_at":"2026-04-16T04:02:53.832Z","repository":{"id":308942829,"uuid":"1031283806","full_name":"k0msenapati/waterwise","owner":"k0msenapati","description":"💧 Smart Water Chatbot","archived":false,"fork":false,"pushed_at":"2025-08-03T12:19:20.000Z","size":22135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-13T12:15:57.438Z","etag":null,"topics":["chainlit","chroma","docling","langchain","openrouter","python","rag","uv","water"],"latest_commit_sha":null,"homepage":"","language":"Python","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/k0msenapati.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-03T12:19:08.000Z","updated_at":"2025-08-03T12:21:44.000Z","dependencies_parsed_at":"2025-08-08T21:22:41.883Z","dependency_job_id":null,"html_url":"https://github.com/k0msenapati/waterwise","commit_stats":null,"previous_names":["k0msenapati/waterwise"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/k0msenapati/waterwise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fwaterwise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fwaterwise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fwaterwise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fwaterwise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k0msenapati","download_url":"https://codeload.github.com/k0msenapati/waterwise/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0msenapati%2Fwaterwise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chainlit","chroma","docling","langchain","openrouter","python","rag","uv","water"],"created_at":"2025-08-13T18:02:12.117Z","updated_at":"2026-04-16T04:02:53.820Z","avatar_url":"https://github.com/k0msenapati.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💧 WaterWise\n\n**WaterWise** is an AI-powered chatbot dedicated to educating communities about **water conservation techniques** and **best practices for maintaining clean water**.  \n\nIt answers questions about water-saving methods, provides practical tips for reducing usage, and raises awareness about the importance of sanitation and sustainable water management.\n\n---\n\n## 📚 Knowledge Base Sources\n\n### 📄 PDFs\n- [Water Conservation Strategies and Solutions](https://www.researchgate.net/publication/312525328_WATER_CONSERVATION_STRATEGIES_AND_SOLUTIONS)  \n- [Water For Life – UN](https://www.un.org/esa/sustdev/publications/water_for_life.pdf)  \n- [Water Conservation Ideas](https://www.wvca.us/wvwrc/pdf/Uploads/Water%20Conservation%20Ideas.pdf)  \n\n### 🌐 Web Links\n- [A Guide to Water Conservation – The Berkey](https://theberkey.com/pages/a-guide-to-water-conservation)  \n- [Sustainable Development Goal 6 – Wikiwand](https://www.wikiwand.com/en/articles/Sustainable_Development_Goal_6)  \n- [Water – Wikiwand](https://www.wikiwand.com/en/articles/water)  \n\n---\n\n## 🛠 Technologies Used\n- [LangChain](https://python.langchain.com/docs/) – RAG pipeline \u0026 prompt engineering  \n- [OpenRouter](https://openrouter.ai/) – LLM API provider  \n- [ChromaDB](https://www.trychroma.com/) – Vector database for storing embeddings  \n- [Chainlit](https://github.com/Chainlit/chainlit) – Interactive chat interface  \n- [Python](https://www.python.org/) – Core language  \n- [uv](https://github.com/astral-sh/uv) – Python package \u0026 environment manager  \n\n---\n\n## 🚀 How to Run Locally\n\n### 1️⃣ Clone the repository\n```bash\ngit clone https://github.com/k0msenapati/waterwise.git\n```\n\n### 2️⃣ Navigate to the project folder\n\n```bash\ncd waterwise\n```\n\n### 3️⃣ Install dependencies\n\n```bash\nuv sync\n```\n\n### 4️⃣ Set environment variables\n\n```bash\nexport OPENAI_API_KEY=your_openrouter_api_key\n```\n\n💡 You can get a free API key from [OpenRouter](https://openrouter.ai/).\n\n### 5️⃣ Create the Knowledge Base\n\n```bash\nuv run scripts/create_kb.py\n```\n\nThis step:\n\n* Loads PDFs \u0026 URLs from `raw_data/sources.yaml`\n* Generates embeddings using **HuggingFace**\n* Stores them in **ChromaDB**\n\n### 6️⃣ Start the Chainlit app\n\n```bash\nsource .venv/bin/activate\nchainlit run app.py -w\n```\n\nNow open the URL shown in your terminal to start chatting with **WaterWise** 💧.\n\n---\n\n## 💡 Example Questions\n\n* *\"What are some water-related problems?\"*\n* *\"How can I save water at home?\"*\n* *\"What is rainwater harvesting?\"*\n\n---\n\n💧 **Water is life — Let’s save it together.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0msenapati%2Fwaterwise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk0msenapati%2Fwaterwise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0msenapati%2Fwaterwise/lists"}