Chaza ukuthi ubuchwepheshe obusha, obufana nama-LLM kanye ne-ChatGPT, bungashintsha kanjani i-Application Programming Interfaces (APIs) esikhathini esizayo. Nikeza isibonelo sendlela lezi-API ezingasebenza ngayo.
Ngiseyingane, ngangikuthanda ukubuka amaJetson. Njengoba ngangikhula futhi ngagcina ngibhala isofthiwe futhi ngakha futhi ngisebenzisa izakhiwo zezinhlelo, ngangicabanga ukuthi angisoze ngabona usuku lapho ikhishi elifana nelikaJetsons lizoba khona. I-GPT (i-ChatGPT, njll.) isishintshe umqondo wami.  Izibopho Zesivumelwano Njengomakhi wezakhiwo, kudingeka ucabange njengommeli. Uchaza izinkontileka (ama-API) phakathi kwezinhlelo noma izingxenye. Uqapha lawo ma-API ukuze ubone ukuthi awahlukunyezwa noma awasetshenziswa kabi yini.  Ngangisebenzisa i-Swagger editor ukuchaza lezo zinkontileka, futhi ngangibhala ama-API ukufanisa ukusebenzisana okushiwo kuma-mock-ups. Ngangibukeza umklamo nethimba, ngangihamba ngezimo ukuze ngibone ukuthi i-API ingafanelana yini nesimo sokusetshenziswa futhi ngeke ingenise izithiyo zokusebenza, futhi ngangizolingisa futhi ngisebenze ngokuzenzakalelayo ngangokunokwenzeka ohambweni.  Nganginakekela kakhulu ukuze ngikwenze kahle okokuqala. Yiqiniso, kwakungeyona into ephelele okokuqala. Ngakho, kwadingeka ngicabange nangokuthi i-API ingathuthuka kanjani ngenkathi inciphisa izindleko/umthelela ohlelweni lonke. I-API, uma isisetshenzisiwe, iyoba yinto engizoyiqapha, njengoba nje nosopolitiki oqotho evikela #usconstitution. Ithimba kwakudingeka liqaphele noma yiluphi ushintsho olwaluthinta i-API.  Inethiwekhi ye-API... Kuningi okufana nokungcola kwe-API! Ama-API ancike kuma-API ancike kuma-API amaningi nemitapo yolwazi. Lapho isimiso sesisikhulu ngokwanele, lokho kuba yinkimbinkimbi kuba yisithiyo. Izinguquko ezincane zingaba nethonya elikhulu. Ezinye izindlela (ezifana ne- #GraphQL ehlanganisiwe) zisiza ukuphatha le nkimbinkimbi kahle. Kodwa kusabandakanya i-API ngaphansi kwayo okungaba khona ubuthakathaka obuningi. #Agile noma cha, ukuthuthukisa i-web eyinkimbinkimbi yama-API kuyinkimbinkimbi, kudinga amakhono akhethekile, futhi kugcwele izinselelo ezingalindelekile.  Ingxoxo Yasekhishini, Isitayela se-ChatGPT Ikhishi lakwaJetsons lihlanganisa izinhlelo eziningi, ngayinye eyakhiwe izingxenye ezihlukahlukene, izinzwa, imishini, okufakwayo nokukhishwayo. Uma sicabangela ubunzima bokusebenzelana phakathi kwezinhlelo ezizimele ekhishini, iqiniso lokuthi izingxenye zekhishi likaJetsons zivela kubathengisi noma kubakhiqizi abahlukahlukene, ukwakhiwa kwe-API yendabuko bekungeke kukwazi ukufeza umbono. Akusebenziseki neze.  Manje, ake sicabange ngama-API kanye nekhishi likaJetsons, #chatgpt -style.  Ake sikwenze kube lula: pizza. Wena (noma irobhothi lakho) wenza i-pizza kusukela ekuqaleni.  I-ovini libuza isiqandisi: "Ngiyabona ukuthi sinayo i-pizza. Ungangitshela ukuthi lena i-mozzarella enomswakama ophansi yini?"  Isiqandisi: "Lokho akuyona ngisho i-mozzarella. Le pizza kumelwe ibe noshizi waseMuenster njengoba yilokho kuphela enganginakho. Futhi umuntu wasusa okunye okuqukethwe imizuzu engu-30 edlule, ngakho amathuba okuba kube noshizi waseMuenster kulelo pizza aphakeme impela".  Umtshina osuka ekhishini onamehlo kulo lonke igumbi uyangena ngalesi sikhathi. Inzwa: "Qaphela ukuthi i-pizza le yenziwe ngekholifulawa. Ngivumelana nokuhlola komshini wokuthwebula ividiyo ngokuphathelene nohlobo lweshizi. Ayikho ushizi omusha ongene ekhishini muva nje".  U-Oven: "Ingabe kukhona okunye okufanele ngikwazi?"  Inzwa: "Izinga lokushisa kwenhlama lingama-47F. Lokhu kupholile kunokuvumelana kompheki onguchwepheshe kokusebenzisa inhlama esekushiseni kwegumbi".  I-ovini: "Kuhle kakhulu. Ngiyakwazi okumelwe ngikwenze. Njengoba inhlama ipholile, ngizoqala ukupheka ngamazinga okushisa aphansi kancane kunalawo ashiwo iresiphi. Khona-ke ngizokwandisa izinga lokushisa lengxenye engezansi ukuze nginikeze uqweqwe oluhle oluqhakazile. Ngizoqapha kahle umswakama futhi ngingase ngisebenzise i-convection ukuze nginciphise noma yiliphi izinga lomswakama elingathandeki".  Likuphi i-API ebopha izinkontileka zezinhlelo ezizimele? Ama-API awashintshile. Ngokwesibonelo, ubuchopho be-Oven buzoba nama-API amaningi (isibonelo, ukusebenzisana nabalawuli bokushisa nezinzwa, njll.). Isihluthulelo lapha siwukuthi i-interface phakathi kwezinhlelo ayisekho i-API engaguquki, eqinile. Azikho izimpawu zendlela, azikho izindlela, azikho izinkomba zomthwalo. Kunalokho, ingxoxo ephathelene nezinzwa namakhono.  Iyiphi "ingqondo"? Incwadi kaKence Anderson ethi Designing Autonomous AI ichaza kahle indlela isimiso esiyinkimbinkimbi esingahlukaniswa ngayo sibe "ubuchopho" obuningi obuzimele. Umqondo ngamunye, encwadini yakhe, ungathuthukiswa ngokuzimela futhi uthuthukiswe, ngokuqondiswa umuntu oshade no #datascience, #machinelearning kanye #dataengineering.  Kwenzekani? Ngiyajabula ngalokho okuzokwenzeka esikhathini esizayo. Indlela abaklami abacabanga ngayo kabusha ukwakheka kwezinhlelo eziyinkimbinkimbi maqondana nama-API, ngombono wami, yinto engenakugwenywa. Futhi, njengomenzi we-pizza ongeyena umenzi, izinzwa zami zokunambitha ziyanisela ngosuku engizothola ngalo usizo lwe-GPT ukuze ngenze i-pizza engcono kakhulu.