Settings - Text2SQL
Intended audience: ANALYSTS DEVELOPERS ADMINISTRATORS
AO Platform: 4.3
Text2SQL
This section includes the configuration settings for the Text2SQL transformation functionality. Text2SQL transformation happens when a user enters a Natural Language Question (NLQ) in the Easy Answers solution and the Easy Answers Chatbot. This includes the Easy Answers native interpretation of Natural Language Questions and the enhanced, Large Language Model-based integration for interpreting questions.
See Use of Generative AI for details.
If a commercial LLM is enabled (compared to an Open Source LLM), each transaction (API request) will incur a transaction fee.

COMMON SETTINGS | LLM SETTINGS | TOKEN MATCHING SETTINGS | CHATBOT SETTINGS | VECTOR STORE SETTINGS |
---|---|---|---|---|
![]() | ![]() | ![]() | ![]() | ![]() |
Properties
Label | Defaults | Description | |
---|---|---|---|
COMMON SETTINGS | |||
Always Invoke Text2SQL | ON/OFF Toggle | OFF | If enabled, the “text2SQL” translation will be performed for every question posed in Easy Answers. If disabled, the system will reuse previous natural language questions and their translations into SQL (indexed by Elasticsearch) from the cache. In a production environment, this toggle should be disabled to gain performance. Always Invoke Text2SQL is disabled by default. |
LLM SETTINGS | |||
Use LLM | ON/OFF Toggle | OFF | If enabled, the toggle turns on the use of a Large Language Model (LLM) for generating the internally used SQL code from the Easy Answers Question that the user has asked. Note: All remaining properties in the LLM SETTINGS section and in the CHATBOT SETTINGS section will not be used/available if the Use LLM toggle is turned OFF. |
| ON/OFF Toggle | ON | If enabled, a question using the LLM approach will look to MSO LLM Descriptions to support LLM prompt creation. The MSO LLM Descriptions can be auto-populated using the Generate LLM Content entry in the Ontology options menu > Advanced. Viewing or manually creating MSO LLM Descriptions can be done on the Generative AI > Ontology MSO Descriptions page in the Admin solution. Important: Using populated MSO LLM Descriptions will increase the cost of calling the LLM API. |
| ON/OFF Toggle | ON | If enabled, a question using the LLM approach will look to MSO Property LLM Descriptions to support LLM prompt creation. The MSO Property LLM Descriptions can be auto-populated using the Generate LLM Content entry in the Ontology options menu > Advanced. Viewing or manually creating MSO Property LLM Descriptions can be done on the Generative AI > Ontology MSO Property Descriptions page in the Admin solution. Important: Using populated MSO Descriptions will increase the cost of calling the LLM API. |
| Dropdown | Use Default | Use the dropdown to select from available LLM Model Configurations. |
| Number Field | 1 | With the LLM Validation Strategy set to Default, only 1 thread can be configured. If the LLM Validation Strategy is Strict, then 2 or more LLM Execution Threads can be configured. |
| Dropdown | Default | Dropdown includes:
|
| ON/OFF Toggle | OFF | likely to be removed - no longer used |
| ON/OFF Toggle | ON | If enabled, will seek to reuse a previously Cached LLM RAW Prompt Response in case an identical question has already been asked. |
| ON/OFF Toggle | ON | If enabled, will make the MSO Query Sourcing functionality available in the Easy Answers Options menu on the Results page. See Viewing Sourcing Information. |
| ON/OFF Toggle | OFF | If enabled, will prompt the user to clarify uncertainties in the user’s question, eg. if a user says “filter by materials”, but doesn’t say which materials, then Easy Answers will ask a clarifying question and/or suggest possible values, such as plastic, steel, bronze, etc… User will also be able to type in some free-form text to provide clarification which will be added to the question prompt in a further attempt to help better interpreting the user’s question. |
| Dropdown | Use Default | Use the dropdown to select from available LLM Model Configurations. This property only shows when Detect Ambiguity property is enabled. |
| ON/OFF Toggle | OFF | If enabled, the Statistics gathered during MSO Discovery will be used when performing semantic queries, ensuring they scale efficiently with the data. |
| ON/OFF Toggle | OFF | If enabled, the Statistics gathered during MSO Discovery will be used to generate LLM Content. |
| Dropdown | Dropdown | Select from the following inheritance options:
|
Show Filter Criteria for Easy Answers | ON/OFF Toggle | OFF | |
Apply Default Criteria | Dropdown | As part of Post Processing as an LLM call | |
TOKEN MATCHING SETTINGS | |||
Use Search Store for Token Matching | ON/OFF Toggle | OFF | If enabled, the Vector Store will be used for Token Matching. If disabled, the internal AO platform logic will be utilized. |
| Dropdowns | Repeater section for POS Tags. Dropdown includes NOUN, ADJECTIVE, VERB, and ADVERB. Only shown if Use Search Store for Token Matching is enabled. | |
MSO Prompt Priority | Dropdown | Low | Dropdown includes: None, Low, Medium, High. The MSO Prompt Priority can be auto-populated using the AO Platform REST API. Viewing or manually creating MSO Prompt Priorities can be done on the Generative AI > Ontology MSO Descriptions page in the Admin solution. |
MSO Property Prompt Priority | Dropdown | Low | Dropdown includes: None, Low, Medium, High. The MSO Property Prompt Priority can be auto-populated using the AO Platform REST API. Viewing or manually creating MSO Property Prompt Priorities can be done on the Generative AI > Ontology MSO Descriptions page in the Admin solution. |
Named Entities to be Excluded | Dropdowns | Repeater section - The Named Entities to be Excluded refers to configuring how named entities are recognized. | |
Custom Entities to be Included | Dropdowns | Repeater section - The Custom Entities to be Ubckyded refers to configuring how custom entities are recognized. | |
CHATBOT SETTINGS | |||
| ON/OFF Toggle | ON | If enabled, will seek to reuse a previously Cached Chatbot Prompt Response in case an identical question has already been asked. |
| ON/OFF Toggle | ON | If enabled, the LLM will be used to create a summary of any response from the ChatBot. |
| ON/OFF Toggle | OFF | If enabled, the Next Question Suggestions will be generated in the Chatbot based on the History list of past questions. |
| ON/OFF Toggle | OFF | If enabled, when typing a question in the Chatbot, the system will try to “guess” the next word. |
VECTOR STORE SETTINGS | |||
| ON/OFF Toggle | OFF | If enabled, will enable the selected Vector Store to identify “Did you mean” alternative question suggestions in Easy Answers. |
| Dropdown | Weaviate DB | Use the dropdown to select from the available Vector Store:
|
| Dropdown | Use Default | Embedding involves mapping high-dimensional vectors into a lower-dimensional space, facilitating machine learning tasks with large inputs, such as sparse vectors that represent words. Use the dropdown to select from available Embedding Model configurations. |
| Dropdown | Dot Product | Dropdown includes: Dot Product, L1 Distance, L2 Distance, Euclidean, Cosine Similarity. |
| ON/OFF Toggle | ON | If enabled, the “Did you mean…?” functionality will be enabled in Easy Answers. If disabled, then the Easy Answers alternative question suggestions will not appear for user questions that are not fully understood. |
| Number Field | 0.82 | The Single Token Similarity Threshold value is used to suggest individual Words for the “Fix Unknown Words” functionality in Easy Answers. In that workflow, individual words will be suggested for words not understood by our Natural Language interpretation. The higher the threshold, the more accurate (but likely fewer) word suggestions will be shown. |
| Number Field | 0.92 | The Similarity Threshold value determines the results returned by Vector Store in response to the “Did you mean…?” functionality in Easy Answers. “Did you mean…?” is a way of resolving partially understood questions based on previously asked questions. The higher the threshold, the more accurate (but likely fewer) alternative question suggestions will be shown. |
| Number Field | 3 | The Suggestion Count determines the maximum number of suggestions shown in Easy Answers. |
| ON/OFF Toggle | OFF | |
| Number Field | 0.85 | The Similarity Threshold for Token Matching value determines the results returned by Vector Store in response to the “Did you mean…?” functionality in Easy Answers. “Did you mean…?” is a way of resolving partially understood questions based on previously asked questions. The higher the threshold, the more accurate (but likely fewer) alternative question suggestions will be shown. |
| Number Field | 0.7 | The Similarity Threshold for Nouns value determines the results returned by Vector Store in response to the “Did you mean…?” functionality in Easy Answers. “Did you mean…?” is a way of resolving partially understood questions based on previously asked questions. The higher the threshold, the more accurate (but likely fewer) alternative question suggestions will be shown. |
| Text Field | mso, mso_property |
|