Create a fork of the rpg-genai-data repository. Refer to the instructions here for more details.
Run the Git: Clone command in the VS Code command pallete to clone the forked repository and open it in the workspace.
Run the RPG Gen AI Data Collector: Add New Training Data command in the VS Code command pallete.
Select the task you would like to add training data to.
Select an existing organization attribute or create a new one.
Fill in the fields in the Attribution tab with your relevant information.
Click on the Training Data tab to now add the training data. When adding input, context, or output files, you will have the option to add files
from your local machine, from the IFS, and from QSYS. This will require connecting to an IBM i which can be done by following the instructions here.
Create Pull Request
Run the RPG Gen AI Data Collector: Create Pull Request command in the VS Code command pallete to start the process of creating a pull request. This will stage all changed files, commit/sign your changes, and push them to your forked repository.
If this process is successful, it will then launch a webpage in your browser to create the pull request on GitHub in the rpg-genai-data repository. Note that the title will already be prefilled with the task and organization based on the changed files.
Review the changed files and click the Create pull request button on the GitHub webpage.