Request schema: the SemanticQuery description keeps its newlines escaped

The previous commit wrote raw newlines into the JSON string, which the
published file must not hold.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-25 20:03:08 +01:00
commit 1868f6a023

View file

@ -1857,9 +1857,7 @@
]
},
"SemanticQuery": {
"description": "A semantic query: the text to find documents near, and how many. The index\nowns which fields of each kind are text (`index_text`), so no substring\nfilter lives here to become a second answer to that question. `top_k` is
the most rows answered, all of them members of the selection: the
selection decides membership before the index is asked.",
"description": "A semantic query: the text to find documents near, and how many. The index\nowns which fields of each kind are text (`index_text`), so no substring\nfilter lives here to become a second answer to that question. `top_k` is\nthe most rows answered, all of them members of the selection: the\nselection decides membership before the index is asked.",
"type": "object",
"properties": {
"text": {