feat: chunks recherche (snippets) + script migration
1. Recherche: fetchChunkSnippets() — après le classement RRF existant, récupère les passages précis qui matchent depuis NoteEmbeddingChunk. Pur affichage, AUCUN changement de classement. 2. Script migration: scripts/migrate-chunk-embeddings.ts Indexe toutes les notes existantes en fragments. Batch de 10, barre de progression. Usage: npx tsx scripts/migrate-chunk-embeddings.ts 3. Memory Echo chunk-level: à faire (US restante)
This commit is contained in:
2
monitoring/metrics-token.example
Normal file
2
monitoring/metrics-token.example
Normal file
@@ -0,0 +1,2 @@
|
||||
# Copy to metrics-token at deploy time (see scripts/deploy-prod.sh)
|
||||
# Example: openssl rand -hex 32 > monitoring/metrics-token
|
||||
@@ -18,6 +18,11 @@ scrape_configs:
|
||||
static_configs:
|
||||
- targets: ['memento-note:3000']
|
||||
|
||||
- job_name: 'mcp-server'
|
||||
metrics_path: '/metrics'
|
||||
static_configs:
|
||||
- targets: ['mcp-server:3001']
|
||||
|
||||
- job_name: 'node-exporter'
|
||||
static_configs:
|
||||
- targets: ['node-exporter:9100']
|
||||
|
||||
Reference in New Issue
Block a user