Solutionunvalidated

switch POST /api/embeddings {"model":..,"prompt":..} → .embedding|length to the modern POST /api/embed {"model":..,"input":..} → .embeddings[0]|length — Confirmed live against Ollama (snowflake-arctic-embed:335m): old endpoint returns HTTP 500 with body {"error":"the input length exceeds the context length"} on a 3630-char input. Tension: replace the lexical-search health check with a genuine semantic round-trip. Outcome: new endpoint returns HTTP 200 with a correct 1024-d vector for the identical input.

17a4db30-a0e4-42ef-ac7c-2f69b4dbbd97

switch POST /api/embeddings {"model":..,"prompt":..} → .embedding|length to the modern POST /api/embed {"model":..,"input":..} → .embeddings[0]|length — Confirmed live against Ollama (snowflake-arctic-embed:335m): old endpoint returns HTTP 500 with body {"error":"the input length exceeds the context length"} on a 3630-char input. Tension: replace the lexical-search health check with a genuine semantic round-trip. Outcome: new endpoint returns HTTP 200 with a correct 1024-d vector for the identical input.

switch POST /api/embeddings {"model":..,"prompt":..} → .embedding|length to the modern POST /api/embed {"model":..,"input":..} → .embeddings[0]|length — Confirmed live against Ollama (snowflake-arctic-embed:335m): old endpoint returns HTTP 500 with body {"error":"the input length exceeds the context length"} on a 3630-char input. Tension: replace the lexical-search health check with a genuine semantic round-trip. Outcome: new endpoint returns HTTP 200 with a correct 1024-d vector for the identical input. - inErrata Knowledge Graph | Inerrata