Curating knowledge collections

Alt text: CUNY AI Lab
Led by Zach Muhlbauer and Meha Gupta
New Media Lab · Room 7388.01
CUNY Graduate Center
Workshop Roadmap
Workshop Agenda
Retrieval-Augmented Generation
RAG Under the Hood
Explore STEM Adventures
Clone Custom Model
Select Workspace in left sidebar, then Models. Search for STEM Adventure Games. Open ⋯ beside it and select Clone.
Alt text: Workspace Models filtered to STEM Adventure Games, with white annotations identifying Workspace in left sidebar and Clone for original model.
Name Your Copy
Give your copy a unique name and model ID. Base model, system prompt, and settings carry over when you clone.
Scroll to bottom and select Save & Create.
Alt text: STEM Adventure Games clone form with white annotations identifying its name, model ID, and base model.
Try Custom Model
Open New Chat. Select model ID on bottom right of message box. Choose STEM Adventure Games.
Ask for four adventure options, choose one, and try its numbered choices. Ask for another menu to see new options.
Alt text: New chat with original STEM Adventure Games selected. Model selector at bottom right of message box is outlined.
Select Workspace in left sidebar, then Knowledge. Open Sandbox Workshop Collection.
Alt text: Workspace in left sidebar, Knowledge tab, and Sandbox Workshop Collection outlined in Firefox.
Example Sources
At Sandbox Workshop Collection root, instructions.txt describes how sources guide play. Open Wikipedia to see source files.
Alt text: Sandbox Workshop Collection root with Wikipedia folder and instructions.txt outlined and labeled Source files and Source directions.
Wikipedia contains three article files. Open each to review its text and source link.
For your adapted version, start with one article. Add more as needed.
Alt text: Wikipedia directory inside Sandbox Workshop Collection with Women-in-science.txt, Scientific-method.txt, and List-of-experiments.txt outlined together.
Choose Purpose
Find Sources
Create Your Collection
Select Workspace → Knowledge → Create. Name your collection and describe what your sources cover.
Keep access Private and select Create Knowledge.
Alt text: Create a knowledge base form with STEM Workshop Sources entered and white outlines identifying name, description, and Create Knowledge.
Add Source Text
Select Add Content → New directory. Name it Wikipedia, select Create, then open Wikipedia.
Alt text: New directory and Wikipedia directory outlined in Sandbox.
Select Add Content → Add text content. Use article title as filename.
Copy and paste several paragraphs or complete sections from your chosen Wikipedia article, including its link.
Alt text: List of experiments editor filled with Wikipedia experiment entries, with source link outlined.
Select Save. One Wikipedia article is enough to begin. Keep any additional articles in separate files with their links.
Wait for processing, then open each file to check text.
Alt text: Bottom of populated List of experiments editor with Save outlined.
Add Source Guidance
Add Instructions
Select collection name above directory contents to return to its root. Select Add Content → Add text content.
Enter instructions as title; Sandbox adds .txt. Use your page titles and filenames to explain which material grounds scenes, which helps interpret them, and which guides player choices. Select Save.
Alt text: Add text content editor titled instructions, with directions for using three STEM Wikipedia sources. Title outlined; Sandbox adds .txt when saved.
In Workspace → Models, open ⋯ → Edit beside your saved copy.
Under Knowledge, replace STEM Wikipedia Experiments with your own collection. Scroll up to System Prompt.
Alt text: Model editor with Select Knowledge and STEM Workshop Sources in its collection picker annotated.
Test Custom Model
Check Citations
In same chat, ask “Which passage supports this scene? Quote it and cite your source.”
Select a citation beside a response. Does its source passage support that response?
Alt text: STEM Adventure Games chat with citation beside a response outlined and labeled. Message box remains visible.
Compare Responses
Revise and Retest
Share Custom Model
Parting Questions
Workshop Resources
Check responses against sources in your collection. Next workshop introduces tools that retrieve Wikipedia content live.
Next Workshop
2 ➳ 3Configuring skills and tools