Sub topic 1
Four kinds of AI feature you will meet in business platforms
Prerequisites
This chapter assumes you know what a contact record, a campaign, and a dashboard are. It also assumes a basic idea of machine learning (a model learns patterns from past examples) and of large language models (models that produce text). You do not need to write code, but one short Python example is included.
The four kinds
Most AI features in email, CRM, and analytics tools fall into four kinds. Each kind has a different input, a different output, and a different way of failing. Knowing the kind tells you what data the feature needs and how to check it.
| Kind | What it returns | Typical example |
|---|---|---|
| Predictive | A number or probability | Lead score, send-time choice, forecast |
| Generative | New text or content | Email draft, subject lines, call summary |
| Classification | A label from a fixed list | Spam or not spam, "billing" or "sales" inbox category |
| Retrieval | Existing records or passages | Natural-language question over a dashboard, search across notes |
Some features combine kinds. A "ask your data" box often uses a language model to turn a question into a query, then retrieval to fetch the rows.
Predictive features
A predictive model learns from past cases with known outcomes and scores a new case. CRM lead scoring is the standard example. The model sees which leads became customers and which did not, then estimates the chance for a new lead.
import numpy as np
from sklearn.linear_model import LogisticRegression
# Columns: requested_demo, free_email_domain, pricing_page_views
X = np.array([
[1, 0, 3],
[0, 1, 0],
[1, 1, 5],
[0, 0, 1],
[1, 0, 4],
[0, 1, 0],
])
# 1 = lead became a customer, 0 = it did not
y = np.array([1, 0, 1, 0, 1, 0])
model = LogisticRegression().fit(X, y)
new_lead = np.array([[1, 0, 2]])
score = model.predict_proba(new_lead)[0, 1]
print(f"Conversion probability: {score:.2f}")The common error is training on too little or biased history. A model trained on six leads, as here, only shows the idea. Real systems need many examples with reliable outcomes.
Generative features
A generative model, usually a large language model, writes new content from a prompt and context such as the contact's name or the campaign goal. It can produce fluent text that is wrong, so the output is a draft, not a fact.
Classification features
A classifier assigns one label, or several, from a list defined in advance. Spam filters and inbox categories work this way. Errors come in two forms: a wanted message labelled as unwanted, and the reverse. Which one costs more depends on the business.
Retrieval features
Retrieval finds existing material that matches a request. It does not invent content. When paired with a generative model, retrieval supplies the facts and the model words the answer. This keeps answers tied to your own data.
Common errors when reading feature claims
- Calling every feature "AI" without asking what it outputs. Ask whether it predicts, writes, labels, or fetches.
- Treating a probability as a certainty. A score of 0.80 means the model expects about eight in ten such leads to convert, not that this lead will.
- Trusting generated text without a check, especially for facts, prices, or promises.
Exercise
A CRM feature reads the text of an incoming support email and tags it as "billing", "technical", or "sales". Which kind of feature is it, and what is one way it can fail?
Show answer
It is a classification feature, because it assigns a label from a fixed list. It can fail by giving the wrong label, for example tagging a billing complaint as "sales", which sends it to the wrong team.
Exercise
A dashboard feature answers "Which region had the most signups last week?" by running a query against your data and showing the result. Which kind is most prominent, and why is it less likely to invent facts than a pure text generator?
Show answer
Retrieval is most prominent. The answer comes from existing records returned by the query, so the figures are tied to your data instead of being written freely by a language model.