♫musicjinni

Implementing the CS50 Duck with OpenAI's APIs - Rongxin Liu & David J. Malan

video thumbnail
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/d/11k93gz0mYpSwaB9bvbtofa2o11Pg7Z2_hrH3pB4APQ0/edit?usp=sharing.

Paper at https://cs.harvard.edu/malan/publications/V1fp0567-liu.pdf.

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.

***

HOW TO SUBSCRIBE

http://www.youtube.com/subscription_center?add_user=cs50tv

HOW TO TAKE CS50

edX: https://cs50.edx.org/
Harvard Extension School: https://cs50.harvard.edu/extension
Harvard Summer School: https://cs50.harvard.edu/summer
OpenCourseWare: https://cs50.harvard.edu/x

HOW TO JOIN CS50 COMMUNITIES

Discord: https://discord.gg/cs50
Ed: https://cs50.edx.org/ed
Facebook Group: https://www.facebook.com/groups/cs50/
Faceboook Page: https://www.facebook.com/cs50/
GitHub: https://github.com/cs50
Gitter: https://gitter.im/cs50/x
Instagram: https://instagram.com/cs50
LinkedIn Group: https://www.linkedin.com/groups/7437240/
LinkedIn Page: https://www.linkedin.com/school/cs50/
Medium: https://cs50.medium.com/
Quora: https://www.quora.com/topic/CS50
Reddit: https://www.reddit.com/r/cs50/
Slack: https://cs50.edx.org/slack
Snapchat: https://www.snapchat.com/add/cs50
SoundCloud: https://soundcloud.com/cs50
Stack Exchange: https://cs50.stackexchange.com/
Telegram: https://t.me/cs50x
Threads: https://www.threads.net/@cs50
TikTok: https://www.tiktok.com/@cs50
Twitter: https://twitter.com/cs50
Twitter Community: https://twitter.com/i/communities/1722308663522594923
YouTube: http://www.youtube.com/cs50

HOW TO FOLLOW DAVID J. MALAN

Facebook: https://www.facebook.com/dmalan
GitHub: https://github.com/dmalan
Instagram: https://www.instagram.com/davidjmalan/
LinkedIn: https://www.linkedin.com/in/malan/
Quora: https://www.quora.com/profile/David-J-Malan
Threads: https://www.threads.net/@davidjmalan
TikTok: https://www.tiktok.com/@davidjmalan
Twitter: https://twitter.com/davidjmalan

***

CS50 SHOP

https://cs50.harvardshop.com/

***

LICENSE

CC BY-NC-SA 4.0
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License
https://creativecommons.org/licenses/by-nc-sa/4.0/

David J. Malan
https://cs.harvard.edu/malan
malan@harvard.edu

CS50x 2023 - Lecture 0 - Scratch

Harvard CS50 (2023) – Full Computer Science University Course

Teaching CS50 with AI - David J. Malan

Harvard CS50 – Full Computer Science University Course

David J. Malan - Visitas Thinks Big 2019 - Harvard University

Career Tips by David J. Malan from CS50

CS50x 2024 - Lecture 0 - Scratch

When to learn computer science? - Office Hours 2020

CS50x Puzzle Day 2024

David J. Malan - Visitas Thinks Big 2022 - Harvard University

#HESProud Faculty Spotlight: David Malan

Visitas Thinks Big 2016 - Abstraction by Professor David J. Malan

Harvard CS50’s Introduction to Programming with Python – Full University Course

Introduction to Computer Science with CS50 - the most popular course on edX

Implementing the CS50 Duck with OpenAI's APIs - Rongxin Liu & David J. Malan

Office Hours with Professor David J. Malan and CS50’s own Colton Ogden

Does CS50 Help Get a Job - CS50 Reels #Shorts

CS50 2020 - Lecture 1 - C

CS50x 2023 - Lecture 1 - C

Hardware - CS50's Understanding Technology 2017

Meet Your Professor: David Malan

CS50x 2024 - Lecture 1 - C

CS50x 2024 - Lecture 3 - Algorithms

CS50x 2024 - Lecture 5 - Data Structures

IS HARVARD'S FREE PROGRAMMING COURSE CS50 Worth it? | CS50 Review 2020 | BEST PROGRAMMING COURSE?

Visitas Thinks Big 2017 - Harvard University - David J. Malan

CS50x Conversation

CS50x 2023 - Lecture 4 - Memory

CS50 Cybersecurity - Introduction

CS50x 2023 - Lecture 7 - SQL

Disclaimer DMCA