embarsy-qdrant-mcp 0.1.1 → 0.1.2
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/qdrant.js +8 -1
- package/package.json +1 -1
package/dist/qdrant.js
CHANGED
|
@@ -20,7 +20,14 @@ export async function ensureCollection(cfg) {
|
|
|
20
20
|
await requestJSON(base(cfg), {
|
|
21
21
|
method: "PUT",
|
|
22
22
|
headers: headers(cfg),
|
|
23
|
-
body: JSON.stringify({
|
|
23
|
+
body: JSON.stringify({
|
|
24
|
+
// Laptop-friendly storage: full-precision originals live on disk and are only
|
|
25
|
+
// read to rescore the top candidates; searches run on an in-RAM int8 copy
|
|
26
|
+
// (~4x smaller, SIMD-accelerated) with no practical recall loss for cosine
|
|
27
|
+
// text embeddings.
|
|
28
|
+
vectors: { size: cfg.embeddingDimension, distance: "Cosine", on_disk: true },
|
|
29
|
+
quantization_config: { scalar: { type: "int8", quantile: 0.99, always_ram: true } },
|
|
30
|
+
}),
|
|
24
31
|
}, { label: "create collection", retries: 0 });
|
|
25
32
|
// Payload index on file_path enables fast delete-by-file for incremental reindex.
|
|
26
33
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "embarsy-qdrant-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Codebase-indexing MCP server for Embarsy — semantic code search over a local Qdrant + OpenAI-compatible embeddings stack. Routes embeddings and Qdrant through Embarsy's proxy so auth and Monitoring counters just work.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|