Import/Export Knowledge Base
Last updated
Last updated
Tous droits réservés @ 2023 dydu.
To perform import / export actions of your knowledge base (XML format), you need the following:
The bot's UUID (the unique identifier of the bot you want to export or of the bot whose information you want to import);
A token (code authorizing you to perform these actions).
Each bot has a UUID (a unique identifier).
You can find the UUID of your bot by going to Preferences > Api > API access.
To get the token, go to Preferences > Api > API access then click on the URL at the top of the page.
Add to the URL: authentication.html - this should be similar to an address like this: https://app1.earth.doyoudreamup.com/servlet/authentication.html
To export a knowledge base, go to the page Preferences > API > API access and click on the displayed link.
Then click Knowledge base.
To launch the export:
Click GET /bot/knowledgebase/export/{botUUID}/{excludeGalleryContent}.
Fill in the UUID of the bot for which you want to export the knowledge base and the authorization (your token). Also specify if you want to exclude the gallery while exporting your knowledge base.
Click Execute.
Click Download file to retrieve the knowledge base.
To import a knowledge base, go to Preferences > Api > API access and click the link provided.
Then click Knowledge base.
To start the import:
Click POST /bot/knowledgebase/import/{botUUID}.
Enter the UUID of the bot for which you want to import the knowledge base and the authorization (your token).
Click Choose file to select your file.
Click Execute. The process may take a little time.
To delete a knowledge base, go to Preferences > Api > API access and click the link provided.
Then click on Knowledge base.
To start the deletion:
Click DELETE /bot/knowledgebase/delete/{botUUID}/{excludeGalleryContent}.
Enter the UUID of the bot for which you want to remove the knowledge base and the authorization (your token). Also specify if you want to exclude the gallery while exporting your knowledge base.
Click Execute.