KNOWLEDGE CHECK

Lesson 115 Quiz: Sending Prompts Through an API

Sending Prompts Through an API

Passing score: 70.00%

Question 1

What is the main purpose of sending a prompt through an AI API?

Question 2

Why should application instructions be separated from user-provided data when constructing an AI prompt?

Question 3

Why should user input be treated as untrusted when constructing prompts?

Question 4

What is one important reason to include only relevant context in an API prompt?

Question 5

Why should prompt changes be tested before being used in a production AI application?

← Back to Lesson