@dakera-ai/dakera 0.11.55 → 0.11.57

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/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
  <a href="https://www.npmjs.com/package/@dakera-ai/dakera"><img alt="Downloads" src="https://img.shields.io/npm/dm/%40dakera-ai%2Fdakera" /></a>
15
15
  <a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/github/license/Dakera-AI/dakera-js" /></a>
16
16
  <a href="https://dakera.ai/docs"><img alt="Docs" src="https://img.shields.io/badge/docs-dakera.ai%2Fdocs-3b82f6?style=flat-square" /></a>
17
- <a href="https://dakera.ai/benchmark"><img alt="LoCoMo 87.6%" src="https://img.shields.io/badge/LoCoMo-87.6%25-22c55e?style=flat-square" /></a>
17
+ <a href="https://dakera.ai/benchmark"><img alt="LoCoMo 87.8%" src="https://img.shields.io/badge/LoCoMo-87.8%25-22c55e?style=flat-square" /></a>
18
18
  </p>
19
19
 
20
20
  ---
@@ -23,7 +23,7 @@
23
23
 
24
24
  | | Dakera | Others |
25
25
  |---|---|---|
26
- | **LoCoMo accuracy** | **87.6%** (1,540 Q standard eval) | 60–92% |
26
+ | **LoCoMo accuracy** | **87.8%** (1,540 Q standard eval) | 60–92% |
27
27
  | **Deployment** | Single binary, Docker one-liner | External vector DB + embedding service required |
28
28
  | **Embeddings** | Built-in — no OpenAI key needed | Requires external embedding API |
29
29
  | **Search modes** | Vector · BM25 · Hybrid · Knowledge Graph | Usually one or two |
@@ -38,11 +38,11 @@
38
38
  ```bash
39
39
  docker run -d \
40
40
  --name dakera \
41
- -p 3300:3300 \
41
+ -p 3000:3000 \
42
42
  -e DAKERA_ROOT_API_KEY=dk-mykey \
43
43
  ghcr.io/dakera-ai/dakera:latest
44
44
 
45
- curl http://localhost:3300/health # → {"status":"ok"}
45
+ curl http://localhost:3000/health # → {"status":"ok"}
46
46
  ```
47
47
 
48
48
  For persistent storage with Docker Compose:
@@ -73,7 +73,7 @@ Works with **Node.js** (20+), **Deno**, **Bun**, **Cloudflare Workers**, and mod
73
73
  import { DakeraClient } from '@dakera-ai/dakera';
74
74
 
75
75
  const client = new DakeraClient({
76
- baseUrl: 'http://localhost:3300',
76
+ baseUrl: 'http://localhost:3000',
77
77
  apiKey: 'dk-mykey',
78
78
  });
79
79
 
@@ -143,19 +143,19 @@ import { DakeraClient } from '@dakera-ai/dakera';
143
143
 
144
144
  // Self-hosted
145
145
  const client = new DakeraClient({
146
- baseUrl: 'http://your-server:3300',
146
+ baseUrl: 'http://your-server:3000',
147
147
  apiKey: 'your-key',
148
148
  });
149
149
 
150
150
  // Cloud (early access)
151
151
  const client = new DakeraClient({
152
- baseUrl: 'https://api.dakera.ai',
152
+ baseUrl: 'http://<your-server-ip>:3000',
153
153
  apiKey: 'your-key',
154
154
  });
155
155
 
156
156
  // With custom retry config
157
157
  const client = new DakeraClient({
158
- baseUrl: 'http://localhost:3300',
158
+ baseUrl: 'http://localhost:3000',
159
159
  apiKey: 'your-key',
160
160
  retryBackoff: { maxRetries: 5, baseDelayMs: 200, maxDelayMs: 10000 },
161
161
  });