Skip to content

Commit

Permalink
extracting out descriptions into seperate tsx files
Browse files Browse the repository at this point in the history
Signed-off-by: Ash Evans <[email protected]>
  • Loading branch information
aevo98765 committed Jul 3, 2024
1 parent dc619a4 commit deea070
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/components/Contribute/Knowledge/KnowledgeDescription.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from 'react';
import { Button } from '@patternfly/react-core/dist/dynamic/components/Button';
import { ExternalLinkAltIcon } from '@patternfly/react-icons';

const KnowledgeDescription = () => {
return (
<div>
<p>
Knowledge in InstructLab is represented by question and answer pairs that involve facts, data, or references. This knowledge is represented in
the taxonomy tree and each node of this tree contains a qna.yaml file.
</p>
<div>
<a href="https://github.com/instructlab/taxonomy/blob/main/docs/KNOWLEDGE_GUIDE.md" target="_blank">
<Button variant="plain" aria-label="Learn more about what InstructLab Knowledge is">
Learn More
<ExternalLinkAltIcon style={{ padding: '3px' }}></ExternalLinkAltIcon>
</Button>
</a>
</div>
</div>
);
};

export default KnowledgeDescription;
26 changes: 26 additions & 0 deletions src/components/Contribute/Skill/SkillDescription.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React from 'react';
import { Button } from '@patternfly/react-core/dist/dynamic/components/Button';
import { ExternalLinkAltIcon } from '@patternfly/react-icons';

const SkillDescription = () => {
return (
<div>
<p>Skills in InstructLab come in two main types:</p>
<p>
1) Compositional Skills - These are skills that are performative and you are teaching the model how to do tasks like "write me a song" or
"summarize an email".
</p>
<p>2) Core Skills - Core skills are foudational like math, reasoning and coding.</p>
<div>
<a href="https://github.com/instructlab/taxonomy/blob/main/docs/SKILLS_GUIDE.md" target="_blank">
<Button variant="plain" aria-label="Learn more about what Skills are in InstructLab">
Learn More
<ExternalLinkAltIcon style={{ padding: '3px' }}></ExternalLinkAltIcon>
</Button>
</a>
</div>
</div>
);
};

export default SkillDescription;

0 comments on commit deea070

Please sign in to comment.