Ver Fonte

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 há 3 semanas atrás
pai
commit
eca83eeb47
1 ficheiros alterados com 0 adições e 0 exclusões
  1. 0 0
      api/llms.txt

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
api/llms.txt


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff