Skip to main content
WisdomAI is engineered to perform a wide range of queries directly on your dataset. If you are seeking to conduct more advanced, customized analysis, the custom business Context feature allows the system to be aligned with your specific operational logic and proprietary terminology. This document outlines an example procedure for leveraging this feature to generate strategic insights.

Level 1: Foundational Data Interrogation

The system is designed to process queries that reference explicit data points within your tables. For example, it can accurately count, group, or filter based on existing columns and values. When a query includes business-specific terminology not explicitly defined in the dataset, such as “Strategic Account” or “At-Risk”, the system, by design, will prompt for clarification. This ensures that all subsequent analysis is precise and perfectly aligned with the user’s intent. Gif showing the first query and the answer without context

Level 2: Implementing Custom Logic with Business Context

The Context feature enables the system to autonomously execute complex queries. This is achieved by providing the tool with a set of rules that define your organization’s internal logic. As an explample, let’s consider that you want to empower the system to identify “At-Risk Strategic Accounts”. To acomplish this, you need to provide the following definitions via the Context feature:
Gif showing the Context page completed with business-specific data

Level 3: Executing Multi-Layered Strategic Analysis

With the business Context supplied, the system no longer needs to prompt for clarification. It is now configured to perform the multi-layered analysis directly. When presented with the same query:
The system executes the request. It cross-references contract duration, renewal status, and account-to-territory mapping to produce the precise, targeted list required. This demonstrates the successful application of custom context to yield high-value, strategic business insights. Gif showing the same query and the answer with context

Level 4: Granular Analysis Using JSON Parsing Context

A key challenge in data analysis is extracting information from fields containing semi-structured text. For example, a single Skus column might contain multiple products, tiers, and quantities in one text string, making direct calculations difficult. The Context feature resolves this by allowing users to define parsing logic with a JSON input. Without this logic, the system cannot perform calculations on data embedded within text. The following code snippet shows an example of using JSON context ~~was provided ~~to teach the system how to parse the Skus column:
Gif showing an example JSON Context With this parsing logic supplied, it is now possible to execute highly specific queries, like the following example:
The system can now deconstruct the Skus field for every contract in real-time. It filters for the “Sales” product, identifies the “Ultimate” tier, extracts the corresponding quantity, and aggregates the total, providing a precise numerical answer that was previously impossible to calculate. A gif showing the result calculated successfully after using a JSON context to parse unstructured text

Next Steps