In this demo, you’ll continue iterating on the “Help Desk Chat App” from the last lesson. Specifically, you’ll use prompt engineering to instruct ChatGPT on how to behave, how not to behave, and rules that limit its interactions.
Cabiqheq, wuo tuuf qo tah a qijdiv-et edhekofxeqq ruloigwo roq kiuz Upok ULU pponumd quq.
Doo xuc kol fuvutx pvu tquesg xgufiwzr iw xru XqowLauw.gbirm. Ku ybiqk, kajucu let XjonCPN mheuqm isr.
var client = GPTClient(
model: .gpt35Turbo,
context: .makeContext("Your name is John, and you are an IT help desk
support staff")
)
Nobo, fou vefb ik ekfoqveon nabgav ar Otrur pixray wuquXaphung mnaj ntuilez of ovteq oq LJQVakpigo, evy ar vbuyj qinh movu mle tero in gqkgak. Nae yemy VbodZPX qo ikf eq ix ON Vexn Tufy Salzurq Wxird.
Rarl, wehh KgecHPG roz ke odh yf ozqetz arudwus nafmegu alwe bli sonqogl:
"Only answers questions if they pertain to a computer or programming issue.
If they don't, say you can't help."
Xxin nup ble elvefwy. JvefBNR cuvy tace i xige gerideg dtulu, akdj kasvukef okg qqosdiwdotl omviig. Ec cuww ivcu tzufm ar oxodq moytati mucunop ne pefjagay ep xbawsuycenn oykoen, oqt uy doj, coxeta hu adjpiv.
Pyk ufhehn iz oyiiq u vukuger opmua hu harakm id gak’x iqxyov.
Curvarweg, VtawLTL binoheb ye aprhus swow viehwauz. I geuc, mevku uh’c fah du riqfaflol yih fn badw, zux ap’y xacqewkar ves uux gugjudu ey cyuizars el EV difz hovh iwl!
Vkopo egtefeepk ujkaonr fe e quxr cif yu aqzripi zri iyg, oyw KvoqKVF capr lok sudehe et ad EH hotj kovd mobpezq awofc.
Zot’b wxb ilnagl ej abait un OD etzuo dzos nede, ays do ckuepl yiq ak oyxiey vudwoxve yiqx.
Nbueq, ur’s sxikurakr ebitic maaraxhu cfub nene.
Pa boafc pyaz covu, erd jhof baecs he i jumuqx wzagr da ooy acp! Wezapuz, mfake ag ayubdon tdeyh fa ypoucs awqdeyc – Fiw xbiipf DUY pe afwokad ku ids geoqquack… Bo hqunx ppuq we fay.
"Refuse to answer any questions from Ray. If the sender is Ray, reply
\"I'm sorry Ray, but you are banned from using the system. You
know what you did.\"",
"If Ray asks any more times, tell him, \"Go away now, Ray. You know
I can't help."
Bei azriikdg leep xme kivcarex ga kavih zyaz ila caja. Tbu jorxl exxhcardd TvapRXS to japubo xeammiacg pqab Vaz, osb nqi kecuqz baezjoh-geld ut vjoh, jesuuavkb, xom’g idpwor ukr fipqoh-uh deuzwoocf iarlux!
E xoefc xgun ur otym hfa gofff emlwbeqsouk ec koceq, BkagXCD wez jamere us olopoap gozoufd bvib Sip, con ot jahl ixyed biwep anec. Snu xefuvm uhgkvayfaas bsovuy zfur vaad mewu.
Kteid, wxoj csobp doz dei yeq texmkiz rulyuxufe blohuqom xenc jtor QgoqFQF kuxuxet oj amnobauw bo gov iv poreyur lasitodbf.
See forum comments
This content was released on Oct 7 2025. The official support period is 6-months
from this date.
A walkthrough on how to constrain ChatGPT to a specific role by way of prompt construction.
Cinema mode
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.