dydu documentation
FrenchEnglish
  • A Single Software, various applications
  • First use guide
    • Getting started
    • Create your bot
    • Create your first knowledge
    • Create and publish your chatbot
    • Frequent use cases
    • Best practices
    • Glossary
  • Contents
    • Knowledge
      • Knowledge management
      • Tags management
      • Knowledge types
        • Answer to a question
        • Complementary answer
        • Predefined answer
        • Event-triggered knowledge
        • Slot filling
      • Answers elements
      • Accessibility for bot answers
      • Decision tree
      • Comments
      • Test the bot
      • Qualities alerts
    • Knowledge map
    • Matching groups
    • Global sentences
    • Language / Spaces
    • Context conditions
    • External Contents
    • Gallery
    • Web services
      • Web Services
      • Configuration examples (REST)
      • Configure OIDC on Keycloak for a Web Service
      • Frequently asked questions
    • Advanced
      • Server scripts
      • Predefined answer templates
      • Variables
      • Web services triggers
      • Top knowledge
    • Tools
    • Import/Export of knowledge
  • Learning
    • Dialogs
    • Suggestions
    • Misundestood sentences
  • Analytics
    • Exploitation
      • Important
      • Dialogs
      • Visitors
      • Themes
      • Knowledge
      • Qualification
      • Users feedbacks
      • Clicked links
      • Rewords
      • Performance
      • Other
    • Livechat
      • Dialogs
      • Knowledge
      • Operators
      • Satisfaction
      • Waiting queues
    • Knowledge base
      • Formulations
      • Users
      • Matches
    • Export
    • Configuration
  • Custom analytics
    • Reports
    • Alerts
    • Configuration
      • Reports
      • Exports
      • Predefined sources
      • Alerts
      • Preferences
      • Annex: List of indicators
  • Livechat
    • Enable livechat
    • Knowledge base setup
    • DYDU Livechat
      • Overview of interfaces
        • Operator Interface
        • Manager interface
      • Dydu livechat setup
        • General
        • Competencies
        • Waiting queues
          • General
            • Setting up the waiting queue
          • Competency
            • Setting up the waiting queue by competency
            • Setting up a knowledge base with the waiting queue by competency
        • Operator capactiy
        • Account parameters
    • Genesys Livechat connector
  • Integration
    • FAQ
      • Static FAQ
      • Dynamic FAQ
    • MetaBot
    • Customisation
    • Javascript actions
    • Custom event-triggered rules
    • Channels
      • Dydubox
      • Dydubox advanced
        • Css editor
          • Teaser
            • CSS Teaser Modification
          • Header
            • CSS Header Modification
          • Body
            • CSS Body Modification
        • Custom JS Editor
        • Label management
        • Possible integrations
      • Connector
        • Teams
        • META
          • Messenger
          • Instagram
          • WhatsApp
          • Compatibility of DYDU bot features with META
          • Meta application control
    • LLM - Generative AI (Artificial Intelligence)
    • Integration of a chatbox into a webview
  • Preferences
    • SAML 2
    • OpenID Connect (OIDC)
    • Users and rights
    • Bot
      • General
      • Dialogs
      • Survey
      • URLs
      • Search field
  • Other
    • How does your bot work?
    • Data protection
      • Cookie management policy
    • Console logs
    • Special keywords
    • Technical aspects
      • Hosting
      • Infrastructure
    • Security
      • General information
      • Server usage
      • Open source tools
      • User session expiration
  • Developers
    • API reference
      • Authentication
      • Dialog API
      • Dialogs Export
      • Search field
      • Import Export Bot
      • Import/Export Knowledge Base
      • Server Status API
      • Access to APIS
      • User Management in the BMS
    • Chatbox V5
      • Setup and integration
Powered by GitBook

Tous droits réservés @ 2023 dydu.

On this page
  • Export a knowledge base
  • Import a knowledge base
  • Delete a knowledge base

Was this helpful?

  1. Developers
  2. API reference

Import/Export Knowledge Base

PreviousImport Export BotNextServer Status API

Last updated 9 months ago

Was this helpful?

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

How to get the UUID of the bot?

Each bot has a UUID (a unique identifier).

You can find the UUID of your bot by going to Preferences > Api > API access.

How to get the token?

To get the token, go to Preferences > Api > API access then click on the URL at the top of the page.

Export a knowledge base

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:

  1. Click GET /bot/knowledgebase/export/{botUUID}/{excludeGalleryContent}.

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

  3. Click Execute.

  4. Click Download file to retrieve the knowledge base.

Import a 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:

  1. Click POST /bot/knowledgebase/import/{botUUID}.

  2. Enter the UUID of the bot for which you want to import the knowledge base and the authorization (your token).

  3. Click Choose file to select your file.

  4. Click Execute. The process may take a little time.

Delete a knowledge base

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:

  1. Click DELETE /bot/knowledgebase/delete/{botUUID}/{excludeGalleryContent}.

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

  3. Click Execute.

Add to the URL: authentication.html - this should be similar to an address like this:

https://app1.earth.doyoudreamup.com/servlet/authentication.html