diff --git a/ui/admin/app/components/knowledge/AddSourceModal.tsx b/ui/admin/app/components/knowledge/AddSourceModal.tsx index bf2ce4c5..f0653860 100644 --- a/ui/admin/app/components/knowledge/AddSourceModal.tsx +++ b/ui/admin/app/components/knowledge/AddSourceModal.tsx @@ -85,36 +85,57 @@ const AddSourceModal: FC = ({
{sourceType !== KnowledgeSourceType.Notion && ( -
- - - sourceType === KnowledgeSourceType.Website - ? setNewWebsite(e.target.value) - : setNewLink(e.target.value) - } - placeholder={ - sourceType === KnowledgeSourceType.Website - ? "Enter website URL" - : "Enter OneDrive folder link" - } - className="w-[250px] dark:bg-secondary" - /> +
+
+ + + sourceType === + KnowledgeSourceType.Website + ? setNewWebsite(e.target.value) + : setNewLink(e.target.value) + } + placeholder={ + sourceType === + KnowledgeSourceType.Website + ? "Enter website URL" + : "Enter OneDrive folder link" + } + className="w-[250px] dark:bg-secondary" + /> +
+ {sourceType === KnowledgeSourceType.OneDrive && ( +

+ For instructions on obtaining a OneDrive + link, see{" "} + + this document + + . +

+ )}
)}