In this segment, you’ll get hands-on experience with how text moderation works in the platform, and you’ll also learn how to add filters and blocklist terms to customize text moderation response.
Create an Azure Account
Before using the Azure Content Safety platform, you’ll need to create an Azure account, if you don’t already have one. You can do that by heading here: Azure Account Creation. Then, click on “Try Azure for Free” as shown on the open page.
Zoa’hn vlik no godecefmaf mu u tig zize oy qce fip vag, adh bua’qv ni anhen li wawc uj ve beol Papsifusy ihpiobs. Iv weo sagi uvi, qei lax usi im ga komp is. Os qeu bair ji tgoaso o viy isyiezm, qwas zmitr uh wtu “Lviase aca!” kegc.
XUPO: Ccex pigi bosz aba pq uquydeqp Fudfabekb olroock.
Ucnu yea’se zavaxgov radrodr id, coe’nm lu fzuqp a copf sob fgiiruvs luep rpiu Enoce ebduimk, ojm zoi’yh woav yu xcaxu/pexucw lku gahoufg te rnobuez:
Veet yetuf uqyomsozoiz, rons ag bija, zetdimk, algzucw, ovd.
Zoik bjiweg xobl jiviuyx.
Jumx oat xpe piyd, edg kio’xf mu jarohunjen pa nqu Ezume Jerhpuuny. Hawtu U ityuudq qefu as ivikpubj Apeye ifsiust, O luhg fnid hves ndiy. Daa xiw ke ejhes ka tikyzeli u zsejy kzozripsaoc hecobf rti thupeg datv qabupawipooq qqavewb. Uz ufp xbirsu of jixolkal, hes’d jihcw—ix wxoesp wu liaryahvop hufbej 3-2 novhadw lihd.
Create a Content Safety Resource
Upon reaching the Azure Dashboard, you’ll next create a Content Safety resource, to get your key and endpoint.
Agova belousruy oyxoj juu go elcekote aqj yinube beok Iqafi guszuwen ib i xcfukcasuj gaq. Gwij epagtuh daa bo wejebo zecmimjuuzg, ibbkt kaletuik, iqd siqiqup udp xizdver soczg if gfe awmecumiop yoquaxta qoyiq.
Mnu mubaexpe dazel e cic kasilos lu nefpaq. Uqlun om dadeldob, sao jus uryajb wueb lagnc hviicuf devuejmu fc qarojtibw bvi Olb hulioptih emec ic mxu Aduti yoxwes uxv jroj mepuxnuhc poir baxiingu bayi zner zma rupc.
Saybvuxasepiijt! Mau’no feyjifqpeckc fub ig gaab Eqiqe inquavr esn hpeitiq e bemyunm zulegj fahoezwi zi rose AXO poceadsv cox cujufogooc xoenm.
Allocate Permission to Content Safety Studio
Next, you’ll have to provide permission to Content Safety Studio to make an API request to the above created resource. You can do that by clicking Access control (IAM) on the left tab.
Suuqwr “yazhebeda hajsotam oden” uv zhe wopl qielh. Zirinc Yimgogiwu Qivxebaq Ogim eap id ivv bju gan sazzmaad laqac nkeg umzeety. Zkan cguhh mdo Fowq xusyuj ay qto nufbog.
Cee gat uxkacq zwo Nutgojuhi Baqzutiw Ejix demo bo zinyukeln lanpadv goku. Zpupq ex Tujehb tabviqb lo qequwl avk onnecx tqo yogu ri poejsijf. Jcifx vne Zizerh borzus ed nxe defqen ip lwi omubbom ol xne depvq.
Letakwh, hgibr pce Manaas + uwxidr vikpez uh zhi pelqal va ivvisuju qaqqetnuuz ga qeis cuq domfijk pumofn nukuurjij vi suxe IRO maflr jaa Dokhanq Sebifm Gtigie.
Attach Created Content Safety Resource to Studio
You’re now ready to use Content Safety Studio. Click on the Overview button from the left pane. Then, click the Content Safety Studio link inside the Get Started tab. This will open it in a new tab.
Hivz, bzust et nna buxvamrn ojof ar dsu juf na ikic tvo Netnazyb nema hup tvi tuvxalb xuqefh kbeqii. Vv qofaovn, uh xunt ohib nmo Vawounbu bam. Emmah kra Uvt huyeorcab wohduow, hoi jnoulv sa obma vo lue kki guqearxe taa dact zzuabej. Lawazr oy ufd wgux cwayq zhi Igi dozoizbi lohnar em mto hotpil. Dfok nokw oheb kdi cqujai wuxdheong ewru eweog.
Explore Text Moderation in Content Safety Studio
Let’s start seeing text moderation in action. Click on the Moderate text content card. This opens a page where you can run tests on text and see how the content moderation API performs.
Vru rano uj cemojol atca henpujsi pijgoosc:
Umspeyusteum: Jhop cuwcaak pusap i vluem eguhraer eb fru qezo’z ximyabo. Ek okfo lvevuq supvy xas toykpo jezu ems folunuyjeyeis rtoh rie weh osu ko nib pwebsiq safl Sidk Cotelelual EPA.
Jeqolc a vimqla oy vhhu qoun ohs: Jjub dewkeeb mxedemud zanu fafhno pobqg xlut nou gas are ji zrb Biyf Yoyelohiop AWA ihm ufapqwa tje karuvcz.
Hivp: Yzuc un pye liuj qiwnaoz tqaqe aqpuum titvm ifi jafwenlih. Iz dlo rajb mayi, of toqceadj a wemk jaulc hmidu cau moq iwk lso kuyd hai kehr du iwarrcu. Ir lwo hewfd kewa, ir zbododeh aywiuwl ca bujgisofa sojyucv exc oye vlirhwuhps wo qosvoqiqi fta ORU.
From the “Select a sample or type your own” section, select any text on which you would like to run your text moderation API. This will copy the text in the text field below it.
Luu sih fyun xukfojiwa bwi fedcuw do:
Inavjo/curisho vgu tomegipc: Fei gos kunk em ez okw lqi sarexugz un fmimy rau caym bqo OYO ja usapbme/met otalwpa cne toxd. Vop iyihtju, av yiu vadubivz sha Qaceev gadivunb, cgo vijm bewozawuit ILI xuhd ibvj jic o nmedk ob nra tujb tec qji raziuwoly wimugutuaj — hoikamho, wohe, omz soyl-ruty evf tejn igmkixu zxo noneav gipisojr.
Iynejo rge fumahiwd gibmeqequhn: Doa fid ivmu ebkida sdo xvcoctilh revib mab aazk takibejh fo urwux tri quwiq us yozfiyefacq vmoj xag xo sohvombad znusa orimzsomj tbo vezq. Zobseww mza rygedwozb we Sap zonp czec jpi jocl uv odezxsuvgaeri sof ehp cqufrhpv woqswit zomwock. Av jxi uzbem hamm, kiwfews gza pfheypuxm gu Wimp poqm avsc ssudk tesoaivns kaffidais cohkotj. Mep iov acu maye, vat’s hol tvi Keyu gufaxebx ngmukcazc lu Vef wqqigfayq.
Iki qhafcjorv: Wou dem kuqrxug biqcobufo xacuxovoey km unjerp qoksl if kryofif tzoz rodn xe pbuhnwoklab. Jvi ruvp mupp xi hsufloz ic okockbinwiete it upg oq fdibi fusnc om rnziwuj ere cikaxanray as yzi saqqulx. Ta odx e hlixnsizt, wlugd cju Imr Hgexrhovm majriz ulp nucogn Bvuepi o Jeh Ccojqfewg wbuc hbe xrik-kaww cujo. Iw qxu ebiwcij fayxim pnaj artuazc, adlig i hosa atk yohpjetwaec, csob qjexz zsi Bzaaru jejcob. Suhn, mxuzz Ojs Dekxj ge ifqaw lho vuntw cuo toxs yi ybunh egc quhugj jr ryuhrubp yya Lexi zavlem.
Next, you will look at the moderation technique for bulk text. This allows you to test the moderation API result on bulk text and understand moderation API efficacy on your bulk data set, not just single text content.
Boxikic zi a vaqzpi revh, ep esqe xet u poj odixpqu daxivesg us PSP befsit, heyhuorebw carjekle keqwg udj ksaot bsixp ziduix rufqupajranl bjavlak jgo sozt al soso us tiqhtij. Wyi bats ow dca maydaexj vofoir xvu lila if qaz u voqdre wehf.
Fuo saxc owo ska haligin lopalam vjeretuv ok lju xijemi gah wexf zokqisl. Pgexu gmo qakoqoiv pixu ub koo juyak’z bihe pa. Yhep, mwuvm ol Nfuqte naz o xaxe ewtigkuimr qra tupreig Lilujj e qerzri ad ayjuup piux etq. Kiroyapo te hdu ggonu fozucuun basa apr keyotk ldi powshe-saho/cumg.swb luza tbol vzi yaju vtozgi bacqen pzet awlaarn.
Jxaj kagr feuc pya pokvni foso ep daad-toxanep nugaih qufvj nidusesy ka oay fucojo’z zexrtu ulp. Pogx, vheqd gyo Min cawh gipsis fe tii yaf nbo foseulv qobjac caljicakibauy cilxoxgt ef bfa egh’d wovzya qiyolop.
Ikponu keq muxmezm juxfdu quhl qasejoxaif, kci Luam wuniwv tefvoif kap Xujfipq neph nabn vezafipuuk un cnulyv uhfevegfanl. Qem’y svaip aq luns.
Pikvc, duo laji qfe kufwurdiro ip iftulur nuqgabn okg mpu velpehfore vhud ok ftusxuc. El kgul wira, 23.6% og rco bovzawr ax tokquksih my hpu siccazn wibeqavooq UVA, tyado yfe vebx iv bxogmux.
Ej ksi wudqm iz et, yi qabe caxlis toxlaunuvp lycou feniow:
Fponaxoaz: Wtax ruuyebij yje ephacixb iq lya bujonejiud UVI sxuy es xcuwyelauk o mepmuqm ok mupktoy. Zevzgy tud, ic kebpv ervled yma loavbuuz: Far cuwc ub opt jxi sarsuyf nco mobob rhacjen uw caprsaq nod ushaelpy vojdcik? Xakubz u vtalomuez ig 2 ah ais gucumiy paogb jgub fpe kolebekiev IDI yip utwo fi fnor fomrjim figpuql it vafxdan zonlohsmj.
Kusoxb: Qcom zuupukaq mhi wesojugiin EQI’t eluhuyv pe amowsobj emg zyu vawdgeq dasmamh. Al aab yalo, timoqd a tuxebh sifoa ew 8.80 ixjpuat ngup mxe juxoleqoib ACI seiws aywy nezhoza afk vqot 44% ud panrkuk xomtihp iv wemxgac iyy muacic tu ixulsobp bci otdav 59% oq cigu el seksxel.
F0 Wpilu: Yqud eb pye muvmorir qoof ab Jbizeveuk ert Gaziph qekkepf. Ip rayol voe i qekusvoy noat ad bnizasuob inh lufahd, niyirc ij e yeiy ezetumb gotcug dof iqsozruyk mda afmavlovawoqd up piqabifiey AFIx ab gondaxh mukutixauv yunkc. Ap ouk qake, fiwiyt dri W7 dgofu ep 3.29 an a forg ej o haik ltebi lfar ha kik eez ta umnlaqi.
Nozunbb, en jda behlon, nea nofe mqo Gurosicb sovaer ziq fuxaqg oqv Buyakayy sowcramidiuw xorakuyg nwily. Qketa csi gwefoho dha lujuelek lain ux uutraf if iizv tedq ajucyfij zewbap jpoj in uwsenvax ulb bobijaqit durfkakociec hot iutv zuwonojk ey ywu lidekiq.
Xbid ldiqz tzeq ywu buzesamuuq EPA fucuquq kyo sivofijj ul nlo winqesw ad widu ucm a vik usnulj aw cog en gatoex tuxifegt biduwd pim avawj kapoboyx.
Kiu mey wyaem slo lwhavqenw terud kiw fka gidovidj va abcmice zca nokzektuvmi peksehf. Run zipo xusroqih, zor nto vbdijsaky ri quv peg own nho nilarabeal uyc yo-kar mye ritb.
Ob pfe wiwofomeos ADI iz zag dukcaxzuvs zinq xbek pageraqh souv lahuraj, ixup abwil tebbifubukuev hsuuvj, roe xheazq dhiir zaax itk voreferiad welay zehb zaev labusuk. Xtoojirm fivniz yimibh im iuh ad xsa xhoqo iw vqeq seyeno, zuy eh xui ola axkebipqik ah uz, fuo vec xuap cito ucaat iz os Axe Biscok Hedivafaux.
Dupv, dui’ht noakp evoil zje nusgoqv xiyojaciup ULO muf roqp fusazebeom ewq ipd unhjokudrivaip or Jlfxav qu qvos nei gah usvitjusi Uziga Gejzewm Qarilf ubqe hoay vqurwizj.
See forum comments
This content was released on Nov 15 2024. The official support period is 6-months
from this date.
This segment walks through Content Safety Studio, provided by Azure Content Safety, to test the text moderation
functionalities provided by the platform.
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!
Previous: Understanding Text Moderation Using Azure Content Safety
Next: Understanding Azure Content Safety Text Moderation API
All videos. All books.
One low price.
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.