{"id":13433176,"url":"https://github.com/nicucalcea/sheets-llm","last_synced_at":"2025-03-05T10:32:30.520Z","repository":{"id":234921539,"uuid":"789572631","full_name":"nicucalcea/sheets-llm","owner":"nicucalcea","description":"Use Large Language Models (LLM) in Google Sheets","archived":false,"fork":false,"pushed_at":"2024-07-20T11:34:32.000Z","size":18,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-27T13:04:53.037Z","etag":null,"topics":["chatgpt","google-sheets","google-sheets-addon","gpt-4","llm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicucalcea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-04-20T23:43:32.000Z","updated_at":"2024-10-16T21:27:27.000Z","dependencies_parsed_at":"2024-04-21T15:13:21.954Z","dependency_job_id":"32144724-d391-434e-aab8-d4579b1774c0","html_url":"https://github.com/nicucalcea/sheets-llm","commit_stats":null,"previous_names":["nicucalcea/sheets-llm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicucalcea%2Fsheets-llm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicucalcea%2Fsheets-llm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicucalcea%2Fsheets-llm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicucalcea%2Fsheets-llm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicucalcea","download_url":"https://codeload.github.com/nicucalcea/sheets-llm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242010313,"owners_count":20057229,"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","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":["chatgpt","google-sheets","google-sheets-addon","gpt-4","llm"],"created_at":"2024-07-31T02:01:22.039Z","updated_at":"2025-03-05T10:32:30.500Z","avatar_url":"https://github.com/nicucalcea.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Use GPT models in Google Sheets\n\nA simple script to use OpenAI's GPT models in Google Sheets. This allows you to do things like summarisation, translation, entity extraction, classification, etc.\n\n## Installation\n\n1. Open the Google Sheet where you want to use ChatGPT.\n2. Go to `Extensions` \u003e `Apps Script`.\n3. Copy the contents of [`Code.gs`](https://github.com/nicucalcea/sheets-llm/blob/main/Code.gs) and paste it into the script editor.\n4. Copy the contents of [`settings.html`](https://github.com/nicucalcea/sheets-llm/blob/main/settings.html) and paste it into a new HTML file with the same name.\n5. Save both and reload the Google Sheet.\n6. You should now see a new menu item called `LLM`. Click on it and then `Settings`.\n7. Enter your [OpenAI API key](https://platform.openai.com/settings/profile?tab=api-keys) and save.\n\n## Usage\n\nYou now have access to a new `=LLM()` function in Google Sheets. You can use it like this:\n\n```scala\n=LLM(\u003cinput_text\u003e, \"Summarise the text\", \"gpt-4o-mini\", 0)\n```\n\nBy default, the function uses the `gpt-4o-mini` model with a temperature of `0`, but you can change it to `gpt-4` for more advanced tasks or increase the temperature for more creative responses.\n\n## To-do\n- [ ] Add support for non-OpenAI models\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicucalcea%2Fsheets-llm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicucalcea%2Fsheets-llm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicucalcea%2Fsheets-llm/lists"}