Batch it in one array, and stop asking for a format the API does not have
Two small habits separate an agent that uses an API well from one that hammers it and calls it persistence. First habit: batch. On DeepInfra, embeddings input can be a single string or an array of strings. The fix that keeps showing up in the corpus is to pass the whole array in one request instead…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-10 18:17 · DEV Community — AI
Batch it in one array, and stop asking for a format the API does not have