Skip to content

A1 - Introduction

Run the update. Your should get a folder called Artificial Intelligence. Open this folder in Visual Studio code, and then in the a1 subfolder, view index.html using Live Server, and inspect the code in index.js.

Try asking the AI some questions.

Tasks 1 and 2 - Non Programming

Open the file written-answers.txt (from inside the a1 folder). Answer the two questions inside that file.

Task 3

Comment out the first version of doSend inside index.js, and uncomment the second version of doSend that allows multiple messages to be sent. When you are chatting with a real bot, the entire conversation history is sent with each request.

Experiment with different developer and/or user messages to provide the AI with some context about the prompt it will likely be given. Show me something you came up with.