{"id":24154863,"url":"https://github.com/rohanchanana2/context-aware-religious-chatbot","last_synced_at":"2025-10-13T03:06:14.588Z","repository":{"id":271820442,"uuid":"914663587","full_name":"rohanchanana2/context-aware-religious-chatbot","owner":"rohanchanana2","description":"A Streamlit chatbot using RAG for context-aware responses from the Bhagavad Gita and Patanjali Yog Sutras.","archived":false,"fork":false,"pushed_at":"2025-01-18T11:25:16.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T01:58:05.509Z","etag":null,"topics":["faiss","langchain","python","rag","streamlit"],"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/rohanchanana2.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}},"created_at":"2025-01-10T03:47:06.000Z","updated_at":"2025-01-18T11:25:18.000Z","dependencies_parsed_at":"2025-01-10T22:27:52.829Z","dependency_job_id":"715c8cad-f1a8-402d-b2cc-06bdc2b58068","html_url":"https://github.com/rohanchanana2/context-aware-religious-chatbot","commit_stats":null,"previous_names":["rohanchanana2/contextawarereligiouschatbot","rohanchanana2/context-aware-religious-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rohanchanana2/context-aware-religious-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanchanana2%2Fcontext-aware-religious-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanchanana2%2Fcontext-aware-religious-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanchanana2%2Fcontext-aware-religious-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanchanana2%2Fcontext-aware-religious-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohanchanana2","download_url":"https://codeload.github.com/rohanchanana2/context-aware-religious-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohanchanana2%2Fcontext-aware-religious-chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014166,"owners_count":26085369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":["faiss","langchain","python","rag","streamlit"],"created_at":"2025-01-12T12:26:16.826Z","updated_at":"2025-10-13T03:06:14.558Z","avatar_url":"https://github.com/rohanchanana2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📖 Context Aware Religious Chatbot\n\nA Streamlit-based application that answers queries using the sacred texts of the **Bhagavad Gita** and **Patanjali Yog Sutras**. This chatbot combines advanced AI with hybrid retrieval techniques to deliver precise answers and relevant verses.\n\n## 🌟 Features\n\n- **AI-Powered Answers**: Generates contextual responses to your queries.\n- **Verse Retrieval**: Displays related verses with translations.\n- **Hybrid Search**: Combines dense (vector) and sparse (keyword) retrieval for accuracy.\n- **Sub-Query Processing**: Decomposes queries for improved understanding.\n- **Download Results**: Export answers and verses as a JSON file.\n\n## 📂 Project Structure\n\n- **`app.py`**: Main application script.\n- **`indexing_retriever.py`**: Handles document splitting and retrieval mechanisms.\n- **`decomposition.py`**: Decomposes user queries into sub-queries for better comprehension.\n- **`dataset_preprocessing.py`**: Prepares the dataset for processing and optimization.\n- **`retriever.py`**: Fetches query-related context and sub-query results.\n- **`generator.py`**: Generates answers based on the retrieved context.\n- **`final_generation.py`**: Combines answers into a final, cohesive response.\n- **`config.py`**: Configures the AI models and embeddings (API key setup instructions are in this file).\n\n## 📥 Dataset\n\nDownload the datasets:\n\n- Bhagavad Gita dataset: [Bhagwad Gita Verses](https://github.com/atmabodha/Vedanta_Datasets/blob/main/Bhagwad_Gita/Bhagwad_Gita_Verses_English_Questions.csv)\n- Patanjali Yog Sutras dataset: [Patanjali Yoga Sutras Verses](https://github.com/atmabodha/Vedanta_Datasets/blob/main/Patanjali_Yoga_Sutras/Patanjali_Yoga_Sutras_Verses_English_Questions.csv)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohanchanana2%2Fcontext-aware-religious-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohanchanana2%2Fcontext-aware-religious-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohanchanana2%2Fcontext-aware-religious-chatbot/lists"}