Rainbird
  • 🏃‍♂️Getting started
    • What is Rainbird?
    • How does Rainbird work?
    • Example use cases
      • 📈Investment suitability assessment
      • 🤖Digital tax consultant
      • 🏥Covid risk assessment
      • 🚗Insurance claims liability
      • 💰Fraud identification
    • Hosting options
    • Quickstart guide
    • Onboarding with Rainbird
  • 🧠Knowledge Modelling
    • What is knowledge modelling?
    • What is a query?
    • Modelling
      • Concepts
        • Concept instances
      • Relationships
        • Question Configuration
        • Rules
          • Match, Infer, Ask process
          • Expressions List
      • Facts
      • Datasources
      • Other features
        • Markdown
        • Import/Export Knowledge Maps
      • Troubleshooting Tips
    • Testing
      • Manual tests
      • Automated tests
      • External User Acceptance Testing (UAT)
    • Versioning
    • Publishing
      • API Management
      • Setting a live version
      • Publishing an agent
    • Stats and Reporting
    • Managing your data
    • The library
      • How to: update a template
  • 🔍Evidence
    • What is evidence?
    • The Evidence Tree
      • The Salience Chart
  • 👩‍💻Developer guides
    • Overview
    • API Guide
      • API request flow
      • Run example queries
      • Environments
      • Error codes
      • Skipping an answer to a question
      • Retrieving a full Evidence Tree for use with a custom UI or application
      • Building an Evidence Tree URL
    • API interactive documentation
    • SDKs
  • Rainbird Labs
    • Overview
    • Consult
    • Generate from documentation
    • Co-author
    • /interact
    • /explain
Powered by GitBook
On this page
  • Exporting a knowledge map
  • Importing a knowledge map
  1. Knowledge Modelling
  2. Modelling
  3. Other features

Import/Export Knowledge Maps

Last updated 3 months ago

A knowledge map can be exported and imported as a .rbird file. This ensures a portable copy of the knowledge map can be easily shared between accounts or users. This can help with:

  • sharing a copy for troubleshooting purposes

  • promoting a knowledge map into a different account (e.g. from a dev account to a test account)

  • saving in a company file store

Exporting a knowledge map

To export a knowledge map:

  1. make sure it is open in the Studio,

  2. click the knowledge map name,

  3. select Export.

This will download a .rbird file with the knowledge map name and version as the filename.

The steps above will export the version you are currently editing (the draft version).

If you want to export a specific version of the map, then you must:

  1. select Versions,

  2. choose the desired version,

  3. click Export from the sub-header.

Exporting a knowledge map will export the following (for the selected version):

  • The knowledge map code

  • The layout of the graph

  • Any README information

The following is not included:

  • Any other versions

  • Automated tests

  • Agents

  • Stats and reporting data

Importing a knowledge map

You can import a knowledge map into a brand new file or an existing one.

New file

  1. Open a new map

  2. Click Import from file

  3. Select the required .rbird file

This allows you to view the knowledge map without needing to saving it. If you want to run any queries, you must save it.

Update an existing file

You can import a .rbird file into an existing file, which will overwrite the draft. It is recommended to version your draft before overwriting it, to ensure you don't lose any work.

Importing into an existing map helps with the following:

  1. Troubleshooting: When you have exported a knowledge map for troubleshooting support (e.g. shared with Rainbird support) and the issue has been fixed and returned as a .rbird file. This fixed version can imported into the same file, preserving the Knowledge Map ID (important when integrated), previous versions, automated tests, agents etc.

  2. Deployment: When you have different accounts for Development, Testing and Production and you want to update the version in production without development changes. If you export a tested version from your test knowledge map you can import this it into the production knowledge map, version it, then set it live. As above, the Knowledge Map ID, previous versions, automated tests and agents will be preserved. These made need updating where relationship names or query behaviour has change (the latter specifically for automated tests)).

To import a .rbird file into an existing knowledge map:

  1. Open the knowledge map you want to import into

  2. Version your existing draft so you don't lose any changes

  3. Click the knowledge map name

  4. Select Import

  5. Click Choose file

  6. Select the required file

  7. Click Import

  8. Once imported save the map

🧠
Importing into an existing map