nikpivkin / auto-label Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Now the body of the discussion (PR, issue) is sent in markdown format. We can test what information is better perceived by the model: raw or rendered.
In order for ChatGPT to correctly reference an artifact (discussion, issue or PR) we can add its type to the prompt.
Add a input for filtering labels.
The available labels are now passed in table format. I think this may cause a problem when parsing label IDs.
Originally posted by nikpivkin November 29, 2023
The action should leave a comment under issue/PR/discussion why this or that label was choosing. To do this, change the prompt and ask ChatGPT to return json with labels and comments.
Example json:
{
"labels": [
{
"id": 1,
"name": "bug",
"justification": "Found a bug in the code."
},
{
"id": 2,
"name": "enhancement",
"justification": "Proposing an enhancement to the functionality."
},
{
"id": 3,
"name": "question",
"justification": "A question that requires clarification."
}
],
"justification": "General justification for the label choices by ChatGPT."
}
For example, logging a prompt
The model now uses all available repository labels. Input include-labels
will allow the action to use only the passed labels.
Example of use:
include-labels: 'bug,enhancement,feature-request'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.