Spaces:
Sleeping
Sleeping
Commit History
-
Expand the calendar corpus to every faculty, and rewrite the UI copy
Devdan Schretlen +1: Claude Opus 5 (1M context)Corpus: the live crawl covered only the Faculty of Science subtree, five cohort-split programs and three course subjects. It now covers every faculty/college/school plus all 264 course-description subjects, taking the index from 3,770 to 16,576 chunks over 1,702 pages. Subject pages are taxonomy terms the sitemap omits, so enumerate_subjects() reads them from the "Courses by Subject" index at crawl time rather than from a hardcoded list that would go stale. The archive edition keeps its own narrow subject list (ARCHIVE_SUBJECT_PATHS): mirroring 264 more subject pages would double the crawl and blunt the edition-collision trap into generic noise. academic-staff pages are excluded. They are per-faculty rosters of people (114 pages, one a single 159,000-character list of names) that answer nothing about courses, programs or policies, so they were pure retrieval distraction, and the largest exceeded what the embedding model accepts. Two bugs the wider corpus exposed: * chunk_body onl…fcdba1d
-
Render the answer as Markdown, bound API timeouts, fix a false notice
Devdan Schretlen +1: Claude Opus 5 (1M context)Three defects surfaced by a pre-purchase readiness audit. None blocked deployment; all are cheap and user-visible. 1. The answer panel html.escape()d the model's output into a pre-wrap block, so Markdown showed as literal characters. 19 of the 24 recorded answers contain '#', '##' or '**' -- one opens "# Bachelor of Arts: Degree Requirements Comparison". The answer output is now a gr.Markdown component and the renderer emits Markdown, which Gradio renders and sanitises natively: no new dependency and no hand-rolled converter. Source links escape square brackets, since calendar titles carry the edition that way ("Academic Standing [2026/27]"). 2. No hosted client passed an explicit timeout, so the SDK defaults applied: 600 s read for Anthropic and OpenAI, 300 s for Cohere. With concurrency_limit=1 a single stalled call holds the demo's only slot for ten minutes. Real calls take 1-5 s, so config.API_TIMEOUT (UBCAL_API_TIMEOUT, default 60 s) now applies to …9db5d1e -
Added FastAPI app for live HuggingFace demo
Devdan Schretlen024efc3
-
Added RAGChef RAG engine and eval harness
Devdan Schretlen494a4bf