Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Purpose

AI Module Templates are designed to define and configure modules that can be subsequently selected within the Space Management feature

Screenshot 2024-06-04 at 14.38.55.png

It is important to note that these templates only serve as a starting point. When a user creates a Space and selects a Module Template, a copy of that Module is generated and linked to the Space. Therefore, changes made to the Module Templates do not affect any modules already in use within existing Spaces.

Feature Access

The system offers an interface tailored for developers, data scientists, and administrators to create, edit, and delete AI Module Templates. To access this interface, users must be assigned the role of admin.app-repository-write in Zitadel. The feature is then accessible via an icon located in the top-level navigation on the left side of the screen.

Screenshot 2024-06-04 at 14.33.07.png

Default AI Module Templates

New organizations will automatically have the following default AI Module Templates available for use:

Additionally, users have the ability to create custom AI Module Templates by referencing modules they have developed using the provided SDK.

Users also have the capability to edit or delete the default AI Module Templates that are automatically generated.

Creating an AI Module Template

AI Module Templates can be created by clicking on the button “New AI Module” located in the header.

Screenshot 2024-06-04 at 14.37.16.png

The following details should be entered:

  • AI Module Name: The name of the AI Module Template will appear later on in the AI Assistant dropdown on the space page.

  • Reference in code: AI Module Templates execute specific logic that is determined by the reference in code attribute. The reference in code value should either point to a module developed by Unique (a list of values can be checked here) or to a module developed via SDK.

  • Custom Module: If the "reference in code" points to a custom module developed using the SDK, ensure the custom module checkbox is checked. If this box remains unchecked, the system assumes a pre-defined module is being used.

    • If an AI Module Template is defined as custom, a "Custom" tag will be automatically appended to the module name in the UI for easy identification.

Screenshot 2024-06-04 at 15.23.49.png
  • Configuration: Configuration parameters that will be used by the module need to be specified in JSON format.

  • Definition: The definition includes additional parameters and a description of the module, which are essential for selecting the appropriate module during operations. Like the configuration, these details should also be provided in JSON format. For further information, refer to the Tool Definition.

  • Weight: Defines the order of modules in the module selection prompt. The default value is set to 500, but this can be adjusted to prioritize certain modules over others in the list.

Editing & Deleting an AI Module Template

Once an AI Module Template is created, it will appear in the list of AI Module Templates and become available for editing.

Screenshot 2024-06-04 at 15.29.59.png

From that point on, AI Module Templates can be edited or deleted as needed. Deleting an AI Module Template will not affect any spaces that are currently using it, as each space creates a copy of the template when using it.

 


  • No labels