The Government Residency Maker (GRM) program has been instrumental in developing innovative digital solutions to enhance citizen-government interactions. This article highlights the key tools developed during our residency, focusing on the Grievance Redress Management (GRM) system that aims to streamline the process of filing and resolving public grievances.
| # -*- coding: utf-8 -*- | |
| # Copyright 2025 Google LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
| import os | |
| from pathlib import Path | |
| from typing import List, Literal, Tuple | |
| from openai import OpenAI | |
| from pydantic import BaseModel | |
| from pypdf import PdfReader | |
| client = OpenAI() |
- The New York Times was founded, establishing itself as a long-standing, reputable news organization. (Complaint, page 8)
- OpenAI was formed as a non-profit artificial intelligence research company, marking the origins of the defendant company. (Complaint, page 16)
- OpenAI created OpenAI LP, a for-profit company, transitioning into a commercial entity and setting the stage for alleged infringement. (Complaint, page 17)
Cosmix Wellness India Pvt Ltd is a brand that focuses on holistic wellness through natural, herbal solutions. Founded by Vibha Harish and Soorya Jagadish, the company was born out of Vibha's personal journey with PCOS and her search for sustainable and natural solutions. Cosmix follows a D2C model, selling their products primarily through their website, and has built a strong community of over 60,000 customers.
Their product range includes mixes that address issues like gut health, sexual health, and PCOS, and they have expanded to cater to problems that people often find difficult to discuss. Cosmix takes a holistic approach to wellness, recognizing the significance of long-term solutions over quick fixes. This ethos is reflected in their dedication to providing high-quality, natural products made with carefully sourced ingredients. Cosmix's association with Shopify dates back to Vibha's early days of thinking about
| import json | |
| from reportlab.pdfgen import canvas | |
| from reportlab.lib.pagesizes import letter | |
| # Load the OCR results from the JSON file | |
| with open('results.json') as f: | |
| ocr_results = json.load(f) | |
| # Create a new PDF document | |
| pdf_filename = 'output.pdf' |
| from pdf2image import convert_from_path | |
| from paddleocr import PaddleOCR | |
| from reportlab.pdfgen import canvas | |
| from PyPDF2 import PdfReader, PdfWriter | |
| import io | |
| import numpy as np | |
| import cv2 | |
| from tqdm import tqdm | |
| def process_page(page_num, pil_image, input_pdf_path): |
| from llmsherpa.readers import LayoutPDFReader | |
| llmsherpa_api_url = "https://readers.llmsherpa.com/api/document/developer/parseDocument?renderFormat=all" | |
| pdf_url = "1.pdf" # Replace with your actual PDF file path | |
| def read_pdf(pdf_url): | |
| try: | |
| pdf_reader = LayoutPDFReader(llmsherpa_api_url) | |
| return pdf_reader.read_pdf(pdf_url) | |
| except Exception as e: |
| containers: { | |
| web:{ | |
| image:"widgetario/web:21.03" | |
| ports: publish : "80/http", | |
| } | |
| "products-api":{ | |
| image:"widgetario/products-api:21.03" | |
| ports: "80", |