Match the words your customers never typed
Superlinked gives your agent one API to expand search queries and support messages into weighted terms, so a sparse index matches listings that use different words.
color switching led lights
ILC RGB LED Light Bulb, Color Changing Light Bulb, 40W Equivalent, 450LM, 2700K Warm White 5W E26 Screw Base RGBW, Flood Light Bulb- 12 Color Choices - Timing Infrared Remote Control (4 Pack)
| Shared term | Query | Listing | Match |
|---|---|---|---|
led | 1.908 | 1.449 | 2.765 |
color | 1.916 | 1.345 | 2.577 |
lights | 1.582 | 1.138 | 1.800 |
colors | 1.299 | 1.352 | 1.755 |
light | 1.359 | 1.237 | 1.682 |
change | 0.882 | 1.316 | 1.161 |
bulb | 0.651 | 1.708 | 1.112 |
| 11 more shared terms | 1.146 | ||
Sparse match score 13.998
- Words in both texts
- 5.342
- Terms SPLADE added
- 8.656
Customer messages and product texts gain the vocabulary exact-match search misses
+ marks a term the model added. Everything else is a word the text already used.
My card still hasn't arrived after 2 weeks. Is it lost?
-
card - + added by the model
week -
lost - + added by the model
cards -
still -
weeks - + added by the model
arrive -
2 - + added by the model
years - + added by the model
two - + added by the model
loss -
after
I transferred money but the recipient says it has not arrived. Why would this be?
- + added by the model
transfer - + added by the model
arrive -
money -
not -
arrived -
transferred -
recipient - + added by the model
because - + added by the model
say - + added by the model
arrival - + added by the model
have - + added by the model
said
Can you freeze my card because someone used it while I was out of town. I did not make these purchases.
-
freeze - + added by the model
frozen -
card -
town - + added by the model
cards -
someone - + added by the model
freezing -
because -
can -
not -
out - + added by the model
use
I'm at an ATM and withdrew 30 pounds and was only given 10. What should I do?
-
atm - + added by the model
pound - + added by the model
withdraw -
pounds - + added by the model
weigh - + added by the model
withdrawal -
30 - + added by the model
much -
should -
10 -
withdrew - + added by the model
weight
chrome notebook
-
chrome -
notebook - + added by the model
laptop - + added by the model
##book - + added by the model
browser - + added by the model
document - + added by the model
my - + added by the model
computer - + added by the model
pen - + added by the model
web - + added by the model
computing - + added by the model
device
The lithium-ion battery in the recalled power banks can overheat and ignite, posing fire and burn hazards to consumers.
-
lithium -
recalled - + added by the model
recall - + added by the model
bank -
power -
##hea -
battery -
banks -
fire - + added by the model
batteries -
ion -
ign
One encode call returns weighted terms ready for your inverted index
from sie_sdk import SIEClientclient = SIEClient( api_key="sk-sie-…", base_url="https://api.superlinked.com",)res = client.encode( "modelprithivida/Splade_PP_en_v2", [{"text": "textDo ATM cash withdrawals carry a charge now? They've been free in the past, but all of a sudden I have to pay to make ATM withdrawals?"}], output_types=["sparse"],)sparse = res[0]["sparse"] # indices = term ids, values = weightspairs = zip(sparse["indices"], sparse["values"])top = sorted(pairs, key=lambda p: -p[1])[:12]for term_id, weight in top: print(f"{float(weight):.2f} {term_id}")import { SIEClient } from '@superlinked/sie-sdk';
const client = new SIEClient('https://api.superlinked.com', {
apiKey: 'sk-sie-…',
});
const [res] = await client.encode(
'prithivida/Splade_PP_en_v2',
[{ text: "Do ATM cash withdrawals carry a charge now? They've been free in the past, but all of a sudden I have to pay to make ATM withdrawals?" }],
{ outputTypes: ['sparse'] },
);
// sparse: { indices, values }, mapping learned term ids to weights
const sparse = res!.sparse!;
const top = [...sparse.indices]
.map((id, i) => ({ id, weight: sparse.values[i] }))
.sort((a, b) => b.weight - a.weight);
console.log(top.slice(0, 12));curl https://api.superlinked.com/v1/encode/prithivida%2FSplade_PP_en_v2 \
-H "Authorization: Bearer sk-sie-…" \
-H "Content-Type: application/json" \
-d "{\"items\":[{\"text\":\"Do ATM cash withdrawals carry a charge now? They've been free in the past, but all of a sudden I have to pay to make ATM withdrawals?\"}],\"params\":{\"output_types\":[\"sparse\"]}}"Build the "Sparse embeddings" capability into my app using the Superlinked Inference Engine (SIE).
Context
- SIE is an OpenAI-style inference API. Python SDK: `from sie_sdk import SIEClient`; TypeScript: `@superlinked/sie-sdk`.
- Base URL: https://api.superlinked.com (or my regional endpoint). Auth: Bearer key from env `SIE_API_KEY` (never hard-code it).
- Model: prithivida/Splade_PP_en_v2 (SIE primitive: /encode). Keep the model id configurable.
Task
- Input: a block of text.
- Behaviour: return the learned sparse term ids and weights, ordered by strongest activation
- Call the selected SIE primitive once per request and map the response into your domain type.
Deliverables
- A typed client wrapper, an application-level function for this task, error handling for timeouts/empty input, and unit tests with a stubbed client.
- Wire it into my existing stack (ask me which framework if unclear) and add a short usage example.- Term ids and weights come from the encode call
- Tokens decoded with the pinned SPLADE vocab.txt
Sparse retrieval quality and latency
Deploy your way
Managed Cloud
Full compute toolkit for your agents with zero ops.
- No idle GPUs, pay for what you use
- Fits your stack: SDK, API, CLI, MCP
- Zero lock-in, self-host the same stack
- SOC 2 Type 2, US or EU data residency
no credit card required
Self-host with K8s
Easy & scalable deployment in your own cloud.
- Terraform to your cloud in minutes
- Apache-2.0, same engine as Cloud
- Scales to zero, no bill between jobs
- Per-tenant pools, no noisy neighbors
Deploy SIE to our AWS account with the superlinked/sie/aws Terraform module. Docs: superlinked.com/docs/deploymentDeploy SIE to our GCP project with the superlinked/sie/google Terraform module. Docs: superlinked.com/docs/deploymentDeploy SIE to our Azure AKS cluster via helm install. Requirements: superlinked.com/docs/deployment Run locally
Run the same models on your own machine.
- Runs on NVIDIA GPU or Apple Silicon
- One command, no Docker or cluster
- All 100+ Cloud models, fully offline
- Same SDK and IDs, no code changes
pip install "sie-server[local]" && sie-server servepip install "sie-server[local]" && sie-server serve --device cuda