{"uid":"cap_YDvuhH0uUJDKqIScdkm_z","slug":"signaldesk-ai-jaccard-similarity-cbbe779a","name":"SignalDesk AI – Jaccard Similarity","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/text/jaccard-similarity?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"string","maxLength":4096,"description":"Text to process."},"b":{"type":"string","maxLength":4096,"description":"Text to process."}}},"responseSchema":{"type":"json","example":{"union":3,"similarity":0.3333333333333333,"intersection":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1DsFM4SlSdrXK4MWCSu4f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Jaccard similarity coefficient between two text strings by comparing their token sets","exampleAgentPrompt":"Can you compute the Jaccard similarity between these two texts: 'the quick brown fox jumps over the lazy dog' and 'the fox jumped over the dog'?","exampleUseCases":[{"title":"Duplicate product description detection","prompt":"I have two product descriptions and want to know how similar they are — can you run a Jaccard similarity check between 'Lightweight waterproof hiking boots with ankle support' and 'Waterproof ankle boots designed for lightweight hiking'?"},{"title":"Plagiarism screening for student submissions","prompt":"Check whether these two essay excerpts overlap too much: 'Machine learning enables computers to learn from data without explicit programming' versus 'Computers can learn from data using machine learning without being explicitly programmed'."},{"title":"Deduplicating news article snippets","prompt":"I'm pulling headlines from two feeds and want to know if they're covering the same story — what's the Jaccard similarity between 'Senate passes new climate legislation amid bipartisan support' and 'Bipartisan Senate vote approves landmark climate bill'?"}],"resultDescription":"Returns a JSON object with three fields: 'similarity' (a float between 0 and 1 representing the Jaccard coefficient), 'intersection' (number of tokens shared by both texts), and 'union' (total unique tokens across both texts).","failureModes":["Input text exceeds 4096 characters — request rejected","Missing field 'a' or 'b' — validation error returned","Payment not provided or insufficient — 402 Payment Required","Empty strings produce a similarity of 0 with intersection 0 and union 0"],"whenToPreferThis":"Choose this endpoint when you need a fast, lightweight, token-set-based similarity score between two texts without requiring embeddings or ML inference. It is ideal for deduplication pipelines, near-duplicate detection, and simple overlap scoring where interpretability and speed matter more than semantic understanding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:37.061Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-jaccard-similarity-cbbe779a"}