p2.3: pin chunk 0, hybrid score, keep question on retry

Question-mode selection always keeps the lead chunk, then fills
the budget by 0.7 cosine + 0.3 term overlap. prompt_version 2.
too-large embed retry no longer halves the question (index 0).
This commit is contained in:
2026-09-23 03:18:29 -07:00
parent 5dbc7e4094
commit 767c12c1af
3 changed files with 95 additions and 5 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import (
_ "modernc.org/sqlite"
)
const PromptVersion = "1"
const PromptVersion = "2"
type DB struct {
sql *sql.DB