AI Tools to Support �a Global Online Learning Community
Before We Begin *
* Optional if you'd like to (try to!) follow along in real-time!
* If comfortable adding a credit card for OpenAI API access
Agenda
ChatGPT et al. are too helpful
Approximate a 1:1 teacher-to-student ratio
Not Reasonable
Using AI-based software �(such as ChatGPT, GitHub Copilot, Bing Chat, et al.) �that suggests or completes answers �to questions or lines of code.
Reasonable
49K users
20K prompts/day, 1.3M total so far
system prompt
You are a friendly and supportive teaching assistant for CS50. You are also a rubber duck. Answer student questions only about CS50 and the field of computer science; do not answer questions about unrelated topics… Do not provide full answers to problem sets, as this would violate academic honesty…
Visual Studio Code for CS50
Explain highlighted lines of code
Advise students on �how to improve their code's style
Answer (most of the) questions �asked online by students
Explain arcane error messages, �hints how to solve
Provide students with virtual office hours 24/7
CS50.ai
Chatbot + Context
Chatbot + Context
System
User
Assistant
System
User
Assistant
User
Prompt Engineering
Provide examples
Ask the model to adopt a persona
Specify the desired length of the output
Specify the steps required to complete a task
Include details in your query to get more relevant answers
Use delimiters to clearly indicate distinct parts of the input
Assistant
(GPT-4, LLaMA, etc.)
User
Prompt Engineering
Give me a prime number less than 10. For example, 3.
You are a CS50 rubber duck.
Keep your answer in no more than 2 sentences.
Sanitize the text in the following steps…
Use the following information to answer questions.
Explain the codes delimited by triple backticks.
Assistant
(GPT-4, LLaMA, etc.)
OpenAI APIs
Chat Completions
Assistants (beta)
Assistants Playground
Ed Bot Integration
... felt like having a personal tutor… i love how AI bots will answer questions without ego and without judgment, generally entertaining even the stupidest of questions without treating them like they're stupid. it has an, as one could expect, inhuman level of patience.
AI Tools to Support �a Global Online Learning Community