Documents
Last updated
Last updated
First, find the name of the knowledge that contains the document you wish to retrieve in the knowledge tab of Cortex.
Then, find the name of the documentID you want to retrieve.
Use the knowledgeName and documentID with the .getDocument
function of cortex to retrieve the document. See the Node.js Library for the exact .json return structure.
Find the knowledgeName of the desired location of the document.
Create an object that follows the createDocument interface to upload.
Use the documentID parameter to name the document you want to upload.