Example inputPOST /api/v1/x402/semantic-similarity-embed
{
"texts": [
"A green apple is on the table."
]
}
Portable intent card · 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.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/semantic-similarity-embed -m POST -H 'x-delx-source: intent-card-semantic-similarity-embed-api' --max-amount 0.003 -b '{"texts":["A green apple is on the table."]}'
{
"texts": [
"A green apple is on the table."
]
}
{
"intent": "Text Embeddings & Similarity BGE for an agent workflow",
"tool_name": "semantic_similarity_embed",
"price_usdc": "0.003",
"machine_url": "https://commerce.delx.ai/intents/semantic-similarity-embed-api.json"
}
Portable and inspectable