{"id":21731567,"url":"https://github.com/paulhex6/table-ai","last_synced_at":"2025-07-23T23:34:33.340Z","repository":{"id":253305446,"uuid":"843100569","full_name":"PaulHex6/Table-AI","owner":"PaulHex6","description":"TableGen AI automates your Excel table population with ChatGPT. Simply upload your Excel file, and the AI will fill in the data. Download the completed table when it's ready.","archived":false,"fork":false,"pushed_at":"2024-09-04T16:29:39.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T23:42:48.989Z","etag":null,"topics":["ai","automation","excel","excel-processing","natural-language-processing","openai-api","table-generator"],"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/PaulHex6.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":"2024-08-15T19:29:20.000Z","updated_at":"2024-09-04T16:29:43.000Z","dependencies_parsed_at":"2024-09-05T19:33:56.927Z","dependency_job_id":"e746d5b7-2adf-4651-9fb8-81ce40f22601","html_url":"https://github.com/PaulHex6/Table-AI","commit_stats":null,"previous_names":["paulhex6/table-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PaulHex6/Table-AI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulHex6%2FTable-AI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulHex6%2FTable-AI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulHex6%2FTable-AI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulHex6%2FTable-AI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PaulHex6","download_url":"https://codeload.github.com/PaulHex6/Table-AI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulHex6%2FTable-AI/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266768406,"owners_count":23981355,"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-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["ai","automation","excel","excel-processing","natural-language-processing","openai-api","table-generator"],"created_at":"2024-11-26T04:26:34.675Z","updated_at":"2025-07-23T23:34:33.312Z","avatar_url":"https://github.com/PaulHex6.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔗 TableGen AI\n![Python](https://img.shields.io/badge/Python-3.8%2B-blue)\n![Streamlit](https://img.shields.io/badge/Streamlit-1.0%2B-red)\n![License](https://img.shields.io/badge/License-Apache%202.0-green)\n\nTableGen AI automatically populates your Excel tables using ChatGPT. Just upload your Excel file, and let the AI fill in the data. Once the process is complete, download the populated table with the generated results.\nThis is a preliminary version under development, and more updates are coming soon.\n\n## Features\n\n- **Upload Excel Files**: Upload an Excel file with predefined prompts and parameters.\n- **Model Selection**: Choose from various GPT models.\n- **Dynamic URL Processing**: Automatically fetch URLs for parameters starting with http:// or https://.\n- **Debug Information**: Optionally view detailed processing logs for each step.\n- **Download Processed File**: After processing, download the updated Excel file containing the GPT responses.\n\n## Installation\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/PaulHex6/Table-AI.git\n   cd gpt-excel-processor\n   ```\n\n2. **Create and activate a virtual environment** (optional but recommended):\n\n   ```bash\n   python3 -m venv venv\n   source venv/bin/activate   # On Windows use `venv\\Scripts\\activate`\n   ```\n\n3. **Install the required Python packages**:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. **Set up your OpenAI API key in a `.env` file**:\n\n   Create a `.env` file in the root directory and add your OpenAI API key:\n\n   ```plaintext\n   OPENAI_API_KEY=your-openai-api-key\n   ```\n\n## Usage\n\n1. **Run the Streamlit app**:\n\n   ```bash\n   streamlit run table_ai.py\n   ```\n\n2. **Access the app**:\n   \n   Open your web browser and go to `http://localhost:8501` to use the app.\n\n3. **Upload your Excel file**:\n   \n   Use the provided interface to upload an Excel file formatted as described below.\n\n4. **Choose a GPT model**:\n   \n   Select the desired GPT model from the dropdown.\n\n5. **Run the processing**:\n   \n   Click \"Run\" to start processing the file. Progress will be shown.\n\n## Excel File Structure\n\n### **Input Structure**:\n\nThe Excel file you upload should be structured as follows:\n\n- **Row 1**: Contains headers (optional for your understanding, not used in processing).\n- **Row 2**: Contains the prompts where `{parameter}` is a placeholder for dynamic content such as `{Fruit}`, `{Color}`, or `{Shape}`.\n- **Column A (starting from Row 3)**: Contains the parameter names that identify each row (e.g., `Parameter 1`, `Parameter 2`).\n- **Columns B and beyond (starting from Row 3)**: Contains the actual parameter values that will replace the `{parameter}` placeholders in the prompts (e.g., `Apple`, `Red`, `Round`).\n\n#### Example:\n\nYou can refer to the example files in the `example-files` folder.\n\n|    A           |       B      |       C        |       D      |       E                     |       F                        |        G                       |\n|----------------|--------------|----------------|--------------|-----------------------------|--------------------------------|--------------------------------|\n| Index          | Fruit        | Color          | Shape        | Prompt 1                    | Prompt 2                       | Prompt 3                       |\n| None           | None         | None           | None         | What is {Fruit}?            | Why is {Fruit} {Color}?        | Why is {Fruit} {Shape}?        |\n| Parameter 1    | Apple        | Red            | Round        |                             |                                |                                |\n| Parameter 2    | Banana       | Yellow         | Long         |                             |                                |                                |\n| Parameter 3    | Grape        | Purple         | Ball         |                             |                                |                                |\n\n### **Output Structure**:\n\nAfter processing, the Excel file will be updated with the responses from GPT models in the cells corresponding to each parameter and prompt combination.\n\n#### Example Output:\n\n|    A           |       B      |       C        |       D      |       E                         |       F                               |        G                              |\n|----------------|--------------|----------------|--------------|---------------------------------|---------------------------------------|---------------------------------------|\n| Index          | Fruit        | Color          | Shape        | Prompt 1                        | Prompt 2                              | Prompt 3                              |\n| None           | None         | None           | None         | What is {Fruit}?                | Why is {Fruit} {Color}?               | Why is {Fruit} {Shape}?               |\n| Parameter 1    | Apple        | Red            | Round        | An edible fruit.                | Due to the presence of anthocyanins.  | Apple is round for uniform growth.    |\n| Parameter 2    | Banana       | Yellow         | Long         | A tropical fruit.               | Due to the presence of carotenoids.   | Bananas grow long for better sunlight |\n| Parameter 3    | Grape        | Purple         | Ball         | A small, juicy fruit.           | Due to anthocyanin pigments.          | Grapes are round for easy consumption.|\n\n### **URL Fetching**:\n\nIf any parameter value starts with http:// or https://, TableGen AI will automatically fetch the content of the web page, extract the unformatted text, and return it as the parameter value.\n\n\n### **Explanation**:\n\n- **Row 2**: Defines the prompts with `{parameter}` as a placeholder. This allows for dynamic content to be inserted based on the parameters in the subsequent rows.\n- **Column A**: Contains the parameter names (e.g., `Parameter 1`, `Parameter 2`) which serve as identifiers for each set of values.\n- **Columns B, C, and D (starting from Row 3)**: These columns contain the actual values that will replace the placeholders `{Fruit}`, `{Color}`, and `{Shape}` in the prompts.\n- **Columns E, F, and G**: These columns contain the processed responses generated by the selected GPT model. The `{parameter}` placeholders in the prompts are dynamically replaced by the actual values from Columns B, C, and D.\n\n## When to use it?\n\n- **Dynamic Prompting**: By structuring your file in this way, you can create highly dynamic and personalized content for each parameter.\n- **Scalability**: This structure allows you to easily scale the content generation by adding more parameters (rows) or prompts (columns).\n- **Efficiency**: The app automates the replacement of parameters in prompts and generates responses, saving time and ensuring consistency.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulhex6%2Ftable-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulhex6%2Ftable-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulhex6%2Ftable-ai/lists"}