Generative Artificial Intelligence (generally)
Harvard Extension School
Fall 2024
Course Web Site: https://cscie12.dce.harvard.edu/
Topics
Presentation contains 6 slides
Generative AI
- Large Language Models
- OpenAI
- GPT-4o (model)
- ChatGPT (service)
- Others too!
Google (Gemini), Anthropic (Claude), Meta (Llama)
- OpenAI
- Retrieval Augmented Generation (RAG)
Thinking Like an AI by Ethan Mollick
Warnings
- Mistakes and Errors
- Limitations, biases, ethics in training data
- Your queries and documents can become part of training data!
Tools
Prompts
Prompt Engineering → Prompt-ing → Conversation
| Aspect | Importance | Example |
|---|---|---|
| Task | Required | Give me an outline for a 15 minute presentation on elk migration in North America |
| Context | Important | To an audience of 10 to 12 year olds |
| Exemplars | Important | The presentation should introduce the elk as an animal as well as reasons why animals migrate. Maps and pictures would be great to keep the attention. |
| Persona | Nice to have | You are David Attenborough |
| Format | Nice to have | Produce a List / Table / CSV / RTF / JSON / Word / PowerPoint |
| Tone | Nice to have | The tone should be appropriate for school, but on the fun and entertaining side of that. |
More
- Master the Perfect ChatGPT Prompt Formula (in just 8 minutes)! | Jeff Su
- Everyday AI | UCSD (3 min video)
- AI Essential for All Audiences| UCSD (training course)
AI and Your Final Project
You may use AI in your final project as long as:
- You understand the code that you use.
- You are transparent about how you use AI.
Include a section in your final project report describing how you used AI, including the tools and some representative prompts.