You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README_MCP.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ KnowCode MCP Server returns:
46
46
...
47
47
}
48
48
↓
49
-
Agent checks: sufficiency_score >= 0.88?
49
+
Agent checks: sufficiency_score >= 0.8?
50
50
↓
51
51
YES → Answer from context_text only (no external LLM)
52
52
NO → Use external LLM (Claude Sonnet 4.5)
@@ -82,7 +82,7 @@ source .venv/bin/activate
82
82
knowcode analyze . -o .
83
83
```
84
84
85
-
**Note:** This automatically rebuilds both the knowledge store AND the semantic index!
85
+
**Note:** This rebuilds the knowledge store and attempts semantic indexing. If indexing is skipped, run `knowcode index .` after configuring embeddings.
86
86
87
87
## 🐛 Troubleshooting
88
88
@@ -107,9 +107,9 @@ knowcode analyze . -o .
107
107
ls -la knowcode_index/
108
108
```
109
109
110
-
2. If missing, re-run analyze (it will rebuild the index):
110
+
2. If missing, run a dedicated index build:
111
111
```bash
112
-
knowcode analyze. -o .
112
+
knowcode index. --output knowcode_index
113
113
```
114
114
115
115
3. Increase token budget in `.agent/context.md`:
@@ -120,7 +120,7 @@ knowcode analyze . -o .
120
120
## 📊 Success Metrics
121
121
122
122
After setup, you should see:
123
-
- ✅ 70%+ queries with `sufficiency_score >= 0.88`
123
+
- ✅ 70%+ queries with `sufficiency_score >= 0.8`
124
124
- ✅ Faster responses for codebase questions
125
125
- ✅ 50%+ reduction in external LLM token usage
126
126
- ✅ Accurate answers from local context
@@ -134,8 +134,8 @@ After setup, you should see:
134
134
## 🎓 Key Concepts
135
135
136
136
**Sufficiency Score**: Confidence that retrieved context is enough to answer the query
0 commit comments