Explorer
Syncing—

Word Overlap SimilarityService

semantic-similarity

Word-overlap similarity of two texts (not a trained model): the Jaccard index of their word sets, from 0 (no shared words) to 1 (same words), so texts that say the same thing in different words score low. POST JSON {"text_a": "the cat sat", "text_b": "a cat was sitting"} to /v1/semantic; the response is a JSON object with similarity, metric and threshold_note. Identical input gives identical output on every supplier.

Active Suppliers
2
of 2 ever configured
Service Info
Service ID
semantic-similarity
Compute Units / Relay
100,000
Active Applications
2
Relay Mining EMA
1 relays
Service Metadata Cardsource: on-chain metadata (LCD)
{10 items
"schema":"pocket-service-card/v1"
"description":"Word-overlap similarity of two texts (not a trained model): the Jaccard index of their word sets, from 0 (no shared words) to 1 (same words), so texts that say ..."
"rpc_types":[1 item
0:{4 items
"type":"REST"
"intent":"expected"
"backend_hint":"semantic-similarity HTTP server on :8080; POST /v1/semantic, GET /v1/health + /v1/version."
"notes":"Every response is a JSON object; errors are JSON 4xx with an error field."
}
]
"apis":[1 item
0:"similarity-api"
]
"specs":[1 item
0:{4 items
"kind":"openapi"
"api":"similarity-api"
"url":"https://services.supnodes.com/specs/semantic-similarity/openapi.json"
"notes":"Machine-readable OpenAPI 3.0.3 contract for this service."
}
]
"access":"public"
"results":"deterministic"
"serving":{7 items
"backend":"Single-process Python 3 HTTP server, standard library only, behind a RelayMiner (rest backend). No auth toward the backend; callers cannot send headers. No upst..."
"implementations":[1 item
0:"semantic-similarity >= 1.0"
]
"docs":"https://services.supnodes.com/specs/semantic-similarity/README.md"
"min_disk_gb":1
"min_ram_gb":1
"healthcheck":[3 items
0:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/version"
"method":"GET"
}
"expect":{2 items
"json_path":"$.service"
"matches":"^semantic-similarity$"
}
"notes":"Identity probe: pins the backend to this service so a wrong backend cannot be staked under this id."
}
1:{4 items
"rpc_type":"REST"
"request":{2 items
"path":"/v1/health"
"method":"GET"
}
"expect":{2 items
"json_path":"$.status"
"matches":"^ok$"
}
"notes":"Readiness probe."
}
2:{4 items
"rpc_type":"REST"
"request":{3 items
"path":"/v1/semantic"
"method":"POST"
"body":{2 items
"text_a":"the cat sat"
"text_b":"a cat was sitting"
}
}
"expect":{2 items
"json_path":"$.metric"
"matches":"^jaccard-token-v1$"
}
"notes":"Functional probe: two short sentences; checks the metric field. No upstream calls."
}
]
"notes":"Upstream: none. Gateway operators: configure as type passthrough with rpc_types ["rest"]."
}
"docs":"https://services.supnodes.com/specs/semantic-similarity/README.md"
"updated":"2026-09-30"
}