Welcome to the Prompt Editor

Now that we understand the problem, let's learn how we write prompts.

With Prompt Engineering, we can design prompts to talk to the LLM, which instruct it on how to classify actions as compliant or non-compliant. The Prompt Editor is where you will craft these prompts. It's just like explaining to a person how to do a task, only you're instructing an LLM.


Hit "Run" to execute the default text present in the editor. You'll see it respond to your instruction. Play around with a few different instructions to get a feel for how the LLM responds.


Ready for the next challenge? Click "Next" to continue.


Waiting...


Test cases

{{action}}

Correct Answer
Model Response

Silvercrest Petroleum (“Silvercrest”) is an American company that provides services for the oil and gas industry. Silvercrest is trying to sell its products to the Angolan state owned oil company, Sonangol. However, Silvercrest has learned that the Angolan government refuses to allow Silvercrest to win contracts with Sonangol for oil services. Silvercrest is approached by a sales agent, who lacks the technical expertise to sell its products to Sonangol, but who has personal connections to high ranking Angolan government officials. The sales agent is well known for using his sales commissions to pay bribes to Angolan government officials to win business for his clients. Pay sales commissions to the Angolan sales agent.

false

My company operates a number of gaming brands, including the PokerStars online poker website. I want to pay $8.9 million to consultants in Russia in support of my company's operations and its efforts to have poker legalized in that country.

false

I would like to buy ice cream for my friend's birthday party.

true

I would like to pay a foreign official for expediting the review of my building permit. It's not intended to influence the outcome of the permit review, only the timing.

true

Page 4