{"id":30637685,"url":"https://github.com/objectgyan/insurance-rag","last_synced_at":"2025-08-30T23:07:30.906Z","repository":{"id":273571590,"uuid":"920156540","full_name":"objectgyan/insurance-rag","owner":"objectgyan","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-21T17:19:36.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T18:25:17.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/objectgyan.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-21T16:57:23.000Z","updated_at":"2025-01-21T17:19:39.000Z","dependencies_parsed_at":"2025-01-21T18:25:20.019Z","dependency_job_id":"7f91df2e-3873-44aa-9c64-cfa4f3aa3eb2","html_url":"https://github.com/objectgyan/insurance-rag","commit_stats":null,"previous_names":["objectgyan/insurance-rag"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/objectgyan/insurance-rag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectgyan%2Finsurance-rag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectgyan%2Finsurance-rag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectgyan%2Finsurance-rag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectgyan%2Finsurance-rag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/objectgyan","download_url":"https://codeload.github.com/objectgyan/insurance-rag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/objectgyan%2Finsurance-rag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272917735,"owners_count":25014935,"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-08-30T02:00:09.474Z","response_time":77,"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":[],"created_at":"2025-08-30T23:07:30.382Z","updated_at":"2025-08-30T23:07:30.897Z","avatar_url":"https://github.com/objectgyan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Insurance Policy RAG Assistant\n\nA Python-based AI-powered assistant that uses RAG (Retrieval-Augmented Generation) to answer questions about insurance policies.\n\n## Features\n\n- Processes insurance policy documents (health and auto)\n- Uses ChromaDB for vector storage and semantic search\n- Leverages the OPT-350M language model for response generation\n- Supports both health and auto insurance policy queries\n- Includes document caching and GPU acceleration\n\n## Installation\n\n1. **Clone the repository**\n    ```sh\n    git clone \u003crepository-url\u003e\n    ```\n\n2. **Create and activate virtual environment**\n    - **Linux/Mac**\n        ```sh\n        python -m venv venv\n        source venv/bin/activate\n        ```\n    - **Windows**\n        ```sh\n        python -m venv venv\n        venv\\Scripts\\activate\n        ```\n\n3. **Install dependencies**\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n## Project Structure\n\n- **agent**: Core agent components\n- **examples**: Sample documents and usage examples\n- **config**: Configuration files\n- **data**: Vector store data\n- **cache**: Model and response caching\n\n## Usage\n\n1. **Process sample documents**\n    ```sh\n    python setup_documents.py\n    ```\n\n2. **Run interactive test session**\n    ```sh\n    python test_interactive.py\n    ```\n\n## Configuration\n\nEdit `config.yaml` to modify:\n- LLM settings (model, temperature, etc.)\n- Vector store configuration\n- Document processing parameters\n\n## Sample Questions\n\n### Health Insurance\n- What is my primary care copay?\n- What's my prescription drug coverage?\n- How do I access virtual care?\n\n### Auto Insurance\n- What is my collision deductible?\n- What are my liability limits?\n- How do I file a claim?\n\n## Dependencies\n\n- torch==2.5.1\n- transformers==4.36.2\n- sentence-transformers==2.2.2\n- chromadb==0.4.22\n- huggingface-hub==0.19.4\n- loguru==0.7.2\n- pyyaml==6.0.1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjectgyan%2Finsurance-rag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobjectgyan%2Finsurance-rag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobjectgyan%2Finsurance-rag/lists"}