Explorar el Código

docs: /vectors takes a precomputed vector, and say so where it is misread

The route reference and openapi.json both already document this correctly and
explicitly ("supply either `text` (auto-embedded) or a pre-computed `vector`
array"), so there was no documentation defect - and I told a consumer there
was, conceding their framing without checking either file. That is the uncited
claim this repo keeps recording, committed about our own docs.

What DID mislead is the error-slug prose, which says "Only POST .../vectors
embeds, so send text there". Every word is true and it is about where text
goes; read on its own it defines the route's PURPOSE as embedding. A consumer
sizing a 26186-row migration concluded that every row would be a synchronous
provider call from inside our process, which changed their duration estimate,
their concurrency request and their assessment of the blast radius on other
tenants - from a sentence that is not wrong.

So the clause stays and gains the thing it does not say. A true sentence can
still carry a false implication, and the place to fix that is where the
misreading happened rather than where the correct text already sits.
fszontagh hace 3 semanas
padre
commit
eca83eeb47
Se han modificado 1 ficheros con 0 adiciones y 0 borrados
  1. 0 0
      api/llms.txt

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
api/llms.txt


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio