InputPOST /api/v1/x402/semantic-similarity-embed
{
"texts": [
"A green apple is on the table."
]
}
Web and API intelligence · utilities
Generate text embeddings (384-dimension BGE vectors) and a pairwise cosine similarity matrix for up to 8 English texts at $0.003 USDC via x402 on Base or Solana. Built for AI agents running semantic search, RAG retrieval, clustering, and deduplication locally without an external embedding key; bounded to 8 texts (2,048 chars / 256 tokens each, truncation reported), no subscription.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/semantic-similarity-embed -m POST -H 'x-delx-source: product-page' --max-amount 0.003 -b '{"texts":["A green apple is on the table."]}'
{
"texts": [
"A green apple is on the table."
]
}
{
"tool_name": "semantic_similarity_embed",
"result": {
"schema": "delx/semantic-similarity/v1",
"model": "BAAI/bge-small-en-v1.5",
"model_revision": "5c38ec7c405ec4b44b94cc5a9bb96e735b38267a",
"dimensions": 384,
"embeddings": [
[
0.0225,
0.0028,
0.0394,
-0.1002,
0.0119,
-0.0368,
0.0848,
-0.0127,
0.0434,
0.0798,
-0.0243,
-0.0143,
-0.0188,
0.0436,
0.0138,
0.0282,
0.0367,
0.002,
-0.0428,
-0.0275,
0.0221,
-0.0949,
-0.0033,
-0.0717,
-0.0109,
0.0095,
-0.0514,
-0.0566,
-0.0043,
-0.1343,
-0.0697,
0.0138,
0.0107,
0.0159,
-0.0317,
-0.0464,
-0.0331,
0.0007,
-0.0048,
-0.0026,
0.0575,
-0.0028,
-0.0718,
0.0093,
0.029,
0.0144,
-0.002,
-0.012,
0.0605,
0.0079,
-0.0593,
-0.0486,
-0.0481,
-0.0585,
0.0132,
0.105,
0.0832,
-0.0058,
0.0075,
0.0692,
0.0223,
0.0006,
-0.0916,
0.0669,
0.0382,
-0.0753,
-0.0389,
0.0254,
0.0127,
-0.025,
0.0428,
0.0339,
0.0736,
0.0367,
0.0138,
-0.0638,
0.003,
-0.0806,
-0.0192,
-0.007,
-0.0427,
0.0142,
-0.0422,
-0.0242,
0.0108,
-0.0214,
-0.0725,
-0.0255,
0.0337,
-0.0146,
-0.073,
0.0005,
0.0134,
-0.0536,
-0.0547,
0.0108,
0.0455,
0.0193,
-0.0814,
0.3045,
0.0165,
0.0338,
0.0316,
0.027,
-0.0424,
-0.0487,
-0.0097,
-0.0798,
0.021,
-0.0068,
-0.0613,
-0.0192,
0.0208,
0.0592,
0.0133,
0.018,
0.0437,
0.0462,
-0.0327,
-0.0316,
0.0285,
0.0039,
-0.0396,
-0.0045,
0.0293,
0.0126,
0.0165,
0.0675,
-0.0071,
0.0414,
0.0788,
-0.0328,
0.0721,
-0.0751,
0.0803,
0.0002,
-0.0149,
0.0019,
0.0144,
-0.0568,
-0.0651,
-0.0829,
-0.0262,
-0.0714,
-0.0036,
0.0152,
0.0267,
0.0663,
0.0187,
-0.0004,
-0.0161,
0.0228,
0.0635,
-0.0162,
-0.0376,
0.081,
-0.0311,
0.0385,
-0.0132,
0.0305,
-0.0013,
0.0189,
-0.0048,
-0.0165,
0.0028,
-0.046,
-0.0205,
0.015,
0.0289,
-0.0011,
0.0508,
0.0834,
-0.0263,
0.0275,
0.0202,
-0.0298,
0.0471,
-0.0366,
0.0312,
-0.0098,
0.0946,
-0.0349,
-0.0753,
0.0106,
0.0816,
-0.0272,
0.0509,
-0.0083,
0.0368,
-0.0008,
0.0587,
0.0409,
-0.0741,
0.0745,
-0.043,
-0.1359,
0.0064,
0.001,
0.0444,
-0.0021,
0.0195,
-0.0418,
-0.0508,
0.0887,
0.0891,
-0.101,
0.0128,
-0.0128,
-0.0006,
0.0411,
0.0467,
0.0058,
0.0345,
-0.0278,
0.0034,
0.0286,
0.0503,
0.0385,
0.0452,
0.0356,
0.0072,
-0.0415,
-0.0137,
-0.2277,
0.0263,
-0.0456,
-0.0261,
-0.0665,
-0.0019,
-0.0092,
-0.0939,
0.0143,
-0.0235,
0.028,
-0.0133,
0.0216,
0.0319,
0.001,
0.0105,
0.0466,
0.0108,
-0.0143,
0.0353,
0.0168,
0.0298,
-0.0066,
-0.0004,
-0.0004,
-0.0533,
0.1768,
0.0308,
-0.0321,
-0.0382,
-0.0232,
0.0153,
-0.0928,
-0.0273,
-0.0019,
0.102,
-0.0068,
-0.0424,
-0.084,
0.0294,
0.0551,
0.0698,
-0.0391,
-0.0052,
0.0179,
-0.0393,
0.0154,
-0.0031,
0.0088,
0.0274,
0.1012,
-0.0116,
0.0343,
0.0852,
0.081,
-0.0279,
-0.0041,
-0.0537,
-0.0447,
-0.0072,
-0.0212,
0.0054,
0.0124,
-0.0084,
0.0322,
0.0127,
-0.0325,
-0.0334,
0.0268,
0.0012,
0.0012,
-0.0567,
0.0737,
0.0068,
0.049,
0.0316,
-0.005,
-0.0714,
-0.075,
-0.0275,
-0.0211,
0.0612,
0.0619,
0.077,
-0.0056,
0.014,
-0.0292,
0.0136,
0.0376,
-0.0726,
0.06,
0.0151,
-0.0191,
0.0367,
0.056,
-0.0035,
-0.2542,
0.0483,
-0.0455,
0.0569,
-0.0027,
0.0247,
-0.0433,
0.0673,
-0.0479,
-0.0049,
-0.0357,
-0.0455,
0.0164,
-0.0517,
0.0121,
-0.007,
-0.005,
-0.0733,
-0.0378,
-0.0313,
0.0686,
0.0429,
0.1149,
-0.0374,
0.0019,
-0.0306,
0.0021,
-0.0263,
0.0069,
0.0071,
0.064,
-0.0449,
0.044,
-0.0381,
0.0675,
0.0363,
-0.0561,
-0.0311,
-0.0447,
-0.0785,
-0.0058,
0.0183,
-0.1129,
0.0537,
0.005,
-0.0398,
0.0144,
-0.0421,
0.0689,
-0.0111,
0.0399,
-0.0307,
-0.0076,
-0.0239,
0.0446,
-0.1129,
-0.0098,
0.0845,
-0.0513,
-0.0523,
0.0329,
0.0344,
0.001,
0.0566,
0.0434
]
],
"cosine_similarity": [
[
1
]
],
"truncated_inputs": [
false
]
}
}
Machine-readable evidence