abb-opencode-local-rag 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/install-skills.d.ts +4 -4
- package/dist/bin/install-skills.js +20 -20
- package/dist/bin/install-skills.js.map +1 -1
- package/dist/cli/delete.js +1 -1
- package/dist/cli/ingest.js +2 -2
- package/dist/cli/ingest.js.map +1 -1
- package/dist/cli/list.js +1 -1
- package/dist/cli/options.js +2 -2
- package/dist/cli/options.js.map +1 -1
- package/dist/cli/query.js +2 -2
- package/dist/cli/query.js.map +1 -1
- package/dist/cli/read-neighbors.js +2 -2
- package/dist/cli/status.js +1 -1
- package/dist/cli/sync.js +1 -1
- package/dist/cli-main.js +2 -2
- package/dist/cli-main.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/server-main.d.ts +1 -1
- package/dist/server-main.js +1 -1
- package/package.json +4 -47
- package/README.de.md +0 -416
- package/README.es.md +0 -416
- package/README.fr.md +0 -416
- package/README.md +0 -491
- package/README.pt-BR.md +0 -416
- package/README.zh-CN.md +0 -416
- package/skills/mcp-local-rag/SKILL.md +0 -308
- package/skills/mcp-local-rag/references/cli-reference.md +0 -175
- package/skills/mcp-local-rag/references/html-ingestion.md +0 -78
- package/skills/mcp-local-rag/references/query-optimization.md +0 -57
- package/skills/mcp-local-rag/references/result-refinement.md +0 -56
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Result Refinement Reference
|
|
2
|
-
|
|
3
|
-
Core rules (score, include/skip) are in SKILL.md. This covers when and how to combine multiple results.
|
|
4
|
-
|
|
5
|
-
## When to Synthesize vs Filter
|
|
6
|
-
|
|
7
|
-
Match approach to user intent:
|
|
8
|
-
|
|
9
|
-
| User Intent | Approach | Why |
|
|
10
|
-
|-------------|----------|-----|
|
|
11
|
-
| Specific answer ("how to X") | Filter to 1-2 best | Extra results add noise |
|
|
12
|
-
| Understanding a topic | Synthesize multiple | Builds complete picture |
|
|
13
|
-
| Troubleshooting error | Filter to direct cause | Tangential info confuses |
|
|
14
|
-
| Comparing options | Synthesize with structure | Need all perspectives |
|
|
15
|
-
|
|
16
|
-
## Multiple Results Handling
|
|
17
|
-
|
|
18
|
-
### Synthesis
|
|
19
|
-
|
|
20
|
-
When: User needs comprehensive understanding.
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
Result 1: "API accepts JSON..."
|
|
24
|
-
Result 2: "Auth uses Bearer tokens..."
|
|
25
|
-
→ Combine into unified answer
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### Deduplication
|
|
29
|
-
|
|
30
|
-
When: Results overlap significantly.
|
|
31
|
-
|
|
32
|
-
1. Pick most complete result
|
|
33
|
-
2. Add only unique info from others
|
|
34
|
-
|
|
35
|
-
### Contradiction Resolution
|
|
36
|
-
|
|
37
|
-
When: Results conflict.
|
|
38
|
-
|
|
39
|
-
Priority: Lower score (= better match)
|
|
40
|
-
If unresolved → Note discrepancy to user
|
|
41
|
-
|
|
42
|
-
## Chunk Context
|
|
43
|
-
|
|
44
|
-
Single chunks may lack context ("as described above").
|
|
45
|
-
|
|
46
|
-
- Use `fileTitle` as the chunk's document-level context—it identifies the source document's topic
|
|
47
|
-
- Note when information is partial
|
|
48
|
-
- Group multiple chunks from same `filePath` as coherent sections
|
|
49
|
-
|
|
50
|
-
## No Results
|
|
51
|
-
|
|
52
|
-
1. Rephrase query (alternative terms)
|
|
53
|
-
2. Broaden scope
|
|
54
|
-
3. If `scope` was passed, confirm it is an absolute path prefix — a relative prefix silently matches nothing
|
|
55
|
-
4. Check ingestion (`list_files`)
|
|
56
|
-
5. Inform user: no matching content
|