iliad_embeddings
ActiveTool of AXIS Toolbox — Agentic Commerce Codebase Intelligence
Convert text into dense vectors. Accepts a single string or a batch (max 2048). Returns one vector per input plus token usage. Currently proxies OpenAI /v1/embeddings (model: text-embedding-3-small by default, overridable via OPENAI_EMBEDDING_MODEL). Requires Authorization: Bearer <api_key> to call. When OPENAI_API_KEY is not provisioned, returns a structured `_not_configured: true` envelope. Pairs natively with iliad_vector_database — feed `vectors` from this tool's output into `vector` of the vector_database upsert/query calls. Engineer mode (X-Agent-Mode: engineer — Domain Embeddings, $0.08): pass `dimensions` (Matryoshka truncation → smaller vectors) and/or `corpus_adapter: true` (mean-center the batch to sharpen retrieval on your data); returns an `engineer` block with the fitted adapter_mean for query alignment.
Parameters schema
{
"type": "object",
"required": [
"input"
],
"properties": {
"input": {
"type": [
"string",
"array"
],
"description": "A single string or an array of strings to embed. Empty strings and entries > 32k chars are rejected (chunk before calling)."
},
"dimensions": {
"type": "number",
"description": "Engineer mode: truncate each vector to this many leading dims (Matryoshka) + renormalize. Smaller, cheaper vectors."
},
"corpus_adapter": {
"type": "boolean",
"description": "Engineer mode: mean-center the batch (all-but-the-mean) to sharpen retrieval; returns the fitted adapter_mean."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
AXIS Toolbox — Agentic Commerce Codebase Intelligence
https://github.com/lastmanupinc-hub/Toolbox
1/7 registries