{"id":29551190,"url":"https://github.com/sajith4u/gazettequery","last_synced_at":"2026-05-07T13:35:20.403Z","repository":{"id":302591112,"uuid":"1011819295","full_name":"sajith4u/GazetteQuery","owner":"sajith4u","description":"RAG based application for analyzing Sri Lankan government gazette files","archived":false,"fork":false,"pushed_at":"2025-07-03T06:46:07.000Z","size":3389,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-18T06:30:26.935Z","etag":null,"topics":["gazette","openapi","rag"],"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/sajith4u.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-07-01T11:37:58.000Z","updated_at":"2025-07-03T06:46:11.000Z","dependencies_parsed_at":"2025-07-03T07:42:14.753Z","dependency_job_id":"d4d3137b-1125-4ecf-a2bf-da33246be2bb","html_url":"https://github.com/sajith4u/GazetteQuery","commit_stats":null,"previous_names":["sajith4u/gazettequery"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sajith4u/GazetteQuery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajith4u%2FGazetteQuery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajith4u%2FGazetteQuery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajith4u%2FGazetteQuery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajith4u%2FGazetteQuery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sajith4u","download_url":"https://codeload.github.com/sajith4u/GazetteQuery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sajith4u%2FGazetteQuery/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267834807,"owners_count":24151642,"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-07-30T02:00:09.044Z","response_time":70,"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":["gazette","openapi","rag"],"created_at":"2025-07-18T04:01:51.192Z","updated_at":"2026-05-07T13:35:20.312Z","avatar_url":"https://github.com/sajith4u.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Setup Instructions\n\nFollow these steps to get the project up and running on your local machine.\n\n### 1. Clone the Repository (if applicable)\n\nIf this project is hosted on a version control system (like Git), clone it to your local machine:\n\n    git clone git@github.com:sajith4u/GazetteQuery.git\n\n### 2. Create a Virtual Environment\n\nIt's highly recommended to use a virtual environment to manage project dependencies and avoid conflicts with other Python projects.\n\n    \n    python3 -m venv venv\n\n    \n\n### 3. Activate the Virtual Environment\n\nBefore installing dependencies or running the application, activate your virtual environment:\n\n* **On macOS/Linux:**\n\n    ```\n    source venv/bin/activate\n    \n    ```\n\n* **On Windows:**\n\n    ```\n    .\\venv\\Scripts\\activate\n    \n    ```\n\nYou should see `(venv)` at the beginning of your terminal prompt, indicating the environment is active.\n\n### 4. Install Dependencies\n\nWith your virtual environment activated, install all necessary packages using the `requirements.txt` file:\n\n    \n    pip3 install -r requirements.txt\n\n    \n\n## How to Run the Project\n\nOnce the setup is complete, you can run the application from your terminal:\n\n1.  **Ensure your virtual environment is active.** (See Step 3 in Setup Instructions)\n\n2.  **Run the main application script:**\n\n    ```\n    python3 main.py\n    \n    ```\n\nThe application will:\n\n* Load and index the documents from your `data` directory.\n\n* Prompt you to enter a query.\n\n* Provide answers based on the content of your gazette files, along with the source documents.\n\n* Type `exit` or `quit` to stop the application.\n\n## Screenshots\n\n### Example: Project Structure\n\n![Project directory structure](images/project_structure.png\n\"Overview of project files\")\n\n### Example: Running the Application\n\n![Terminal output of the RAG application](images/rag_demo.png \"Screenshot of the application in action\")\n\nChroma DB Demo (chroma-demo.py)\n\n![Terminal output of the RAG application](images/chroma-db-demo.png \"Screenshot of the application in action\")\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajith4u%2Fgazettequery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsajith4u%2Fgazettequery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajith4u%2Fgazettequery/lists"}