cancel
Showing results for 
Search instead for 
Did you mean: 
OleksandrB
Sisense Team Member
Sisense Team Member

Enable/disable field suggestions in the NLQ (Simple Ask)

For the latest version of Sisense like L2024.x to have a field suggestion, you need to enable it.

First of all, what is the field suggestion, as illustrated by the picture below, if you want to get the revenue not for all Brands, but just for the brand APPLES. You type "revenue for APPL" and get the field suggestion.

ALT text: A screenshot of a user interface showing a dropdown menu labeled "Widget" with options such as "Duplicate," "Delete," "Export," and "Simply Ask (NLQ)." Arrows highlight "Simply Ask (NLQ)" and "Modify NLQ Model" options within the menu. On the right, a panel labeled "Filters" displays an option to "Include all" under the "Brand" section.ALT text: A screenshot of a user interface showing a dropdown menu labeled "Widget" with options such as "Duplicate," "Delete," "Export," and "Simply Ask (NLQ)." Arrows highlight "Simply Ask (NLQ)" and "Modify NLQ Model" options within the menu. On the right, a panel labeled "Filters" displays an option to "Include all" under the "Brand" section.

 

To enable this feature, you can do it in 2 ways.

1. Via REST API

Go to Admin - REST API - 1.0 - nlq
Find - POST /nlq/nlqAdvancedMode

ALT text: A screenshot of a user interface showing a dropdown menu labeled "Widget" with options such as "Duplicate," "Delete," "Export," and "Simply Ask (NLQ)." Arrows highlight "Simply Ask (NLQ)" and "Modify NLQ Model" options within the menu. On the right, a panel labeled "Filters" displays an option to "Include all" under the "Brand" section.ALT text: A screenshot of a user interface showing a dropdown menu labeled "Widget" with options such as "Duplicate," "Delete," "Export," and "Simply Ask (NLQ)." Arrows highlight "Simply Ask (NLQ)" and "Modify NLQ Model" options within the menu. On the right, a panel labeled "Filters" displays an option to "Include all" under the "Brand" section.

 

 Press the button Try it out and after this Execute button

OleksandrB_2-1730904005166.png


After this, go to the dashboard, you should republish it

OleksandrB_3-1730904005157.png

 

 After this, you should see the suggestions.

2. Changing the NLQ Model

Go to simply ask and click on ‘Modify NLQ Model’.

OleksandrB_4-1730904005171.png

Look for the column we want to set the index to true and save it.

OleksandrB_5-1730904005160.png

 

  Go to the dashboard, you should republish it.

After this, our field suggestion should work perfectly.

Why do we republish the dashboard after the changes, please check the article - Simply Ask (NLQ) Not Showing New Fields After Enabling

Update

For the versions L2024.2.x go to Admin - System Management - Configuration - 5 clicks on the logo - Ai-IntegrationSimplyAsk

and disable option - Hide Table Names

Screenshot_55.png

 

May the force be with you

Rate this article:
Comments
DRay
Community Team Leader
Community Team Leader

Thank you @OleksandrB. This is a great KB doc, and has been selected as the KB doc of the week!

Version history
Last update:
‎11-07-2024 01:53 PM
Updated by: