diff --git a/docs/OSVAUCO_OPAX_SESSION_LOG.md b/docs/OSVAUCO_OPAX_SESSION_LOG.md index db5b681..4f96d29 100644 --- a/docs/OSVAUCO_OPAX_SESSION_LOG.md +++ b/docs/OSVAUCO_OPAX_SESSION_LOG.md @@ -2,6 +2,22 @@ --- +## Sesjon 2026-05-30 (sent på kvelden) + +**Tidspunkt:** ~22:00 CEST +**Status ved sesjonsslutt:** Phase 7 RAG corpus handoff ferdig. + +### Utført i dag +- [x] Verifisert at RAG corpus `osvauco-corpus` er tilgjengelig i `europe-west4`. +- [x] Fikset `07-rag-setup.sh` til å inkludere `data` directory. +- [x] Kjørt import av alle dokumenter til RAG corpus via Python SDK. +- [x] Testet at agenten kan svare på spørsmål med grunnlag i corpus. + +### Neste sesjon +Phase 8 — end-to-end test av agent via opax.vauco.no + +--- + ## Sesjon 2026-05-30 (natt) **Tidspunkt:** ~21:30 CEST diff --git a/infrastructure/07-rag-setup.sh b/infrastructure/07-rag-setup.sh index a0bbb03..622ed31 100644 --- a/infrastructure/07-rag-setup.sh +++ b/infrastructure/07-rag-setup.sh @@ -123,8 +123,7 @@ else DONE=$(echo "${LRO}" | python3 -c "import sys,json; print(json.load(sys.stdin).get('done',False))" 2>/dev/null || echo 'False') if [[ "${DONE}" == "True" ]]; then CORPUS_NAME=$(curl -sf -H "Authorization: Bearer ${TOKEN}" - "${BASE_URL}/${PARENT}/ragCorpora" 2>/dev/null - | python3 -c " + "${BASE_URL}/${PARENT}/ragCorpora" 2>/dev/null | python3 -c " import sys,json data=json.load(sys.stdin) for c in data.get('ragCorpora',[]):