-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: edmundreinhardt <edmund.reinhardt@ca.ibm.com>
- Loading branch information
1 parent
ae55800
commit 5a0bb2e
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Ask questions about RPG | ||
|
||
We hope to have knowledge from RPG manuals and books available by asking natural language questions from the AI. | ||
To do this we will need to train with question and answer pairs about RPG and CL programming. | ||
|
||
## Format | ||
|
||
* chat | ||
* {unique contributor id} | ||
* attribution.txt | ||
* {unique test id} | ||
* input_data.txt - Ask any question about RPG | ||
* output.txt - Provide good answer to the question | ||
* metadata.md - difficulty | ||
|
||
The `input_data.txt` will have the question you want answered. | ||
The `output.txt` will have the expected answer to this question. | ||
Finally the `metadata.md` documents how difficult you think this question is on scale from 1 to 5. | ||
|
||
## Example By "RPG Gen AI Data Collector" UI | ||
|
||
1. Make sure you have forked the `https://github.com/AIforIBMi/rpg-genai-data` repository and cloned it to your local PC. | ||
2. Start `VS Code` and make sure you have the `RPG Gen AI Data Collector` extension installed in your local VS Code. | ||
|
||
![Install RPG Gen AI Data Collector VS Code extension](../../media/vs_extension.png) | ||
|
||
3. Select View->Command Pallette... or C-Shift-P | ||
|
||
![Command Pallette](../../media/vs_cmd_pallette.png) | ||
|
||
4. Select `RPG Gen AI Data Collector: Add New Training Data` and hit Enter | ||
|
||
![RPG Gen AI Data Collector: Add New Training Data](../../media/vs_rpg_data_cmd.png) | ||
|
||
5. Pick the task you want to provide training for, in our case `Chat` since we want to do some training on RPG questions and answers. | ||
|
||
![task type](../../media/vs_task_type.png) | ||
|
||
6. If this is the first task for your organization, you will need to fill the details or your attribution. Note that the Organization name should avoid blanks as it will also serve as a directory name. | ||
|
||
![attribution page](../../media/dc_attribution.png) | ||
|
||
7. Now you should click on the `Training Data` tab and fill that in with a question and answer | ||
![question on alias](../../media/dc_chat_alias.png) | ||
|
||
8. By pressing the `Add Training Data` button on the bottom all of the files for this question will be generated. | ||
|
||
![generated files](../../media/dc_generated.png) | ||
|
||
9. Commit the files | ||
|
||
10. Go to your github fork and create a pull request | ||
|
||
Note that once you have created your organization, you simply select it from the list the next time and fill in the `Training Data` page. |