docs(fb-38): wire schema + README + design + SKILL + INDEX

This commit is contained in:
th-kim0823
2026-05-10 18:21:55 +09:00
parent 67aee9f480
commit c864bd007f
6 changed files with 65 additions and 3 deletions

View File

@@ -24,6 +24,11 @@
"schema_version": { "const": "search_hit.v1" },
"rank": { "type": "integer", "minimum": 1 },
"score": { "type": "number" },
"score_kind": {
"type": "string",
"enum": ["rrf", "bm25", "cosine"],
"description": "p9-fb-38: kind of `score` value. `rrf` = RRF normalized [0,1] (hybrid mode); `bm25` = raw BM25 score (lexical-only); `cosine` = raw cosine similarity (vector-only). Older clients that omit this field can treat absence as `rrf` (the historical default)."
},
"chunk_id": { "type": "string" },
"doc_id": { "type": "string" },
"doc_path": { "type": "string" },