Export and Import Guide: Managing Prompts, Datasources, and Agents for Backup, Migration, and Collaboration

Introduction

This user guide provides a comprehensive overview of the Export and Import features within ELITEA. These powerful functionalities allow you to seamlessly transfer your valuable entities – Prompts, Datasources, and Agents – between different ELITEA environments, projects, or for backup purposes.

The ability to export and import entities offers significant flexibility and control over your AI workflows. You can leverage these features in various scenarios, including:

This guide will detail the process of exporting and importing each entity type, along with best practices and practical use cases to help you effectively utilize these features.

Import and Export Features: A General Overview

The Export feature allows you to save a snapshot of your prompts, datasources, or agents as JSON files. These files contain the complete configuration and relevant data of the entity at the time of export.

The Import feature enables you to bring previously exported JSON files back into ELITEA. During the import process, you have the flexibility to configure certain aspects of the imported entity, such as the target project and specific settings.

These features provide a convenient and reliable way to manage and transfer your assets within and across ELITEA environments.

How to Export Entities

ELITEA allows you to export prompts, datasources, and agents individually. The export process is similar for each entity type.

  1. Log in to ELITEA: Access the ELITEA platform using your credentials.
  2. Navigate to the Project: Go to the specific project that contains the prompt, datasource, or agent you wish to export.
  3. Access the Relevant Menu: Within the project, navigate to the menu corresponding to the entity type you want to export (e.g., Prompts, Datasources, or Agents).
  4. Locate the Entity for Export: Find the specific entity you want to export within the list. ELITEA offers two view options, and the export process varies slightly depending on the view you are using: a. Card List View: If you are viewing your entities in a card format, click on the specific entity's card that you wish to export. This will open the entity's details. Once open, locate and click the Export [entity type] icon (e.g., Export prompt, Export datasource, or Export agent). b. Table View: If you are viewing your entities in a table format, locate the entity you want to export in the list. In the Actions column, which is usually the last column in the table, click on the ellipsis icon (...) next to the entity. A dropdown menu will appear. Select the Export option from this menu.
  5. Automatic Download: Upon clicking the Export icon or selecting the Export option, your web browser will automatically initiate the download of a JSON file. This file contains all the configuration data for the exported entity and will be saved to your local device's default download location.

This process allows you to easily export your ELITEA entities for various purposes, such as sharing them with others or creating backups of your configurations.

Export-Table_view

Exporting a Prompt

  1. Navigate to the Prompts menu within the project containing the prompt you wish to export.
  2. Locate the specific prompt you want to export.
  3. Open the prompt and click the Export prompt icon.
  4. Your browser will automatically download a JSON file containing the prompt's data to your local device.

Prompt-Export

The exported JSON file includes:

Prompt-Exported_File

Exporting a Datasource

  1. Navigate to the Datasources menu within the project containing the datasource you wish to export.
  2. Locate the specific datasource you want to export.
  3. Open the datasource and click the Export datasource icon.
  4. Your browser will automatically download a JSON file containing the datasource's data to your local device.

Datasource-Export

The exported JSON file includes:

Important Security Note: For security purposes, the authentication information for datasets (such as API Keys, usernames, tokens, and passwords) is not included in the exported datasource file. You will need to re-enter this information when importing the datasource.

Exporting an Agent

  1. Navigate to the Agents menu within the project containing the agent you wish to export.
  2. Locate the specific agent you want to export.
  3. Open the agent and click the Export agent icon.
  4. Your browser will automatically download a JSON file containing the agent's data to your local device.

Agent-Export

The exported JSON file includes:

Important Security Note: For security purposes, the authentication information for toolkits (such as API Keys, usernames, tokens, and passwords) is not included in the exported agent file. You will need to re-enter this information when importing the agent.

Exporting Collections

Collections in ELITEA provide a powerful way to group and organize various entities such as prompts, datasources, and agents into a single, manageable unit. This organizational structure offers the significant advantage of being able to export an entire collection at once, ensuring that all the entities within that collection are included in the export. This feature is particularly convenient for backing up related items, sharing groups of resources, or transferring sets of configurations between environments.

Benefits of Exporting Collections:

To export a collection:

  1. Navigate to the Collections menu within the project that contains the collection you wish to export.
  2. Locate the specific collection you want to export within the list of available collections.
  3. Open the collection by clicking on its name or card.
  4. Once the collection is open, you will find an Export Collection icon. Click this icon to initiate the export process.
  5. Your browser will automatically download a JSON file to your local device. This file contains the data for the collection itself, along with the configuration details of all the prompts, datasources, and agents currently included within that collection.

This streamlined process allows you to efficiently manage and transfer groups of related assets within ELITEA.

Collection-Export

How to Import Entities

ELITEA provides a straightforward import process for prompts, datasources, and agents.

  1. Login ELITEA.
  2. Click the +Quick button switcher, located in the top right corner of the interface.
  3. Click the Import button.
  4. Choose the appropiate file (in *.json) from your local device.
  5. An Import Wizard will appear, guiding you through the import process.

Import-Button

Importing a Prompt

  1. Select File: Choose the appropiate prompt file (in *.json) from your local device.
  2. Import Wizard - Prompt Options:
    • Select Project: Choose the target project where you want to import the prompt. You can select your Private workspace or any other project where you have the necessary permissions.
    • Select Versions to Import: You can choose to import all versions of the prompt or select specific versions. Note: It is highly recommended to select and import the 'latest' version of the prompt, otherwise you might have validation errors, preventing successful import, or resulting the imported prompt not to function as expected.
    • Select LLM Model: For each version you are importing, you can select the desired LLM Model.
      • If the LLM Model specified in the exported file is also available in your current ELITEA environment, it will be selected automatically.
      • If the model is not available, the first available model in your environment will be selected as a default.
      • You can manually change the selected model to your preferred choice before completing the import.
  3. Click the Import button in the Import Wizard.
  4. The imported prompt will now be available in the Prompts menu of the selected project.

Prompt-Import_Wizard

Importing a Datasource

  1. Select File: Choose the appropiate datasource file (in *.json) from your local device.
  2. Import Wizard - Datasource Options:
    • Select Project: Choose the target project where you want to import the datasource.
    • Select Embedding Model: Choose the desired Embedding Model for the datasource.
      • If the Embedding Model specified in the exported file is also available in your current ELITEA environment, it will be selected automatically.
      • If the model is not available, the first available model in your environment will be selected as a default.
      • You can manually change the selected model to your preferred choice.
    • Configure Models for Chat, Search, and Deduplicate: Select the desired LLM models for the Chat, Search, and Deduplicate functionalities of the datasource.
    • Provide Mandatory Parameters: Fill in all mandatory fields and parameters, which are highlighted with an asterisk *. This typically includes the Storage type and various authentication parameters for the datasets.
    • Select Datasets to Import: Choose which datasets you want to import along with the datasource.
    • Provide Dataset Authentication: For any datasets requiring authentication, you will need to manually provide the necessary credentials (API Keys, usernames, tokens, passwords).
  3. Click the Import button in the Import Wizard.
  4. The imported datasource will now be available in the Datasources menu of the selected project.
  5. Reindexing Datasets: After successfully importing the datasource, you must open the datasource and initiate the reindexing of the imported datasets. This step is crucial as the actual vector databases are not exported or imported.

Datasource-Import_Wizard

Datasource-Reindex

Importing an Agent

  1. Select File: Choose the appropiate agent file (in *.json) from your local device.
  2. Import Wizard - Agent Options:
    • Select Project: Choose the target project where you want to import the agent.
    • Select Versions to Import: You can choose to import all versions of the agent or select specific versions. Note: It is highly recommended to select and import the 'latest' version of the agent, otherwise you might have validation errors, preventing successful import, or resulting the imported agent not to function as expected.
    • Select LLM Model: For each version you are importing, you can select the desired LLM Model.
      • If the LLM Model specified in the exported file is also available in your current ELITEA environment, it will be selected automatically.
      • If the model is not available, the first available model in your environment will be selected as a default.
      • You can manually change the selected model to your preferred choice before completing the import.
    • Provide Mandatory Parameters: Fill in all mandatory fields and parameters, which are highlighted with an asterisk *. This typically includes various authentication parameters for the agent's toolkits.
    • Select Tools to Import: Choose which tools you want to import along with the agent.
    • Configure Tool Parameters: You can review and reconfigure the available options and parameters for each tool being imported. You can either use the default values from the exported file or customize them as needed.
    • Provide Toolkit Authentication: For any toolkits requiring authentication, you will need to manually provide the necessary credentials (API Keys, usernames, tokens, passwords).
  3. Click the Import button in the Import Wizard.
  4. The imported agent will now be available in the Agents menu of the selected project.

Agent-Import_Wizard

Managing Master Agents with Connected Entities: Exporting and Importing

ELITEA simplifies the management of complex AI workflows by providing integrated features for exporting and importing 'master' agents along with their connected entities. This allows for efficient transfer of intricate AI workflows between different ELITEA environments or for creating comprehensive backups.

Exporting Master Agents with Connected Entities:

ELITEA offers a convenient feature to export a 'master' agent, ensuring that all its directly connected prompts, datasources, and child agents are included in the exported file. This is particularly useful for transferring complex AI solutions between different ELITEA environments or for creating comprehensive backups.

When you export a 'master' agent that has other agents, prompts, or datasources configured as toolkits, these nested entities are automatically included in the exported JSON file. This single file contains the configuration details for the 'master' agent and all its connected resources, simplifying the transfer process.

Importing Master Agents with Connected Entities:

When importing a 'master' agent from an exported file, ELITEA automatically imports all the connected prompts, datasources, and child agents that were included in the file. This streamlined process eliminates the need to import each component individually, making it significantly easier to transfer complex AI workflows between ELITEA environments.

Upon importing the 'master' agent's file, ELITEA will create the 'master' agent and all its associated toolkit entities in the target project, preserving the structure and relationships of the original workflow.

Benefits of Managing Master Agents with Connected Entities:

How it Works:

Important Considerations:

These integrated features for managing 'master' agents and their connected entities provide a powerful and efficient way to handle complex AI workflows within ELITEA.

MasterAgent-Import_Wizard

Importing a Collection

ELITEA allows you to import previously exported collection files, streamlining the process of adding multiple related entities to your project. This feature is particularly useful for quickly setting up pre-configured groups of prompts, datasources, and agents.

You can import a JSON file that contains all the information of an exported collection. This simplifies the process of adding multiple related entities at once.

Important Note: While importing a collection file will successfully import all the prompts, datasources, and agents contained within that file and add them to their respective menus, the Collection entity itself will not be automatically created as part of this import process. This is a current limitation of the platform. The individual entities will be imported, but you will need to manually recreate the collection and add the imported entities to it if you wish to maintain the original grouping. This functionality is planned for future updates.

To import a collection file:

  1. Select File: Choose the appropiate collection file (in *.json) from your local device.
  2. Import Wizard - Options:
    • Select Project: Choose the target project where you want to import the entities.
    • Select Entities: Choose the enities that you want to import, make corresponding configurations for each selected entity.
  3. Click the Import button in the Import Wizard.
  4. The individual entities will be imported and added to their respective menus.

Collection-Import

After Importing:

After successfully importing the collection file, you will find the individual prompts, datasources, and agents in their respective menus (Prompts, Datasources, Agents). To recreate the original collection structure, you will need to:

  1. Navigate to the Collections menu.
  2. Create a new collection.
  3. Manually add the imported prompts, datasources, and agents to this newly created collection.

This process ensures that while the collection entity itself is not automatically recreated, all the individual components of the exported collection are successfully imported into your project.

Important Considerations for Importing Entities

Best Practices and Use Cases

By understanding and utilizing the Export and Import features effectively, you can significantly enhance your workflow within ELITEA, improve collaboration, and ensure the safety and portability of your valuable AI assets.