{"id":13815,"date":"2025-11-28T17:44:21","date_gmt":"2025-11-28T22:44:21","guid":{"rendered":"https:\/\/spinor.info\/weblog\/?p=13815"},"modified":"2025-11-28T19:09:26","modified_gmt":"2025-11-29T00:09:26","slug":"back-end","status":"publish","type":"post","link":"https:\/\/spinor.info\/weblog\/?p=13815","title":{"rendered":"Back-end"},"content":{"rendered":"<p>Behind every front-end there is a back-end. My <a href=\"https:\/\/chat.wispl.com\/\">WISPL.COM chatbot<\/a> is no exception. It&#8217;s one thing to provide a nice chatbot experience to my select users. It&#8217;s another thing to be able to manage the system efficiently.<\/p>\n<p>Sure, I can, and do, management tasks directly in the database, using SQL commands. But it&#8217;s inelegant and inconvenient. And just because I am the only admin does not mean I cannot make my own life easier by creating a more streamlined management experience.<\/p>\n<p>Take announcements. The WISPL chatbot operates in four languages. Creating an announcement entails writing it in a primary language, translating it into three other languages, and the posting the requisite records to the database. Doing it by hand is not hard, but a chore.<\/p>\n<p>Well, not anymore. I just created a nice back-end UI for this purpose. By itself it&#8217;s no big deal of course, but it&#8217;s the first time the software itself uses a large language model for a targeted purpose.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13822\" src=\"https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2025\/11\/wispl-admin.png\" alt=\"\" width=\"783\" height=\"634\" srcset=\"https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2025\/11\/wispl-admin.png 783w, https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2025\/11\/wispl-admin-300x243.png 300w, https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2025\/11\/wispl-admin-150x121.png 150w, https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2025\/11\/wispl-admin-768x622.png 768w\" sizes=\"(max-width: 783px) 100vw, 783px\" \/><\/p>\n<p>Note the highlighted <strong>Translate<\/strong> button. It sends the English-language text to a local copy of Gemma, Google&#8217;s open-weights LLM. Gemma is small but very capable. Among other things, it can produce near flawless translations into, never mind German or French, even Hungarian.<\/p>\n<p>This back-end also lets me manage WISPL chatbot users as well as the language models themselves. It shows system logs, too.<\/p>\n<fb:like href='https:\/\/spinor.info\/weblog\/?p=13815' send='true' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida grande'><\/fb:like>","protected":false},"excerpt":{"rendered":"<p>Behind every front-end there is a back-end. My WISPL.COM chatbot is no exception. It&#8217;s one thing to provide a nice chatbot experience to my select users. It&#8217;s another thing to be able to manage the system efficiently. Sure, I can, and do, management tasks directly in the database, using SQL commands. But it&#8217;s inelegant and <a href='https:\/\/spinor.info\/weblog\/?p=13815' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,6,35,36],"tags":[],"class_list":["post-13815","post","type-post","status-publish","format-standard","hentry","category-cybernetics","category-internet","category-personal","category-programming","category-58-id","category-6-id","category-35-id","category-36-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts\/13815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13815"}],"version-history":[{"count":8,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts\/13815\/revisions"}],"predecessor-version":[{"id":13827,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts\/13815\/revisions\/13827"}],"wp:attachment":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}