Skip to content

Commit

Permalink
taxonomy mermaid diagram (#1279)
Browse files Browse the repository at this point in the history
Updated the diagram because of #1215.

/cc @mcorbin-ibm @juliadenham

Signed-off-by: Costa Shulyupin <[email protected]>
Co-authored-by: Costa Shulyupin <[email protected]>
  • Loading branch information
jjasghar and makelinux authored Aug 22, 2024
1 parent c96c0ed commit 8834b2b
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ Below is an illustrative directory structure to show this layout:
attribution.txt
```

For an extensive example of the taxonomy layout see the [taxonomy_tree_layout](https://github.com/instructlab/taxonomy/blob/main/docs/taxonomy_diagram.png) image in the documentation folder.
For an extensive example of this layout see, [taxonomy_tree_layout](docs/taxonomy_diagram.md) in the documentation folder.

## Contribute knowledge and skills to the taxonomy

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The purpose of these documents is to inform users and maintainers on the review/triaging process and different ways to contribute to the taxonomy repository. You can view the following:

- Full layout of taxonomy repository - [Taxonomy diagram](taxonomy_diagram.png)
- Full layout of taxonomy repository - [Taxonomy diagram](taxonomy_diagram.md)
- Flowchart of the pull request review process - [Review process](assets/review-process.png)
- Flowchart of how the backend works with reviewing PRS - [Backend process](assets/backend.png)

Expand Down
35 changes: 35 additions & 0 deletions docs/taxonomy_diagram.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## Taxonomy diagram

```mermaid
flowchart TD;
na[not accepting contributions\n at this time]:::na
taxonomy --> foundational_skill & compositional_skills & knowledge
foundational_skill:::na --> reasoning:::na
reasoning:::na --> common_sense_reasoning:::na
reasoning:::na --> mathematical_reasoning:::na
reasoning:::na --> theory_of_mind:::na
compositional_skills --> engineering
compositional_skills --> grounded
compositional_skills --> lingustics
grounded --> grounded/arts
grounded --> grounded/geography
grounded --> grounded/history
grounded --> grounded/science
knowledge --> knowledge/arts
knowledge --> knowledge/miscellaneous_unknown
knowledge --> knowledge/science
knowledge --> knowledge/technology
knowledge/science --> animals --> birds --> black_capped_chickadee --> black_capped_chikadee-a & black_capped_chikadee-q
knowledge/science --> astronomy --> constellations --> phoenix --> phoenix-a & phoenix-q
black_capped_chikadee-a{attribution.txt}
black_capped_chikadee-q{qna.yaml}
phoenix-a{attribution.txt}
phoenix-q{qna.yaml}
classDef na fill:#EEE
```

0 comments on commit 8834b2b

Please sign in to comment.