docs(fase4): sync-knowledge end-to-end ok + RAG indexou (4 chunks Gemini 768d)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
VPS 4 Builder
2026-06-28 16:53:50 +02:00
parent cad5dcb0c7
commit 2a99eb9c16
2 changed files with 14 additions and 3 deletions
+4 -2
View File
@@ -22,8 +22,10 @@
(`secret` len 64, url `127.0.0.1:4001`, eventos ok). Topologia co-locada;
live ponta-a-ponta exige satélite rodando co-locado. ⚠️ `/nw/*` usa chave
diferente (`nwk_…1039`) — reconciliar se esse sentido for usado.
- [ ] **Fase 4** Rodar `sync-knowledge` end-to-end (satélite → motor) e validar RAG.
_Bloqueado: requer satélite rodando + Fase 3._
- [x] **Fase 4**`sync-knowledge` rodado end-to-end (driver com `buildKnowledgeText`
real do satélite `mercado`@VPS3 → motor dev). Nó `knowledge` atualizado; RAG
indexou 4 chunks com embedding Gemini 768d. ⚠️ geração LLM em 429 quota
(billing). Fix de brinde: `/secretaria/ask` `remoteJid``jid`.
- [ ] **Fase 5** — Satélite consumir `messages.transcription` do motor e **remover
`media-transcribe.js`** redundante. Unificar fonte da chave Gemini
(`cfg.gemini_key` vs `process.env.GEMINI_API_KEY`).