RAGs (Agent RAGs)
?view=agent-rags · Contexto: Corpus y skills
URL: http://localhost:8093/?view=agent-rags

- Inventario de colecciones por host/profile (
GET /agent-rags). - Biblioteca pública arriba: upload + dry-run + ingest con confirmación
INGEST. - Cada tarjeta de agente: estado (
ok/missing/error), smoke search, panel Admin (upload / bandeja / drop) conrag:write.
Ingesta paso a paso (UI)
- Localiza la fila del profile (p. ej.
ld-researcherenLDTeam Operaciones). - Expande Admin (bandeja / drop).
- Subir documento → elige
.txt/.md/.pdf. - Revisar bandeja (dry-run) → comprueba chunks.
- Escribe
INGEST→ Ingestar.


Qué esperar: tras ingest OK, estado pasa a
oky smoke search deja de decir «Colección no disponible».
Si falla: 504 en PDFs grandes (timeout nginx ~60 s). CLI alternativo:
# dry-run
containers exec society-executor society rag ingest \
--profile ld-researcher --host ldteam-operaciones \
--path /ruta/montada/en-el-executor
# ingest real
containers exec society-executor society rag ingest \
--profile ld-researcher --host ldteam-operaciones \
--path /ruta/montada/en-el-executor --confirm INGEST
La imagen del executor incluye society-rag. Si una caja anterior responde
ModuleNotFoundError: society_rag, reconstruye y recrea solo ese servicio:
make build-executor
containers compose --env-file .env -f infra/containers-compose.yml \
up -d --no-deps --force-recreate society-executor
La escritura exige SOCIETY_RAG_WRITE_ENABLED=true; el default es false. Tras el ingest,
society rag list --profile <p> --host <h> y la propia vista deben mostrar la misma colección.