diff --git a/src/components/Contribute/Knowledge/KnowledgeDescription.tsx b/src/components/Contribute/Knowledge/KnowledgeDescription.tsx new file mode 100644 index 0000000..466c647 --- /dev/null +++ b/src/components/Contribute/Knowledge/KnowledgeDescription.tsx @@ -0,0 +1,24 @@ +import React from 'react'; +import { Button } from '@patternfly/react-core/dist/dynamic/components/Button'; +import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/dynamic/icons/external-link-alt-icon'; + +const KnowledgeDescription: React.FunctionComponent = () => { + return ( +
+

+ 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. +

+
+ + + +
+
+ ); +}; + +export default KnowledgeDescription; diff --git a/src/components/Contribute/Knowledge/index.tsx b/src/components/Contribute/Knowledge/index.tsx index 64ee0da..7c25ffa 100644 --- a/src/components/Contribute/Knowledge/index.tsx +++ b/src/components/Contribute/Knowledge/index.tsx @@ -18,6 +18,7 @@ import { useSession } from 'next-auth/react'; import YamlCodeModal from '../../YamlCodeModal'; import { UploadFile } from './UploadFile'; import { SchemaVersion } from '@/types'; +import KnowledgeDescription from './KnowledgeDescription'; export const KnowledgeForm: React.FunctionComponent = () => { const { data: session } = useSession(); @@ -419,6 +420,19 @@ Creator names: ${creators} View YAML + + + } + > + + + { + return ( +
+

Skills in InstructLab come in two main types:

+

+ 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". +

+

2) Core Skills - Core skills are foudational like math, reasoning and coding.

+
+ + + +
+
+ ); +}; + +export default SkillDescription; diff --git a/src/components/Contribute/Skill/index.tsx b/src/components/Contribute/Skill/index.tsx index 58a0e16..3739595 100644 --- a/src/components/Contribute/Skill/index.tsx +++ b/src/components/Contribute/Skill/index.tsx @@ -17,6 +17,7 @@ import { getGitHubUsername } from '../../../utils/github'; import { useSession } from 'next-auth/react'; import YamlCodeModal from '../../YamlCodeModal'; import { SchemaVersion } from '@/types'; +import SkillDescription from './SkillDescription'; export const SkillForm: React.FunctionComponent = () => { const { data: session } = useSession(); @@ -342,6 +343,19 @@ export const SkillForm: React.FunctionComponent = () => { View YAML + + + } + > + + +