Premium Only Content

Implementing the CS50 Duck with OpenAI's APIs - Rongxin Liu & David J. Malan
A hands-on introduction to implementing your own AI-based chatbot using OpenAI’s APIs, maybe a duck or even a cat!
Source code at https://github.com/cs50/ai-workshop.
Slides at https://docs.google.com/presentation/....
Paper at https://cs.harvard.edu/malan/publicat....
In Summer 2023, we developed and integrated a suite of AI-based software tools into CS50 at Harvard University. These tools were initially available to approximately 70 summer students, then to thousands of students online, and finally to several hundred on campus during Fall 2023. Per the course's own policy, we encouraged students to use these course-specific tools and limited the use of commercial AI software such as ChatGPT, GitHub Copilot, and the new Bing. Our goal was to approximate a 1:1 teacher-to-student ratio through software, thereby equipping students with a pedagogically-minded subject-matter expert by their side at all times, designed to guide students toward solutions rather than offer them outright. The tools were received positively by students, who noted that they felt like they had "a personal tutor.'' Our findings suggest that integrating AI thoughtfully into educational settings enhances the learning experience by providing continuous, customized support and enabling human educators to address more complex pedagogical issues. In this paper, we detail how AI tools have augmented teaching and learning in CS50, specifically in explaining code snippets, improving code style, and accurately responding to curricular and administrative queries on the course's discussion forum. Additionally, we present our methodological approach, implementation details, and guidance for those considering using these tools or AI generally in education.
***
This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.
***
-
7:29
CS50 Harvard
4 months agoVariables - CS50P Shorts
26 -
UPCOMING
The Mike Schwartz Show
53 minutes agoTHE MIKE SCHWARTZ SHOW Evening Edition 08-04-2025
19 -
UPCOMING
Quite Frankly
6 hours ago"NY Earthquake, Restoration Projects, WNBA Goes GREEN" 8/4/25
1.25K4 -
30:08
ArturRehi
6 hours agoInsane Explosions in Russia and people are enjoying it! | Ukraine Update
18 -
1:17:41
Kim Iversen
2 hours agoLock Her Up! The Durham Appendix Proves Maybe They Should Have
73K38 -
37:07
Kimberly Guilfoyle
5 hours agoAmerica First Energy Revives Our Nation | Ep243
75K30 -
8:58
MattMorseTV
3 hours ago $0.74 earnedTrump just DROPPED the RECEIPTS.
13.4K16 -
LIVE
Robert Gouveia
2 hours agoDemocrats FAIL to APPEAR! Time for WARRANTS?? Victim Speaks Out! Habba FIGHTS!
590 watching -
13:49
Bearing
10 hours agoSydney Sweeny’s N@ZI Jeans?! 💥 Woke Crybabies MELT DOWN Over Pants 🤣
7.88K70 -
Jamie Kennedy
11 hours agoControlled Collapse: How They Normalize the End of the World | Ep 216 HTBITY w/Jamie Kennedy WOF#44
4.65K