From Kyvos 2023.5 onwards, you no longer need to refer to the MDX documentation to get help with writing MDX expressions. Kyvos has supported ‘Ask for Kyvos Ginie', which uses a Large Language Model (LLM) to create MDX queries using natural language textCreating calculated measures or members on top of your base metrics from data sources is one of the key aspects of any semantic model. The expression language for creating calculated measures is MDX. MDX as a language is very powerful, especially for OLAP models. However, it may not be easy for many designers and business users to write calculations using MDX. To simplify this aspect of the product, we are introducing ‘Ask Kyvos Ginie’, a GenAI-driven service that assists semantic model and report designers in Kyvos by generating MDX calculations based on natural language descriptions. All you need to do is provide natural language input about the MDX query, and an MDX query will be generated. This integration saves time and effort when creating MDX queries. Sometimes, you may get incorrect suggestions; for this, we would suggest you tweak your input to get the correct expression.
It enhances the overall user experience by facilitating the creation of calculations, offering a Quickstart for users unfamiliar with the MDX language, and enabling experienced users to generate skeletons for complex calculations
Points to know before using LLM
To obtain the appropriate MDX expression, you must understand the purpose of calculation in the natural language (English).
In the event that you receive an inaccurate MDX expression, you will need to modify the input in natural language to generate the correct MDX expression.
Once you have accepted the generated MDX expression, it will be used for further calculations.
To enable the ‘Ask Kyvos Ginie’ support, the value of the ‘enable’ attribute must be set to ‘True’ in the genai.json file, and a valid connection must be present in the file. Download the ‘genai.json' file to achieve this. To download the file, you must log in to Kyvos Manager and navigate to Utilities > Manage Configuration Files in the toolbox. On the Manage Configuration Files page, click the Web Portal folder and then click to expand the kyvos/jakarta/webapps/kyvos/client/config folder. You will see the ‘genai.json’ file that you need to download it.
In order to access Kyvos Ginie, the ‘genai.json’ file must contain a valid connection. The valid connection includes the attributes ‘name’, ‘provider’, ‘endPoint’, and ‘authkey.’ The 'authKey' and 'endPoint' details are specified by the provider. Additionally, for Kyvos Ginie to appear, the valid connection must have “CALCULATIONS“ added to ‘applicableUseCases’.
By default GenAI support is enabled in Kyvosdisabled, you can disabled enable it by setting the ‘enable’ providing a valid connection and setting enable attribute to ‘false’ 'true' in the genai.json file.
You can use the 'Ask Kyvos Ginie' link to create calculated measures and MDX expressions with ease.