{"id":16123560,"url":"https://github.com/austenstone/openai-issue-labeler","last_synced_at":"2025-03-18T12:31:24.302Z","repository":{"id":37453805,"uuid":"452911139","full_name":"austenstone/openai-issue-labeler","owner":"austenstone","description":"Labels issues using OpenAI's Classification API powered by GPT-3 models!","archived":false,"fork":false,"pushed_at":"2023-04-06T18:34:35.000Z","size":505,"stargazers_count":20,"open_issues_count":32,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-09T23:31:47.197Z","etag":null,"topics":["actions","artificial-intelligence","labeler","openai"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/austenstone.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["austenstone"]}},"created_at":"2022-01-28T02:15:52.000Z","updated_at":"2024-07-21T13:17:00.000Z","dependencies_parsed_at":"2024-10-25T05:27:38.473Z","dependency_job_id":"3cc4d118-ce5d-4955-ae63-60ea4cbba40e","html_url":"https://github.com/austenstone/openai-issue-labeler","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":"0.032258064516129004","last_synced_commit":"de2a10d374e895861caff42463fa1921f536c71f"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austenstone%2Fopenai-issue-labeler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austenstone%2Fopenai-issue-labeler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austenstone%2Fopenai-issue-labeler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austenstone%2Fopenai-issue-labeler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/austenstone","download_url":"https://codeload.github.com/austenstone/openai-issue-labeler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926046,"owners_count":20369911,"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":["actions","artificial-intelligence","labeler","openai"],"created_at":"2024-10-09T21:17:24.542Z","updated_at":"2025-03-18T12:31:23.898Z","avatar_url":"https://github.com/austenstone.png","language":"TypeScript","funding_links":["https://github.com/sponsors/austenstone"],"categories":[],"sub_categories":[],"readme":"# OpenAI Issue Labeler 🤖\n\n\n\u003e **Warning**\n\u003e The classification API is deprecated. Need to replace it with https://platform.openai.com/docs/guides/fine-tuning\n\nThis GitHub [action](https://docs.github.com/en/actions) labels issues using [OpenAI's Classification API](https://beta.openai.com/docs/guides/classifications) powered by GPT-3 models! We are using [`curie`](https://beta.openai.com/docs/engines/curie) as our completion model and [`ada`](https://beta.openai.com/docs/engines/ada) as the search model.\n\nIt uses your existing [labels](https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/managing-labels) and past GitHub [issues](https://docs.github.com/en/issues) to train a model that can predict the labels of new issues. When someone opens a new issue this action will automatically label it.\n\n## Requirements\nYou will need to sign up for the [OpenAI API](https://openai.com/api/) and get an [OpenAI API Key](https://beta.openai.com/account/api-keys).\n\nAdd this OpenAI API Key as a secret called `OPENAI_API_KEY`. See [Creating encrypted secrets for a repository](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository).\n\n## Usage\nCreate a workflow (eg: `.github/workflows/labeler.yml`). See [Creating a Workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file).\n\n#### Default Workflow\n```yml\nname: \"OpenAI Issue Labeler\"\non:\n  issues:\n    types: [opened, edited]\n\njobs:\n  triage:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: austenstone/openai-issue-labeler@v2\n        with:\n          openai-api-key: \"${{ secrets.OPENAI_API_KEY }}\"\n```\nThat's it. Your issues are now labeled by powerful AI models! 🧠\n\n![RobotDancingDanceGIF](https://user-images.githubusercontent.com/22425467/151486237-5a416561-c2e9-4c61-ad56-12d77fca0206.gif)\n\n## Input Settings\nVarious inputs are defined in [`action.yml`](action.yml) to let you configure the labeler. See the [Classifications API reference](https://beta.openai.com/docs/api-reference/classifications) for more information.\n\n| Name | Description | Default |\n| --- | - | - |\n| **openai\u0026#x2011;api\u0026#x2011;key** | The OpenAI API key secret | N/A |\n| token | Token to use to authorize label changes. | ${{\u0026nbsp;github.token\u0026nbsp;}} |\n| temperature | Higher values mean the model will take more risks. | `0`\n| model | ID of the engine to use for completion. You can select one of ada, babbage, curie, or davinci. | `curie`\n| search\u0026#x2011;model | ID of the engine to use for Search. You can select one of ada, babbage, curie, or davinci. | `ada`\n\n## How?\nThe model uses Labeled data to classify the new piece of data.\n\n### Inputs\n1. All repository labels\n3. Examples of past label usage\n    - Label description and label\n    - Issue title and label\n    - Issue body and label\n4. A query to find a label for\n    - New Issue title\n    - New Issue body\n\n### Outputs\nThe label! It will be automatically added to your issue.\n\nThis [workflow](https://github.com/austenstone/openai-issue-labeler/actions/workflows/usage.yaml) runs on this repo. Check out the [issues](https://github.com/austenstone/openai-issue-labeler/issues) and feel free to open a new one.\n\n#### Example Issues\n- [We need to add a rate limiter to login](https://github.com/austenstone/openai-issue-labeler/issues/80)\n- [Where are the docs?](https://github.com/austenstone/openai-issue-labeler/issues/37)\n- [Logo in the navbar needs to be bigger](https://github.com/austenstone/openai-issue-labeler/issues/36)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustenstone%2Fopenai-issue-labeler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faustenstone%2Fopenai-issue-labeler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustenstone%2Fopenai-issue-labeler/lists"}