> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Beast Mode AI Assistant

### Intro

Writing Beast Mode formulas can be complex and time-consuming, even for advanced users. The Beast Mode AI Assistant now enables you to leverage the power of AI to write formulas quickly.

<Frame>
  <img alt="Screenshot 2023-10-10 at 1.10.39 PM.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/gDOtiCXH_3EtosfI/images/kb/ka0Vq0000000FBx-00N5w00000Ri7BU-0EM5w000006w5np.jpg?fit=max&auto=format&n=gDOtiCXH_3EtosfI&q=85&s=0e39ff14ee711c19531a607713ce186c" style={{width: 237, height: 335}} width="594" height="838" data-path="images/kb/ka0Vq0000000FBx-00N5w00000Ri7BU-0EM5w000006w5np.jpg" />
</Frame>

***

### Permissions

The Beast Mode AI Assistant is available to users who have the Use AI Services grant​ enabled for their role.

Learn about [Managing Custom Roles](/s/article/360043438973).

### Use Beast Mode AI Assistant to Create a Formula

1. Open the Beast Mode Editor. You can access it from within Analyzer or from Beast Mode Manager. From within Analyzer, select **Create Calculated Field** in the **DataSet** panel.

   <Frame>
     <img alt="Screenshot 2023-10-10 at 1.15.17 PM.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/gDOtiCXH_3EtosfI/images/kb/ka0Vq0000000FBx-00N5w00000Ri7BU-0EM5w000006w5oT.jpg?fit=max&auto=format&n=gDOtiCXH_3EtosfI&q=85&s=9deedb88492efa926d74a35288477324" style={{width: 800, height: 378}} width="2994" height="1416" data-path="images/kb/ka0Vq0000000FBx-00N5w00000Ri7BU-0EM5w000006w5oT.jpg" />
   </Frame>

2. In the **Column name** field, enter a name for your calculation.

3. Near the bottom of the editor, enter a request for a Beast Mode calculation in natural language in the AI prompt line. In this example, we entered "Create a calculated field where if the order priority is Critical or HIgh it becomes Important, otherwise it's Not Important."

   <Frame>
     <img alt="ai prompt line.jpg" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/gDOtiCXH_3EtosfI/images/kb/ka0Vq0000000FBx-00N5w00000Ri7BU-0EM5w000006w5o4.jpg?fit=max&auto=format&n=gDOtiCXH_3EtosfI&q=85&s=02c64dda9a0301d1dc1344aac3c46b7b" style={{width: 800, height: 374}} width="2398" height="1122" data-path="images/kb/ka0Vq0000000FBx-00N5w00000Ri7BU-0EM5w000006w5o4.jpg" />
   </Frame>

4. Select **Submit**.

5. Review the formula. If it is valid, select **Create Calculated Field**.

   <Frame>
     <img alt="create calculated field prompt.jpg" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/gDOtiCXH_3EtosfI/images/kb/ka0Vq0000000FBx-00N5w00000Ri7BU-0EMVq000000DrGD.jpg?fit=max&auto=format&n=gDOtiCXH_3EtosfI&q=85&s=9f834004f9f770502fbceb37147a2d92" style={{width: 801, height: 475}} width="3198" height="1896" data-path="images/kb/ka0Vq0000000FBx-00N5w00000Ri7BU-0EMVq000000DrGD.jpg" />
   </Frame>

### FAQ

<AccordionGroup>
  <Accordion title="Do we send all the data to the AI Service like other AI chatbots?">
    No, we only send the DataSet schema (field names and types) within the AI prompt. This allows the AI model to use and include the columns in the calculation that it returns.
  </Accordion>

  <Accordion title="Will the Text-to-Calculation** **prompt return a perfect Beast Mode calculation every time?">
    No. Because we are prompting an AI Service, results may vary. This tool is meant to help users generate Beast Mode calculations to use in their visualizations. Some modifications may be needed to ensure the correct results.
  </Accordion>
</AccordionGroup>
