MicroStrategy ONE

Customize Behavior

Customize the behavior of bots using Custom Instructions and Knowledge Assets.

  • Custom instructions guide how the bot interacts with users, ensuring a seamless and intuitive experience. They provide a framework for the bot to understand your business background, learn specific requirements about your data, and deliver responses in the appropriate format.

  • Some concepts and scenarios specific to your organization might require your bot to have additional knowledge. Add knowledge assets, such as a data dictionary or list of acronyms and synonyms, to your bot to help it interpret questions within the context of your business.

Starting in MicroStrategy ONE (December 2024), you can allow bots to use the most recent time frame in the data when a query does not specify a time period. This ensures that queries use timely and relevant data. To do this, enable Apply Time Filter When Time Is Not Specified. For an example of this feature, see Example: Automatically apply a time filter when a query does not specify a time period.

For an existing bot, this setting is disabled by default after upgrading to MicroStrategy ONE (December 2024).

For a bot created in MicroStrategy ONE (December 2024), the setting is enabled by default.

Custom Instructions

Starting in MicroStrategy ONE (September 2024), the custom instruction character limit increased to 2500 characters. For custom instruction considerations regarding the MicroStrategy ONE (September 2024) release, see Considerations.

Use Custom Instructions to define your bot's behavior and response style, tailoring it to fit your specific business and industry needs.

  1. Create a new bot or open an existing bot and click the Edit icon in the upper right.
  2. Click the Customizations panel .

  3. Toggle on Enable custom instructions.
  4. Describe your business background and any special requirements the bot should consider for the data.
  5. Specify the format of the responses the bot should use, such as the structure or tone for responses.
  6. Click Save.

Considerations

  • After you provide new instructions, if the results are not what you expected, try a different set of instructions to achieve your goal.

  • Starting in MicroStrategy ONE (September 2024), you can define derived element groups, attributes, and metrics in the dataset. MicroStrategy recommends using those objects to replace instruction functions to classify elements and define metric calculations. See Advanced Data Preparation for more information.

  • Starting in MicroStrategy ONE (September 2024), MicroStrategy recommends avoiding adding visualization types and languages to your custom instructions.

  • Starting in MicroStrategy ONE (September 2024), GPT usage was upgraded to GPT -4o. MicroStrategy recommends that you write specific and strict instructions including detailed backgrounds and emphasize important information.

Knowledge Assets

MicroStrategy AI enhances answer accuracy by utilizing object names and sample data from datasets as context during user inquiries. In some cases, questions posed by users may appear unclear to MicroStrategy AI because of limited context. This typically occurs when users assume that the system will automatically recognize business-specific terms as dataset objects or values. To address this issue, starting in MicroStrategy ONE (March 2024), MicroStrategy AI uses RAG (retrieval augmented generation) techniques to leverage additional knowledge assets that users can upload to the bot. These assets include, but are not limited to, business glossaries, lists of terminology, acronyms, synonyms, and specific definitions (for example, laboratory reference ranges for healthy adults).

Knowledge assets significantly enhance delivering a more comprehensive and robust chat experience to business users, ensuring effortless communication and more accurate responses.

Be sure that your knowledge asset file meets the File Format and Constraints Guidelines

To be able to leverage knowledge assets, users must have the Create and Configure Knowledge Assets privilege. This privilege is off by default.

Upload Knowledge Assets to Bots

  1. Create a new bot or open an existing bot and click the Edit icon in the upper right.
  2. Click the Customizations panel .
  3. Drag and drop your knowledge asset file to Knowledge, or click Browse files and select a file.
  4. You do not need to wait for the Studying step to finish before clicking Save.
  5. Return to the Customizations panel to verify that studying is finished, the upload timestamp displays, and the number of definitions in the uploaded knowledge asset match your expectations.

File Format and Constraints Guidelines

The following guidelines ensure optimal performance and user experience across MicroStrategy Cloud Environments (MCE).

These constraints are subject to adjustments based on the evolving capacities and capabilities of different environments.

Supported File Format and Size

  • File Format: MicroStrategy only supports knowledge assets in Excel format (.xlsx).
  • File Size: The maximum file size is 5MB or 200 rows, whichever limit is reached first.

Content Requirements

  • Text-Only Content: The file must contain information in text format only. Embedded images, charts, pivot tables, and similar content will not process.
  • Column Constraints: All essential information must be in the first column of the Excel file. While text in subsequent columns will not be utilized by MicroStrategy AI for additional information, you can use these columns to organize your knowledge assets efficiently.
  • Character Limits: Each cell has a maximum length of 2000 characters.

Feature Limitation

Bot Topics: The bot cannot utilize uploaded knowledge assets while answering AI-generated questions for each predefined topic. Bot owners should be mindful of this when creating topics. AI-suggested questions and data questions from user input are answered with relevant content from knowledge assets to improve answer accuracy.

Example: Automatically Apply a Time Filter When a Query Does Not Specify a Time Period

Starting in MicroStrategy ONE (December 2024), you can allow bots to use the most recent time frame in the data when a query does not specify a time period. This ensures that queries use timely and relevant data. To do this, enable Apply Time Filter When Time Is Not Specified.

This feature is also available for Auto Answers. To enable it, see Dashboard Properties Dialog.

When this setting is enabled and a query does not specify a time, Auto Answers and bots automatically add a filter for the most recent time frame in the data (such as the latest month or year). The added time filter displays in the Summary and Interpretation. Notice the time filter of the most recent month applied to the response.

The filter uses only a time attribute of one of the types listed below. The attribute must also be from the same dataset table that contains the metric used in the SQL. Auto Answers and bots use the filter to retrieve the most recent time frame in the data, as detailed below:

  • A Date/Day attribute is filtered for the latest 30 elements in the table.

  • A Week attribute is filtered for the latest week in the table.

  • A Month attribute is filtered for the latest month in the table.

  • A Quarter attribute is filtered for the latest quarter in the table

  • A Year attribute is filtered for the latest year in the table.

If no data is returned when the time filter is applied, a message displays indicating this and provides the time frame.