-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

AI-Assisted Programming for Web and Machine Learning
By :

In this chapter, we will use the TAG (Task-Action-Guidance) prompt pattern. Here’s how we can help frame our project to help us author our initial prompt:
Just like with other chapters in this book, we start with a prompt providing as much context as possible about what we want to do and the shape of the dataset. The idea is that we set a high-level context for our AI tool, which helps guide it throughout the rest of our prompts.
[Prompt]
I’m performing a regression project to forecast stock prices using the Apple Historical Stock dataset. This will aid investors in making informed decisions about buying or not buying stocks. The workflow includes loading the dataset, exploring its contents...