Spaces:
Sleeping
Sleeping
Commit History
-
Add per-organization Google Sheet sync
Donne120 +1: Claude Opus 5Sheet ingestion was single-tenant: one KNOWLEDGE_JSON_URL environment variable, one SheetSync, one collection. Retrieval and document upload are both per-organization now, so Sheets was the last path where a second university had nowhere to put its own content — their rows would have had to go in ALU's Sheet, landing in ALU's collection and answering ALU's students. Each university now keeps its own Sheet, stored as organizations.sheet_url beside the rest of its tenant configuration, and it syncs into that university's own collection through the same org_registry path retrieval and uploads use. - schema_organization_sheet_url.sql adds the nullable column. An organization without a Sheet is a normal state, not an error — its knowledge base can still be filled by upload. - SheetSync takes an optional json_url and organization_id. Omit both and it behaves exactly as before, so ALU's existing sync is untouched. - Version markers are now per organization. A shared marker would make …2b18225