
Combining answers from documents with business predictions
Imagine asking an internal AI assistant which customers the team should contact first next month. Finding the customer-contact policy alone will not settle the priority order. The team also needs to aggregate past orders, predict future purchasing, and consider how many people it can contact.
NVIDIA's October 21 expansion of Agent Toolkit shows how document retrieval and prediction can be combined. Agent Knowledge Foundation includes Nemotron Retriever for finding relevant information and Kumo for making predictions from structured data such as customers and orders. An AI assistant that reads policy, aggregates orders, and calls a predictive model can assemble the material staff need to choose whom to contact.
Three answers behind a customer-contact decision
Choosing whom to contact involves three questions: what rules govern contact, whose orders have recently declined, and whose orders are likely to stop in the future. Even if staff see one candidate list, the methods used to produce and verify the answers differ.
| What the team needs to know | Processing and result | What to check |
|---|---|---|
| Rules for contacting customers | Document retrieval and generation of a cited explanation | Policy version, applicability, and fidelity to the citation |
| Changes in past orders | SQL or other computation of recorded counts and amounts | Customers, period, joins, and aggregation |
| Likelihood that orders will stop | A model's probability or ranking for a defined event | Performance on an unseen period and reliability of probabilities |
Retrieval-augmented generation (RAG) uses retrieved material to support an answer. A database can aggregate past order counts. For future orders, the team defines an event and a time period, asks a model to predict them, and later compares the result with actual records.
When an LLM brings these answers together, I would show the policy conditions, historical aggregates, and model predictions separately. Staff can then see which item to check against a document and which to compare with later results.
One table, or tables connecting customers to orders
The information used for a customer prediction can be spread across several tables. Consider a customer table with one row per customer, an order table with one row per order, and a product table with one row per product, connected by identifiers.
To use Kumo Tabular for prediction from one table, a team can first aggregate features such as purchase counts and days since the last order for each customer. It then supplies rows with known outcomes and rows to predict. For classification, the model returns probabilities. With in-context learning, a pretrained model uses known examples to predict new rows without updating its weights each time.
Kumo Relational supports prediction across related tables such as customers and orders. Its model card describes creating representations of rows and passing information along relationships. The underlying KumoRFM-2 paper describes handling connected records and time without manually flattening the database into one table. Following the link from a customer to their orders, for example, brings that customer's purchase history into the prediction.
Using related tables requires the right columns to connect customers and orders. The official documentation on column semantics describes data types and column roles. Checking customer identifiers makes it possible to trace which records reach the model as information about the same customer. Consistent monetary units also make order aggregates meaningful.
Predicting orders over the next 90 days
NVIDIA's documentation describes an example using the AdventureWorks sample database to predict whether active customers will order again in the next 90 days. The procedure connects four tables containing customers, products, and orders and selects customers who ordered in the previous 365 days. It derives known outcomes from historical records, trains a task-specific model with Kumo Engine, and obtains predictions for each customer. The team can look for contact candidates among customers with a low probability of ordering again.
Whether a customer orders in the next 90 days is a question whose answer can later be obtained from order records. The same 90-day period has a different meaning for a customer who buys once a year than for one who buys frequently. A company can choose the population and horizon to fit purchasing intervals and the purpose of the team's contact.
The Kumo Relational model in the previous section uses known examples as context for a pretrained model. The 90-day example instead uses Kumo Engine to train a model for the specific task. The first approach requires the team to prepare examples and related tables; the second also requires historical training records and time for training.
- Define the question: Specify the customers and whether they order in the next 90 days.
- Prepare historical records: Bring together customer-order relationships, times, and known outcomes.
- Make predictions: Receive each customer's prediction and probability.
- Have staff reconcile the results: Consider policy, previous contacts, and available contact capacity.
Use records available on the prediction date
When testing predictions on historical data, reconstruct what was known on the prediction date. If an evaluation simulates September 30 but includes a cancellation finalized in October, it uses information that was unavailable at that time. Avoiding this kind of data leakage allows the team to compare predictions under conditions closer to actual use.
Kumo Relational's time-column documentation describes selecting records for an anchor time by specifying when a row became available for prediction. An order table can use its order time, for example. If a customer category is updated later, the team should also check how to reconstruct the value in effect on the prediction date. Reconstructing historical features is also the purpose of Feast's point-in-time joins.
Retain the customer identifier and prediction date when passing results to staff. The team can then connect a probability in the list to the customer and order history used on that date. Kumo Relational's result specification describes working with entity identifiers and prediction values.
Test rankings and probabilities on company records
How well do predictions from related tables perform? KumoRFM-2's authors evaluated 41 predictive tasks across 15 relational databases. According to NVIDIA's technical explanation, on RelBench V1 classification tasks, the model improved average AUROC by nearly four points over gradient-boosted trees with expert-engineered features. AUROC measures how well a model ranks cases in one class above those in the other. For a prediction of customer orders, for example, it can represent how well the model ranks customers who stop ordering above those who continue.
In a company trial, I would compare the existing method and the model using the same customers, prediction dates, and horizon. For example, compare a list sorted by days since the last order with the model's list, then see how many customers in the number the team can contact actually stopped ordering. TabArena shows that training and tuning time and model ensembles affect comparisons on tabular prediction. Record the time spent preparing data, making predictions, and reviewing each method.
Check the predicted probabilities as well as the ranking. Calibration asks whether an event occurs about 80% of the time among cases assigned an 80% probability. TabReliBench compares tabular foundation models other than Kumo and reports that evaluation results change between ranking and probability reliability. Comparing both against actual company outcomes helps the team decide how to select contacts and use the probabilities.
Start with a candidate list staff can check
After identifying customers likely to stop ordering, the team can consider whether contact will help. Some may already be in contact with another staff member; others may not change their purchasing plans after a call. Measuring the effect of contact requires comparing outcomes with and without contact as well as checking prediction accuracy. For example, the team could randomly select some candidates to contact and compare their subsequent orders with those of the remaining candidates.
I would start with a list staff can inspect. Retain each customer ID, prediction date, horizon, probability, and relevant order history, and let the LLM explain them alongside policy and previous contacts. Staff can choose candidates while avoiding duplicate contact, then check the results of orders and follow-up later.
Combining document retrieval, recorded-data aggregation, and future predictions lets an enterprise assistant assemble the information needed to choose whom to contact first. The starting point is to pass those materials in a form staff can check and use in their own decisions.