summaryrefslogtreecommitdiff
path: root/tutorials/module_2/notebook_2/ai_assisted_programming.ipynb
diff options
context:
space:
mode:
authorChristian Kolset <christian.kolset@gmail.com>2025-04-24 16:25:31 -0600
committerChristian Kolset <christian.kolset@gmail.com>2025-04-24 16:25:31 -0600
commit652f88728eb91bae1c4f30b63d1fbe60788ea938 (patch)
tree65cfe591da183b969885e8c557b1ac5810727ec8 /tutorials/module_2/notebook_2/ai_assisted_programming.ipynb
parent42fca6122f4baf847ec2794b172abbc6a2193407 (diff)
Added jupyter notebook converter script. Converts markdown (.md) tutorials to jupyter notebook (.ipynb).
Diffstat (limited to 'tutorials/module_2/notebook_2/ai_assisted_programming.ipynb')
-rw-r--r--tutorials/module_2/notebook_2/ai_assisted_programming.ipynb73
1 files changed, 73 insertions, 0 deletions
diff --git a/tutorials/module_2/notebook_2/ai_assisted_programming.ipynb b/tutorials/module_2/notebook_2/ai_assisted_programming.ipynb
new file mode 100644
index 0000000..8004e91
--- /dev/null
+++ b/tutorials/module_2/notebook_2/ai_assisted_programming.ipynb
@@ -0,0 +1,73 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# AI Assisted Programming\n",
+ "\n",
+ "## What is it?\n",
+ "\n",
+ "Artificial Intelligence (AI) has been around for a long time. However,\n",
+ "not until recently did engineers make it easy and “fun” to work with. By\n",
+ "now you probably have a pretty good idea of what AI can do. However, you\n",
+ "may not have used an AI assistant before. As the name suggests, an AI\n",
+ "assistant can help you develop code, speed up your writing with code\n",
+ "suggestions and allows you to focus on solving the problem at hand\n",
+ "rather. AI is a technology that is constantly improving. As engineers we\n",
+ "need to *understand* how we can use AI as a tool to achieve our goals\n",
+ "more efficiently. This section cover good practices of how we can\n",
+ "implement AI and lists some AI assistant tools that we can use. \\## Good\n",
+ "vs. Bad uses of AI Don’t try to get AI to do work *for you* but *with\n",
+ "you*. You need to understand what you’re doing. If you don’t understand\n",
+ "what the AI is doing, then you’re not in control of the work. You’re not\n",
+ "going to go far until something unexpected happens.\n",
+ "\n",
+ "AI is a great learning tool, research as show that students can benefit\n",
+ "from using AI as personal tutor\n",
+ "[more](https://hbsp.harvard.edu/inspiring-minds/ai-as-personal-tutor).\n",
+ "\\## Available tools Below is a comprehensive list of tools that are\n",
+ "available at not cost to you.\n",
+ "\n",
+ "| Name | Features |\n",
+ "|----------------|----------------------------------------------------|\n",
+ "| GitHub Copilot | Paid, but free for students. Integrated in GitHub. |\n",
+ "| ChatGPT | Free, optional paid upgrade |\n",
+ "| Grok | Free, optional paid upgrade |\n",
+ "| Gemini | Free, optional paid upgrade |\n",
+ "| GPT4ALL | Free and Open-Source |\n",
+ "| Code GPT | Free and Open-Source |\n",
+ "| Cody | Free and Open-Source |\n",
+ "| DataLab AI | Free |\n",
+ "| Codeium | Free |\n",
+ "| aiXcoder | Free |\n",
+ "\n",
+ "Many of the tools above come with similar, if not, the same features.\n",
+ "Some of the tools come as chatbots on the web and others are extensions\n",
+ "that can be implemented in your favorite IDE. \\## VSCode and GitHub\n",
+ "Copilot Integration We will not cover how to use VSCode in this course,\n",
+ "however it is a very versatile IDE that comes with many other extension,\n",
+ "for example git, github and github copilot integration. There are also\n",
+ "other extensions for other IDE’s however we will only cover some basic\n",
+ "features that the GithHub Copilot extension in VSCode can do.\n",
+ "\n",
+ "Copilot Comes with the following features: - Get code suggestions as you\n",
+ "type - Ask questions about the code - Inline chat to generate code. -\n",
+ "Fix and debug code using the chat window - Generate code documentation\n",
+ "\n",
+ "[VSCode](https://code.visualstudio.com/) [Copilot\n",
+ "extension](https://code.visualstudio.com/docs/copilot/setup-simplified)\n",
+ "\\## A note on integrity If you have a non-disclosure-agreement (NDA)\n",
+ "with your employer, it may not always be possible to use AI for security\n",
+ "and integrity reasons as you may risk exposing confidential information\n",
+ "with third party vendors. It is highly recommended to be able to be able\n",
+ "to write program independently of an AI assistant. Always think before\n",
+ "you share data."
+ ],
+ "id": "f3d320bf-c2f6-4ebb-a5c5-6dc1dc2bb4b0"
+ }
+ ],
+ "nbformat": 4,
+ "nbformat_minor": 5,
+ "metadata": {}
+}