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
@@ -376,53 +376,134 @@ Notes that don't match any signal with sufficient confidence stay in place. Dail
376
376
377
377
## ChatGPT Actions
378
378
379
-
`engraph serve --http` can expose your vault to ChatGPT as a custom Action. engraph generates a standards-compliant OpenAPI 3.1.0 spec and a ChatGPT plugin manifest automatically.
379
+
Connect your Obsidian vault to ChatGPT as a custom GPT Action. ChatGPT can search, read, create, and edit your notes through engraph's REST API.
380
380
381
-
**Set up:**
381
+
### Prerequisites
382
+
383
+
- engraph installed and indexed (`engraph index ~/your-vault`)
384
+
- A tunnel tool: [Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-local-tunnel/) (recommended) or [ngrok](https://ngrok.com)
385
+
386
+
### Step 1: Configure engraph
382
387
383
388
```bash
389
+
# Interactive setup — enables HTTP, creates API key, sets CORS
384
390
engraph configure --setup-chatgpt
385
391
```
386
392
387
-
Interactive helper that:
388
-
1. Enables HTTP mode (if not already on)
389
-
2. Creates a write-permission API key
390
-
3. Configures CORS for `https://chat.openai.com`
391
-
4. Prompts for your public URL (ngrok or similar)
393
+
Or configure manually in `~/.engraph/config.toml`:
- Results include confidence % — prefer higher confidence matches
477
+
- Fuzzy matching works: typos in names are handled
478
+
479
+
STYLE:
480
+
- Reference vault notes by name when answering
481
+
- Quote relevant snippets
482
+
- If information isn't in the vault, say so clearly
483
+
- Be concise
484
+
```
485
+
486
+
4. Click **Add Action** → **Import from URL**
487
+
5. Enter: `https://your-tunnel-url/openapi.json`
488
+
6. Click the **gear icon** next to Authentication
489
+
7. Select **API Key**, Auth Type: **Bearer**
490
+
8. Paste your API key (the `eg_...` key from Step 1)
491
+
9.**Save** and test
492
+
493
+
### Conversation starters
494
+
495
+
- "What happened in my vault last week?"
496
+
- "Summarize my current work projects"
497
+
- "Find notes related to [topic]"
498
+
- "Create a note about today's meeting with [person]"
499
+
500
+
### Notes
501
+
502
+
-**Tunnel URLs are temporary** (Cloudflare quick tunnels change on restart). For persistent URLs, set up a [named Cloudflare tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-local-tunnel/) or use ngrok with a reserved domain.
503
+
-**Read-only mode**: set `permissions = "read"` on the API key if you don't want ChatGPT to create or modify notes.
504
+
-**Rate limiting**: default is 60 requests/minute per key. Adjust `rate_limit` in config if needed.
505
+
-**engraph must be running** on your machine for ChatGPT to access it. If you close the terminal, the connection drops.
506
+
426
507
## Use cases
427
508
428
509
**AI-assisted knowledge work** — Give Claude or Cursor deep access to your personal knowledge base. Instead of copy-pasting context, the agent searches, reads, and cross-references your notes directly.
0 commit comments