summaryrefslogtreecommitdiff
path: root/rag/rag.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-05 14:13:58 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-05 14:13:58 +0300
commitfbc955ca37836553ef4b7c365b84e3dfa859c501 (patch)
treeb5b5d67f7e7ab43c6c91ea9a3e2519b341b650ba /rag/rag.go
parentc65c11bcfbc563611743d02039420533bcfe9d05 (diff)
Enha: local onnx
Diffstat (limited to 'rag/rag.go')
-rw-r--r--rag/rag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rag/rag.go b/rag/rag.go
index b63cb08..3d0f38f 100644
--- a/rag/rag.go
+++ b/rag/rag.go
@@ -246,7 +246,7 @@ func (r *RAG) extractImportantPhrases(query string) string {
break
}
}
- if isImportant || len(word) > 3 {
+ if isImportant || len(word) >= 3 {
important = append(important, word)
}
}