浏览代码

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 3 周之前
父节点
当前提交
eca83eeb47
共有 1 个文件被更改,包括 0 次插入 和 0 次删除
  1. 0 0
      api/llms.txt

文件差异内容过多而无法显示
+ 0 - 0
api/llms.txt


部分文件因为文件数量过多而无法显示