diff --git a/week1/community-contributions/day1_with_selenium-CB.ipynb b/week1/community-contributions/day1_with_selenium-CB.ipynb index b7664b6..df72e42 100644 --- a/week1/community-contributions/day1_with_selenium-CB.ipynb +++ b/week1/community-contributions/day1_with_selenium-CB.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": null, + "execution_count": 30, "id": "0f587c07-9db3-4a29-8373-b2c8d55e51fe", "metadata": {}, "outputs": [], @@ -18,15 +18,23 @@ "from selenium.webdriver.support.ui import WebDriverWait\n", "from selenium.webdriver.support import expected_conditions as EC\n", "from IPython.display import Markdown, display\n", - "from openai import OpenAI" + "import openai" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 31, "id": "91384952-e9ba-42b7-b18b-de899b5dc378", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "API key found and looks good so far!\n" + ] + } + ], "source": [ "# Load environment variables in a file called .env\n", "\n", @@ -47,7 +55,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 32, "id": "e45422ad-884e-44e7-ac1d-c48ff5e83970", "metadata": {}, "outputs": [], @@ -108,10 +116,311 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 33, "id": "b8eb670c-1ca6-48f2-b0c7-8a65fa875548", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "OpenAI\n", + "Skip to main content\n", + "Log in\n", + "Switch to\n", + "ChatGPT\n", + "(opens in a new window)\n", + "Sora\n", + "(opens in a new window)\n", + "API Platform\n", + "(opens in a new window)\n", + "Research\n", + "Safety\n", + "ChatGPT\n", + "Sora\n", + "API Platform\n", + "For Business\n", + "Stories\n", + "Company\n", + "News\n", + "Research\n", + "Back to main menu\n", + "Research Index\n", + "Research Overview\n", + "Research Residency\n", + "Latest Advancements\n", + "GPT-4.5\n", + "OpenAI o3-mini\n", + "OpenAI o1\n", + "OpenAI o1-mini\n", + "GPT-4o\n", + "GPT-4o mini\n", + "Sora\n", + "Safety\n", + "Back to main menu\n", + "Safety Approach\n", + "Security & Privacy\n", + "ChatGPT\n", + "Back to main menu\n", + "Explore ChatGPT\n", + "Team\n", + "Enterprise\n", + "Education\n", + "Pricing\n", + "Download\n", + "Sora\n", + "Back to main menu\n", + "Sora Overview\n", + "Features\n", + "Pricing\n", + "Help center\n", + "(opens in a new window)\n", + "Sora log in\n", + "(opens in a new window)\n", + "API Platform\n", + "Back to main menu\n", + "Platform Overview\n", + "Pricing\n", + "API Log in\n", + "(opens in a new window)\n", + "Documentation\n", + "(opens in a new window)\n", + "Developer Forum\n", + "(opens in a new window)\n", + "For Business\n", + "Stories\n", + "Company\n", + "Back to main menu\n", + "About us\n", + "Our Charter\n", + "Careers\n", + "Brand\n", + "Overview\n", + "Logos\n", + "Gallery\n", + "Partnerships\n", + "Typography\n", + "Language\n", + "Contact\n", + "News\n", + "Log in\n", + "OpenAI\n", + "What can I help with?\n", + "Message ChatGPT\n", + "Quiz me on vocabulary\n", + "Plan a surf trip to Costa Rica in August\n", + "Explica por qué el maíz palomitas explota\n", + "Teach me Mahjong for beginners\n", + "Explain this code\n", + "Was mach ich in Berlin wenn es regnet?\n", + "Draw me a treasure map for Emil’s birthday\n", + "Rédigez une note de remerciement\n", + "Recommend an easy potluck dish\n", + "ハーフマラソンのトレーニングを手伝ってください\n", + "Help me improve this job description\n", + "Write a Python script\n", + "Draw a picture of a mini aussie as a diver\n", + "Summarize this pdf for\n", + "Translate this recipe into Greek\n", + "Rank dog breeds for a small apartment\n", + "楽しいディナーパーティーの計画を手伝ってください\n", + "Explain paradiddles for me\n", + "Quais são as chances de Portugal na Euro 2024?\n", + "Compare business strategies for transitioning from budget to luxury\n", + "Teach me to negotiate\n", + "Sugiere actividades divertidas para una familia que visita San Francisco\n", + "Plan an itinerary for teens in Hong Kong\n", + "Design a database schema\n", + "Recommend an easy potluck dish\n", + "Help me build a budget\n", + "Kritisiere meine Kurzgeschichte\n", + "Find gentle lower back stretches\n", + "Make this recipe vegetarian\n", + "Expliquez le trading d’options comme si j’avais 5 ans\n", + "Help me pick a halloween costume\n", + "Write a polite rejection email\n", + "Generate fantasy football team names\n", + "Elabore um calendário de conteúdo para redes sociais\n", + "Explique a turbulência em aviões\n", + "Brainstorm domain names\n", + "Explain nostalgia to a kindergartener\n", + "面接の質問を一緒に考えてください\n", + "Summarize my meeting notes\n", + "Explique a turbulência em aviões\n", + "Plan a college tour\n", + "Write a SQL Query\n", + "Help me with gift ideas for my dad\n", + "Rédigez un email pour un devis de réparation\n", + "Troubleshoot my printer set-up\n", + "Write a thank-you note\n", + "Help me debug this code\n", + "Crea un entrenamiento de movilidad\n", + "Brainstorm podcast episode ideas\n", + "Review my argument for a debate\n", + "Suggérez des lieux pour une séance photo à Marseille\n", + "Draft a checklist for a dog-sitter\n", + "Rank e-bikes for daily commuting\n", + "Quiz me on vocabulary\n", + "Search with ChatGPT\n", + "Talk with ChatGPT\n", + "Research\n", + "Sora\n", + "More\n", + "Scroll to explore\n", + "New tools for building agents\n", + "Product\n", + "Mar 11, 2025\n", + "13 min read\n", + "New tools for building agents\n", + "Product\n", + "Mar 11, 2025\n", + "13 min read\n", + "Introducing GPT‑4.5\n", + "Product\n", + "Feb 27, 2025\n", + "7 min read\n", + "Your browser does not support the video tag.\n", + "Introducing deep research\n", + "Release\n", + "Feb 2, 2025\n", + "8 min read\n", + "Catching halibut with ChatGPT\n", + "ChatGPT\n", + "Feb 3, 2025\n", + "4 min read\n", + "Latest news\n", + "View all\n", + "Introducing NextGenAI\n", + "Company\n", + "Mar 4, 2025\n", + "6 min read\n", + "OpenAI and Guardian Media Group launch content partnership\n", + "Company\n", + "Feb 14, 2025\n", + "2 min read\n", + "Introducing the Intelligence Age\n", + "Global Affairs\n", + "Feb 9, 2025\n", + "5 min read\n", + "Introducing data residency in Europe\n", + "Product\n", + "Feb 5, 2025\n", + "3 min read\n", + "OpenAI and the CSU system bring AI to 500,000 students & faculty\n", + "Company\n", + "Feb 4, 2025\n", + "3 min read\n", + "OpenAI o3-mini System Card\n", + "Publication\n", + "Jan 31, 2025\n", + "2 min read\n", + "Stories\n", + "View all\n", + "Your browser does not support the video tag.\n", + "Lyndon Barrois & Sora\n", + "Sora\n", + "Dec 4, 2024\n", + "3 min read\n", + "Building a custom math tutor powered by ChatGPT\n", + "ChatGPT\n", + "Feb 3, 2025\n", + "3 min read\n", + "Economics and reasoning with OpenAI o1\n", + "ChatGPT\n", + "Sep 13, 2024\n", + "2 min read\n", + "Latest research\n", + "View all\n", + "Detecting misbehavior in frontier reasoning models\n", + "Publication\n", + "Mar 10, 2025\n", + "7 min read\n", + "Your browser does not support the video tag.\n", + "Computer-Using Agent\n", + "Release\n", + "Jan 23, 2025\n", + "15 min read\n", + "OpenAI for business\n", + "View all\n", + "Building smarter maps with GPT‑4o vision fine-tuning\n", + "API\n", + "Nov 20, 2024\n", + "4 min read\n", + "Data-driven beauty and creativity with ChatGPT\n", + "ChatGPT\n", + "Nov 12, 2024\n", + "4 min read\n", + "Building agent + human collaboration with GPT 4o\n", + "API\n", + "Oct 1, 2024\n", + "4 min read\n", + "Get started with ChatGPT\n", + "Download\n", + "Our Research\n", + "Research Index\n", + "Research Overview\n", + "Research Residency\n", + "Latest Advancements\n", + "OpenAI o1\n", + "OpenAI o1-mini\n", + "GPT-4o\n", + "GPT-4o mini\n", + "Sora\n", + "Safety\n", + "Safety Approach\n", + "Security & Privacy\n", + "ChatGPT\n", + "Explore ChatGPT\n", + "Team\n", + "Enterprise\n", + "Education\n", + "Pricing\n", + "Download\n", + "Sora\n", + "Sora Overview\n", + "Features\n", + "Pricing\n", + "Sora log in\n", + "(opens in a new window)\n", + "API Platform\n", + "Platform Overview\n", + "Pricing\n", + "API log in\n", + "(opens in a new window)\n", + "Documentation\n", + "(opens in a new window)\n", + "Developer Forum\n", + "(opens in a new window)\n", + "For Business\n", + "Overview\n", + "Company\n", + "About us\n", + "Our Charter\n", + "Careers\n", + "Brand\n", + "More\n", + "News\n", + "Stories\n", + "Help Center\n", + "(opens in a new window)\n", + "Terms & Policies\n", + "Terms of Use\n", + "Privacy Policy\n", + "Security\n", + "Other Policies\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "OpenAI © 2015–2025\n", + "English\n", + "United States\n" + ] + } + ], "source": [ "# Testing the modified Website class\n", "#ed = Website(\"https://edwarddonner.com\")\n", @@ -122,7 +431,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 34, "id": "01d9142b-74c5-460e-8993-7f865052c2ca", "metadata": {}, "outputs": [], @@ -136,7 +445,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 35, "id": "7155a2c5-315c-4ac0-9d94-70983d8d28e4", "metadata": {}, "outputs": [], @@ -154,17 +463,320 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 36, "id": "3564820a-d499-4dd7-91b4-56dd43663b5b", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "You are looking at a website titled OpenAI\n", + "The contents of this website is as follows; please provide a short summary of this website in markdown. If it includes news or announcements, then summarize these too.\n", + "\n", + "Skip to main content\n", + "Log in\n", + "Switch to\n", + "ChatGPT\n", + "(opens in a new window)\n", + "Sora\n", + "(opens in a new window)\n", + "API Platform\n", + "(opens in a new window)\n", + "Research\n", + "Safety\n", + "ChatGPT\n", + "Sora\n", + "API Platform\n", + "For Business\n", + "Stories\n", + "Company\n", + "News\n", + "Research\n", + "Back to main menu\n", + "Research Index\n", + "Research Overview\n", + "Research Residency\n", + "Latest Advancements\n", + "GPT-4.5\n", + "OpenAI o3-mini\n", + "OpenAI o1\n", + "OpenAI o1-mini\n", + "GPT-4o\n", + "GPT-4o mini\n", + "Sora\n", + "Safety\n", + "Back to main menu\n", + "Safety Approach\n", + "Security & Privacy\n", + "ChatGPT\n", + "Back to main menu\n", + "Explore ChatGPT\n", + "Team\n", + "Enterprise\n", + "Education\n", + "Pricing\n", + "Download\n", + "Sora\n", + "Back to main menu\n", + "Sora Overview\n", + "Features\n", + "Pricing\n", + "Help center\n", + "(opens in a new window)\n", + "Sora log in\n", + "(opens in a new window)\n", + "API Platform\n", + "Back to main menu\n", + "Platform Overview\n", + "Pricing\n", + "API Log in\n", + "(opens in a new window)\n", + "Documentation\n", + "(opens in a new window)\n", + "Developer Forum\n", + "(opens in a new window)\n", + "For Business\n", + "Stories\n", + "Company\n", + "Back to main menu\n", + "About us\n", + "Our Charter\n", + "Careers\n", + "Brand\n", + "Overview\n", + "Logos\n", + "Gallery\n", + "Partnerships\n", + "Typography\n", + "Language\n", + "Contact\n", + "News\n", + "Log in\n", + "OpenAI\n", + "What can I help with?\n", + "Message ChatGPT\n", + "Quiz me on vocabulary\n", + "Plan a surf trip to Costa Rica in August\n", + "Explica por qué el maíz palomitas explota\n", + "Teach me Mahjong for beginners\n", + "Explain this code\n", + "Was mach ich in Berlin wenn es regnet?\n", + "Draw me a treasure map for Emil’s birthday\n", + "Rédigez une note de remerciement\n", + "Recommend an easy potluck dish\n", + "ハーフマラソンのトレーニングを手伝ってください\n", + "Help me improve this job description\n", + "Write a Python script\n", + "Draw a picture of a mini aussie as a diver\n", + "Summarize this pdf for\n", + "Translate this recipe into Greek\n", + "Rank dog breeds for a small apartment\n", + "楽しいディナーパーティーの計画を手伝ってください\n", + "Explain paradiddles for me\n", + "Quais são as chances de Portugal na Euro 2024?\n", + "Compare business strategies for transitioning from budget to luxury\n", + "Teach me to negotiate\n", + "Sugiere actividades divertidas para una familia que visita San Francisco\n", + "Plan an itinerary for teens in Hong Kong\n", + "Design a database schema\n", + "Recommend an easy potluck dish\n", + "Help me build a budget\n", + "Kritisiere meine Kurzgeschichte\n", + "Find gentle lower back stretches\n", + "Make this recipe vegetarian\n", + "Expliquez le trading d’options comme si j’avais 5 ans\n", + "Help me pick a halloween costume\n", + "Write a polite rejection email\n", + "Generate fantasy football team names\n", + "Elabore um calendário de conteúdo para redes sociais\n", + "Explique a turbulência em aviões\n", + "Brainstorm domain names\n", + "Explain nostalgia to a kindergartener\n", + "面接の質問を一緒に考えてください\n", + "Summarize my meeting notes\n", + "Explique a turbulência em aviões\n", + "Plan a college tour\n", + "Write a SQL Query\n", + "Help me with gift ideas for my dad\n", + "Rédigez un email pour un devis de réparation\n", + "Troubleshoot my printer set-up\n", + "Write a thank-you note\n", + "Help me debug this code\n", + "Crea un entrenamiento de movilidad\n", + "Brainstorm podcast episode ideas\n", + "Review my argument for a debate\n", + "Suggérez des lieux pour une séance photo à Marseille\n", + "Draft a checklist for a dog-sitter\n", + "Rank e-bikes for daily commuting\n", + "Quiz me on vocabulary\n", + "Search with ChatGPT\n", + "Talk with ChatGPT\n", + "Research\n", + "Sora\n", + "More\n", + "Scroll to explore\n", + "New tools for building agents\n", + "Product\n", + "Mar 11, 2025\n", + "13 min read\n", + "New tools for building agents\n", + "Product\n", + "Mar 11, 2025\n", + "13 min read\n", + "Introducing GPT‑4.5\n", + "Product\n", + "Feb 27, 2025\n", + "7 min read\n", + "Your browser does not support the video tag.\n", + "Introducing deep research\n", + "Release\n", + "Feb 2, 2025\n", + "8 min read\n", + "Catching halibut with ChatGPT\n", + "ChatGPT\n", + "Feb 3, 2025\n", + "4 min read\n", + "Latest news\n", + "View all\n", + "Introducing NextGenAI\n", + "Company\n", + "Mar 4, 2025\n", + "6 min read\n", + "OpenAI and Guardian Media Group launch content partnership\n", + "Company\n", + "Feb 14, 2025\n", + "2 min read\n", + "Introducing the Intelligence Age\n", + "Global Affairs\n", + "Feb 9, 2025\n", + "5 min read\n", + "Introducing data residency in Europe\n", + "Product\n", + "Feb 5, 2025\n", + "3 min read\n", + "OpenAI and the CSU system bring AI to 500,000 students & faculty\n", + "Company\n", + "Feb 4, 2025\n", + "3 min read\n", + "OpenAI o3-mini System Card\n", + "Publication\n", + "Jan 31, 2025\n", + "2 min read\n", + "Stories\n", + "View all\n", + "Your browser does not support the video tag.\n", + "Lyndon Barrois & Sora\n", + "Sora\n", + "Dec 4, 2024\n", + "3 min read\n", + "Building a custom math tutor powered by ChatGPT\n", + "ChatGPT\n", + "Feb 3, 2025\n", + "3 min read\n", + "Economics and reasoning with OpenAI o1\n", + "ChatGPT\n", + "Sep 13, 2024\n", + "2 min read\n", + "Latest research\n", + "View all\n", + "Detecting misbehavior in frontier reasoning models\n", + "Publication\n", + "Mar 10, 2025\n", + "7 min read\n", + "Your browser does not support the video tag.\n", + "Computer-Using Agent\n", + "Release\n", + "Jan 23, 2025\n", + "15 min read\n", + "OpenAI for business\n", + "View all\n", + "Building smarter maps with GPT‑4o vision fine-tuning\n", + "API\n", + "Nov 20, 2024\n", + "4 min read\n", + "Data-driven beauty and creativity with ChatGPT\n", + "ChatGPT\n", + "Nov 12, 2024\n", + "4 min read\n", + "Building agent + human collaboration with GPT 4o\n", + "API\n", + "Oct 1, 2024\n", + "4 min read\n", + "Get started with ChatGPT\n", + "Download\n", + "Our Research\n", + "Research Index\n", + "Research Overview\n", + "Research Residency\n", + "Latest Advancements\n", + "OpenAI o1\n", + "OpenAI o1-mini\n", + "GPT-4o\n", + "GPT-4o mini\n", + "Sora\n", + "Safety\n", + "Safety Approach\n", + "Security & Privacy\n", + "ChatGPT\n", + "Explore ChatGPT\n", + "Team\n", + "Enterprise\n", + "Education\n", + "Pricing\n", + "Download\n", + "Sora\n", + "Sora Overview\n", + "Features\n", + "Pricing\n", + "Sora log in\n", + "(opens in a new window)\n", + "API Platform\n", + "Platform Overview\n", + "Pricing\n", + "API log in\n", + "(opens in a new window)\n", + "Documentation\n", + "(opens in a new window)\n", + "Developer Forum\n", + "(opens in a new window)\n", + "For Business\n", + "Overview\n", + "Company\n", + "About us\n", + "Our Charter\n", + "Careers\n", + "Brand\n", + "More\n", + "News\n", + "Stories\n", + "Help Center\n", + "(opens in a new window)\n", + "Terms & Policies\n", + "Terms of Use\n", + "Privacy Policy\n", + "Security\n", + "Other Policies\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "(opens in a new window)\n", + "OpenAI © 2015–2025\n", + "English\n", + "United States\n" + ] + } + ], "source": [ "print(user_prompt_for(ed))" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 37, "id": "eff2e8d0-d999-488b-adbe-069c5b2339d3", "metadata": {}, "outputs": [], @@ -180,10 +792,24 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 38, "id": "b3cc6a30-fc3b-4a7b-a095-5ff744918cca", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "[{'role': 'system',\n", + " 'content': 'You are an assistant that analyzes the contents of a website and provides a short summary, ignoring text that might be navigation related. Respond in markdown. '},\n", + " {'role': 'user',\n", + " 'content': 'You are looking at a website titled OpenAI\\nThe contents of this website is as follows; please provide a short summary of this website in markdown. If it includes news or announcements, then summarize these too.\\n\\nSkip to main content\\nLog in\\nSwitch to\\nChatGPT\\n(opens in a new window)\\nSora\\n(opens in a new window)\\nAPI Platform\\n(opens in a new window)\\nResearch\\nSafety\\nChatGPT\\nSora\\nAPI Platform\\nFor Business\\nStories\\nCompany\\nNews\\nResearch\\nBack to main menu\\nResearch Index\\nResearch Overview\\nResearch Residency\\nLatest Advancements\\nGPT-4.5\\nOpenAI o3-mini\\nOpenAI o1\\nOpenAI o1-mini\\nGPT-4o\\nGPT-4o mini\\nSora\\nSafety\\nBack to main menu\\nSafety Approach\\nSecurity & Privacy\\nChatGPT\\nBack to main menu\\nExplore ChatGPT\\nTeam\\nEnterprise\\nEducation\\nPricing\\nDownload\\nSora\\nBack to main menu\\nSora Overview\\nFeatures\\nPricing\\nHelp center\\n(opens in a new window)\\nSora log in\\n(opens in a new window)\\nAPI Platform\\nBack to main menu\\nPlatform Overview\\nPricing\\nAPI Log in\\n(opens in a new window)\\nDocumentation\\n(opens in a new window)\\nDeveloper Forum\\n(opens in a new window)\\nFor Business\\nStories\\nCompany\\nBack to main menu\\nAbout us\\nOur Charter\\nCareers\\nBrand\\nOverview\\nLogos\\nGallery\\nPartnerships\\nTypography\\nLanguage\\nContact\\nNews\\nLog in\\nOpenAI\\nWhat can I help with?\\nMessage ChatGPT\\nQuiz me on vocabulary\\nPlan a surf trip to Costa Rica in August\\nExplica por qué el maíz palomitas explota\\nTeach me Mahjong for beginners\\nExplain this code\\nWas mach ich in Berlin wenn es regnet?\\nDraw me a treasure map for Emil’s birthday\\nRédigez une note de remerciement\\nRecommend an easy potluck dish\\nハーフマラソンのトレーニングを手伝ってください\\nHelp me improve this job description\\nWrite a Python script\\nDraw a picture of a mini aussie as a diver\\nSummarize this pdf for\\nTranslate this recipe into Greek\\nRank dog breeds for a small apartment\\n楽しいディナーパーティーの計画を手伝ってください\\nExplain paradiddles for me\\nQuais são as chances de Portugal na Euro 2024?\\nCompare business strategies for transitioning from budget to luxury\\nTeach me to negotiate\\nSugiere actividades divertidas para una familia que visita San Francisco\\nPlan an itinerary for teens in Hong Kong\\nDesign a database schema\\nRecommend an easy potluck dish\\nHelp me build a budget\\nKritisiere meine Kurzgeschichte\\nFind gentle lower back stretches\\nMake this recipe vegetarian\\nExpliquez le trading d’options comme si j’avais 5 ans\\nHelp me pick a halloween costume\\nWrite a polite rejection email\\nGenerate fantasy football team names\\nElabore um calendário de conteúdo para redes sociais\\nExplique a turbulência em aviões\\nBrainstorm domain names\\nExplain nostalgia to a kindergartener\\n面接の質問を一緒に考えてください\\nSummarize my meeting notes\\nExplique a turbulência em aviões\\nPlan a college tour\\nWrite a SQL Query\\nHelp me with gift ideas for my dad\\nRédigez un email pour un devis de réparation\\nTroubleshoot my printer set-up\\nWrite a thank-you note\\nHelp me debug this code\\nCrea un entrenamiento de movilidad\\nBrainstorm podcast episode ideas\\nReview my argument for a debate\\nSuggérez des lieux pour une séance photo à Marseille\\nDraft a checklist for a dog-sitter\\nRank e-bikes for daily commuting\\nQuiz me on vocabulary\\nSearch with ChatGPT\\nTalk with ChatGPT\\nResearch\\nSora\\nMore\\nScroll to explore\\nNew tools for building agents\\nProduct\\nMar 11, 2025\\n13 min read\\nNew tools for building agents\\nProduct\\nMar 11, 2025\\n13 min read\\nIntroducing GPT‑4.5\\nProduct\\nFeb 27, 2025\\n7 min read\\nYour browser does not support the video tag.\\nIntroducing deep research\\nRelease\\nFeb 2, 2025\\n8 min read\\nCatching halibut with ChatGPT\\nChatGPT\\nFeb 3, 2025\\n4 min read\\nLatest news\\nView all\\nIntroducing NextGenAI\\nCompany\\nMar 4, 2025\\n6 min read\\nOpenAI and Guardian Media Group launch content partnership\\nCompany\\nFeb 14, 2025\\n2 min read\\nIntroducing the Intelligence Age\\nGlobal Affairs\\nFeb 9, 2025\\n5 min read\\nIntroducing data residency in Europe\\nProduct\\nFeb 5, 2025\\n3 min read\\nOpenAI and the CSU system bring AI to 500,000 students & faculty\\nCompany\\nFeb 4, 2025\\n3 min read\\nOpenAI o3-mini System Card\\nPublication\\nJan 31, 2025\\n2 min read\\nStories\\nView all\\nYour browser does not support the video tag.\\nLyndon Barrois & Sora\\nSora\\nDec 4, 2024\\n3 min read\\nBuilding a custom math tutor powered by ChatGPT\\nChatGPT\\nFeb 3, 2025\\n3 min read\\nEconomics and reasoning with OpenAI o1\\nChatGPT\\nSep 13, 2024\\n2 min read\\nLatest research\\nView all\\nDetecting misbehavior in frontier reasoning models\\nPublication\\nMar 10, 2025\\n7 min read\\nYour browser does not support the video tag.\\nComputer-Using Agent\\nRelease\\nJan 23, 2025\\n15 min read\\nOpenAI for business\\nView all\\nBuilding smarter maps with GPT‑4o vision fine-tuning\\nAPI\\nNov 20, 2024\\n4 min read\\nData-driven beauty and creativity with ChatGPT\\nChatGPT\\nNov 12, 2024\\n4 min read\\nBuilding agent + human collaboration with GPT 4o\\nAPI\\nOct 1, 2024\\n4 min read\\nGet started with ChatGPT\\nDownload\\nOur Research\\nResearch Index\\nResearch Overview\\nResearch Residency\\nLatest Advancements\\nOpenAI o1\\nOpenAI o1-mini\\nGPT-4o\\nGPT-4o mini\\nSora\\nSafety\\nSafety Approach\\nSecurity & Privacy\\nChatGPT\\nExplore ChatGPT\\nTeam\\nEnterprise\\nEducation\\nPricing\\nDownload\\nSora\\nSora Overview\\nFeatures\\nPricing\\nSora log in\\n(opens in a new window)\\nAPI Platform\\nPlatform Overview\\nPricing\\nAPI log in\\n(opens in a new window)\\nDocumentation\\n(opens in a new window)\\nDeveloper Forum\\n(opens in a new window)\\nFor Business\\nOverview\\nCompany\\nAbout us\\nOur Charter\\nCareers\\nBrand\\nMore\\nNews\\nStories\\nHelp Center\\n(opens in a new window)\\nTerms & Policies\\nTerms of Use\\nPrivacy Policy\\nSecurity\\nOther Policies\\n(opens in a new window)\\n(opens in a new window)\\n(opens in a new window)\\n(opens in a new window)\\n(opens in a new window)\\n(opens in a new window)\\n(opens in a new window)\\nOpenAI © 2015–2025\\nEnglish\\nUnited States'}]" + ] + }, + "execution_count": 38, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "# Try this out, and then try for a few more websites\n", "\n", @@ -192,7 +818,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 39, "id": "1406592c-2156-4c41-921a-e3f15e9b4828", "metadata": {}, "outputs": [], @@ -212,10 +838,40 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 40, "id": "134a78a1-119b-4ef5-890b-ceb2d94ab4cc", "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "# OpenAI Website Summary\n", + "\n", + "OpenAI's website provides comprehensive information about its various products and services, particularly focusing on advanced AI technologies like ChatGPT and the new tools introduced for agent building, such as GPT-4.5. \n", + "\n", + "## Key Highlights\n", + "\n", + "### Products & Services\n", + "- **ChatGPT**: A conversational AI tool that assists users with a wide range of queries.\n", + "- **Sora**: A platform offering AI-driven solutions, including math tutoring and more.\n", + "- **API Platform**: Tools and documentation for developers looking to integrate OpenAI's technologies into their applications.\n", + "\n", + "### Latest News and Announcements\n", + "- **Introducing GPT-4.5**: Announced on February 27, 2025, this update represents the latest iteration of their language model.\n", + "- **New Tools for Building Agents**: Launched on March 11, 2025, these tools enhance the capabilities of AI agents.\n", + "- **OpenAI Collaborations**: Recent partnerships include collaborations with the Guardian Media Group (February 14, 2025) and a program to provide AI resources to the California State University system.\n", + "\n", + "### Research\n", + "The site outlines the latest research initiatives, including advancements in AI reasoning and methodologies to detect misbehavior in AI models.\n", + "\n", + "### Safety & Privacy\n", + "OpenAI emphasizes a focus on safety approaches, security, and privacy policies, ensuring that user interactions with AI technologies are secure.\n", + "\n", + "Overall, OpenAI's website serves as a hub for exploring AI advancements, accessing tools for developers, and understanding their commitment to safe and innovative technology use.\n" + ] + } + ], "source": [ "#This seems to not working - Need some help\n", "\n", @@ -224,17 +880,28 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 41, "id": "930dc9be-5389-4c20-b788-d27cda85389c", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "\"# OpenAI Website Summary\\n\\nThe OpenAI website provides information about the organization and its various products, including ChatGPT, Sora, and the API platform. It highlights the latest research initiatives, advancements in AI technology, and safety measures for AI deployment.\\n\\n## Key Features:\\n\\n- **Research Section**: Showcases an index of research efforts, including latest advancements like GPT-4.5, OpenAI o3-mini and more.\\n- **Products and Tools**: Offers details on AI products including ChatGPT and Sora, highlighting their features and pricing.\\n- **For Business**: Information on how businesses can utilize OpenAI's products and services.\\n- **Company Information**: About OpenAI, its charter, and career opportunities.\\n\\n## Latest News and Announcements:\\n\\n1. **Introducing NextGenAI** - Announced on Mar 4, 2025.\\n2. **OpenAI and Guardian Media Group Content Partnership** - Launched on Feb 14, 2025.\\n3. **Data Residency in Europe** - Introduced on Feb 5, 2025.\\n4. **OpenAI and CSU System Collaboration** - Announced on Feb 4, 2025 to enhance AI access for 500,000 students and faculty.\\n5. **New Tools for Building Agents** - Introduced on Mar 11, 2025.\\n\\nThe website serves as a hub for users and businesses to explore the capabilities of OpenAI's technology and keep up with its latest developments and offerings.\"" + ] + }, + "execution_count": 41, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "summarize(\"https://openai.com\")" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 42, "id": "fc77656b-0f1a-4204-944e-e9d04d3072c7", "metadata": {}, "outputs": [], @@ -248,13 +915,46 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 43, "id": "96c03dba-f999-431c-94b7-cbda3732e806", "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/markdown": [ + "# OpenAI Website Summary\n", + "\n", + "OpenAI's website serves as a hub for information regarding their various products and research initiatives. It offers access to several AI tools, primarily focusing on applications like ChatGPT and Sora, an educational tool. The site features information on API services, safety protocols, and business solutions.\n", + "\n", + "## Notable Announcements:\n", + "\n", + "- **Introducing GPT-4.5 (Feb 27, 2025)**: A new iteration of their Generative Pre-trained Transformer (GPT) model.\n", + "- **NextGenAI Launch (Mar 4, 2025)**: A notable release in their product offerings.\n", + "- **Partnership with Guardian Media Group (Feb 14, 2025)**: OpenAI has launched a content partnership, expanding its reach in media.\n", + "- **Data Residency in Europe (Feb 5, 2025)**: New measures for data compliance within European jurisdictions.\n", + "- **OpenAI with CSU System (Feb 4, 2025)**: Collaboration to bring AI access to over 500,000 students and faculty members.\n", + "\n", + "The website also provides resources on their ongoing research, safety practices, and information for developers and businesses interested in utilizing OpenAI's services." + ], + "text/plain": [ + "" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "display_summary(\"https://openai.com\")" ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "842bad24-ffe8-43ba-85f2-fe5dc2245733", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": {