<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>chatbot – Coreon</title><atom:link href="https://coreon.com/tag/chatbot/feed/" rel="self" type="application/rss+xml"/><link>https://coreon.com</link><description>Knowledge meets language.</description><lastBuildDate>Wed, 29 Jul 2026 10:53:39 +0000</lastBuildDate><language>en-US</language><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><image><url>https://coreon.com/favicon-32x32.png</url><title>chatbot – Coreon</title><link>https://coreon.com</link><width>32</width><height>32</height></image><item><title>Semantics 2022: Coreon &amp; Partners Win Best Industry Contribution Award</title><link>https://coreon.com/2022/09/20/knowledge-graphs-improve-chatbots-coreon-wins-industry-contribution-award/</link><dc:creator>Michael Wetzel</dc:creator><pubDate>Tue, 20 Sep 2022 08:11:34 +0000</pubDate><category>Events</category><category>Multilingual AI</category><category>Partners</category><category>Success Stories</category><category>chatbot</category><category>home-featured</category><category>knowledge graph</category><guid isPermaLink="false">https://coreon.com/?p=10792</guid><description>Coreon and Vienna Business Agency were presented with a Best Industry Contribution Award at the Semantics 2022 conference for our work on how multilingual knowledge graphs improve chatbots.</description><content:encoded><![CDATA[<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/09/Semantic-Vienna-Chatbots-Talk-Graphic-1024x576.jpg" width="1024" height="576" alt="Smart Chatbots Talk At Semantics Vienna - Knowledge Graphs Improve Chatbots" srcset="https://coreon.com/wp-content/uploads/2022/09/Semantic-Vienna-Chatbots-Talk-Graphic_hu_1d1fb7600f38ab0c.webp 300w, https://coreon.com/wp-content/uploads/2022/09/Semantic-Vienna-Chatbots-Talk-Graphic_hu_e3f06291a81d9588.webp 768w, https://coreon.com/wp-content/uploads/2022/09/Semantic-Vienna-Chatbots-Talk-Graphic_hu_8d16475a6aa63a33.webp 1024w, https://coreon.com/wp-content/uploads/2022/09/Semantic-Vienna-Chatbots-Talk-Graphic_hu_4c2ca0ee506cf92e.webp 1536w, https://coreon.com/wp-content/uploads/2022/09/Semantic-Vienna-Chatbots-Talk-Graphic_hu_227b35b721a95f42.webp 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px"></figure><p>From 13-15 September, the <a href="https://www.semantics.cc" target="_blank" rel="noreferrer noopener">Semantics 2022 conference</a> took place in Vienna, together with the <a href="http://www.lt-innovate.org/summit" target="_blank" rel="noreferrer noopener">LTInnovate</a> LI@Work conference. For me and many of my fellow participants, it was the first in-person event after two years of online conferencing. There were around 350 people on-site and 150 online participants. It was a real pleasure to talk to so many industry experts and to spend two evenings with them in Vienna!</p>
<p>The event closed with a very nice surprise for us. Together with the <a href="https://viennabusinessagency.at/" target="_blank" rel="noreferrer noopener">Vienna Business Agency</a>, we received the ‘Best Industry Contribution Award’ for the topic of ‘Smartening Up Chatbots with Language-Agnostic Knowledge Graphs’. We showed how, with the help of Machine Translation and a Multilingual Knowledge System, a chatbot can be trained in another language with a push of a button!</p>
<figure class="wp-block-gallery has-nested-images columns-default is-cropped is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/09/Best-Industry-Contribution-Semantics-Vienna-2022-1024x722.jpg" width="1024" height="722" alt="Knowledge Graphs Improve Chatbots - Coreon &amp; Partners Win Best Industry Contribution Award" srcset="https://coreon.com/wp-content/uploads/2022/09/Best-Industry-Contribution-Semantics-Vienna-2022_hu_5b7ed3dfe0b8a3f.webp 300w, https://coreon.com/wp-content/uploads/2022/09/Best-Industry-Contribution-Semantics-Vienna-2022_hu_8fe21a807830c1db.webp 768w, https://coreon.com/wp-content/uploads/2022/09/Best-Industry-Contribution-Semantics-Vienna-2022_hu_63cf04f77ba2c098.webp 1024w, https://coreon.com/wp-content/uploads/2022/09/Best-Industry-Contribution-Semantics-Vienna-2022_hu_69c41685a4efc97c.webp 1536w, https://coreon.com/wp-content/uploads/2022/09/Best-Industry-Contribution-Semantics-Vienna-2022_hu_90b49ac1304cceb5.webp 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px"></figure></figure>
<h2 id="how-can-knowledge-graphs-improve-chatbots">How Can Knowledge Graphs Improve Chatbots?</h2><p>The project, part of the <a href="https://cefat4cities.eu/" target="_blank" rel="noreferrer noopener">CEFAT4Cities</a> Action, was to build a chatbot which would guide through the jungle of public grants the Vienna Business Agency works with. Our key findings were:</p>
<ul>
<li>How to best teach chatbots, i.e. conversational agents such as Rasa, <strong>domain language</strong> (<em>terms</em>, <em>synonyms</em>) and <strong>knowledge</strong> (<em>entities</em> and their relations).</li>
<li><strong>No-code</strong>: Subject matter experts easily capture and share their knowledge with chatbot developers through the Coreon Multilingual Knowledge System.</li>
<li><strong>Entities are queried</strong> by Rasa in the MKS <strong>during run-time</strong> in any language.</li>
<li>Through concept relations in the MKS, the chatbot becomes <strong>semantically tolerant</strong>.</li>
<li>Expanding to <strong>another language is efficient</strong>. Leverage the existing stories, translate/curate entities in the multilingual knowledge graph, MT the dialogs, train the chatbot, et voilà!</li>
</ul>
<p>If you would like to learn more, my colleague Alena has already shared in two previous blog posts how to make chatbots both <a href="https://coreon.com/2022/04/19/challenges-of-chatbot-development/">smart </a>and <a href="https://coreon.com/2022/07/08/multilingual-chatbot-behind-the-scenes/">polyglott</a>.</p>
<figure class="wp-block-gallery has-nested-images columns-default is-cropped is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/09/Semantics-Award-1024x701.jpg" width="1024" height="701" alt="Knowledge Graphs Improve Chatbots - Coreon &amp; Partners Win Best Industry Contribution Award" srcset="https://coreon.com/wp-content/uploads/2022/09/Semantics-Award_hu_8b8cc24082bdfa9d.webp 300w, https://coreon.com/wp-content/uploads/2022/09/Semantics-Award_hu_dcf243d13b30765c.webp 768w, https://coreon.com/wp-content/uploads/2022/09/Semantics-Award_hu_17a48367225d0472.webp 1024w, https://coreon.com/wp-content/uploads/2022/09/Semantics-Award_hu_7da9a6ab39418e5c.webp 1280w" sizes="auto, (max-width: 1024px) 100vw, 1024px"><figcaption class="wp-element-caption">Jochen Hummel, Coreon CEO, receiving the award on behalf of the Vienna Business Agency and Coreon</figcaption></figure></figure>
<p>We are very proud and happy to have received an award for proofing <strong>how multilingual knowledge graphs do improve chatbots</strong>, and other applications for Multilingual AI.</p>
]]></content:encoded></item><item><title>Multilingual Chatbot: Behind The Scenes</title><link>https://coreon.com/2022/07/08/multilingual-chatbot-behind-the-scenes/</link><dc:creator>Alena Vasilevich</dc:creator><pubDate>Fri, 08 Jul 2022 05:59:57 +0000</pubDate><category>Knowledge Graph</category><category>Multilingual AI</category><category>chatbot</category><category>home-featured</category><guid isPermaLink="false">https://coreon.com/?p=10719</guid><description>What are the technical challenges when developing a multilingual chatbot?</description><content:encoded><![CDATA[<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/07/Chatbot-Implementation-1024x576.jpg" width="1024" height="576" alt="An image of a bot" srcset="https://coreon.com/wp-content/uploads/2022/07/Chatbot-Implementation_hu_b5f2ba9bd4c6fc03.webp 300w, https://coreon.com/wp-content/uploads/2022/07/Chatbot-Implementation_hu_1975f22c50898332.webp 768w, https://coreon.com/wp-content/uploads/2022/07/Chatbot-Implementation_hu_23d9fc8e6b14b03d.webp 1024w, https://coreon.com/wp-content/uploads/2022/07/Chatbot-Implementation_hu_1d47a3f5a895843a.webp 1536w, https://coreon.com/wp-content/uploads/2022/07/Chatbot-Implementation_hu_49ddd18c9ae11cc3.webp 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px"></figure><p>Together with partners, Coreon is a part of CEFAT4Cities Action, a project co-financed by the Connecting Europe Facility of the European Union. It targets the interaction of EU residents and businesses with public services. Two of its outcomes are an open multilingual linked data repository and a pilot chatbot project for the Vienna Business Agency, which leverages the created resource.</p>
<h2 id="a-chatbot-but-make-it-smart">A Chatbot, But Make It Smart</h2><p>If you’ve ever <a href="https://coreon.com/2022/04/19/challenges-of-chatbot-development/">scratched the surface of conversational AI development</a>, you know that there are innumerable ways to develop a chatbot.</p>
<p>In this post, we’ll talk about technical challenges and solutions we’ve come up with when developing a multilingual chatbot for our partner, the <a href="https://viennabusinessagency.at/" target="_blank" rel="noreferrer noopener">Vienna Business Agency</a> (VBA), in scope of the CEFAT4Cities project.</p>
<p>On a high level, the CEFAT4Cities initiative aims to speed up the development and adoption of multilingual cross-border eGovernment services, converting natural-language administrative procedures into machine-readable data and integrating them into a variety of software solutions.</p>
<p>The goal of SmartBot, in turn, is to make VBA’s services discoverable in a user-friendly and interactive way. The services include assistance with starting a business, finding relevant counseling, or drawing up a short list of grants from dozens of available funding opportunities for companies of various scale.</p>
<h2 id="summary">Summary</h2><p>We share our bot-building experience, demonstrating how to overcome the language gap of local public services on a European scale and reduce red tape for citizens and businesses.</p>
<p>Our solution is driven by <strong>multilingual AI and leverages a language-agnostic knowledge graph</strong> in the <a href="https://coreon.com/2015/11/11/what-is-a-multilingual-knowledge-system/">Coreon Multilingual Knowledge System</a> (MKS). The graph contains VBA-specific domain knowledge, an integrated <a href="https://ec.europa.eu/isa2/isa2_en/" target="_blank" rel="noreferrer noopener">ISA2 interoperability layer</a>, and vocabulary-shaped results of the CEFAT4Cities workflows.</p>
<p>This blogpost covers the following aspects:</p>
<ul>
<li>Rasa, SmartBot’s Skeleton</li>
<li>The Quest of Domain Knowledge</li>
<li>Drafting Domain Knowledge</li>
<li>Going Multilingual</li>
<li>Relations for Semantic Search</li>
<li>Homonymy and Terms Unseen by Model</li>
<li>Conclusion</li>
</ul>
<hr class="wp-block-separator has-alpha-channel-opacity">
<h2 id="rasa-smartbots-skeleton">Rasa, SmartBot’s Skeleton</h2><p>SmartBot’s natural language understanding component (NLU) and dialogue management are powered by Rasa Open Source, a framework for building conversational AI.</p>
<p>Of course, there is a wide variety of frameworks for building chatbots out there. We’ve chosen Rasa because it’s adjustable, modular, open source, and ticks all boxes with our feature requirements. It can be run in containers and hosted anywhere, providing most popular built-in connectors as well as letting you build the custom ones. Rasa’s blog offers a variety of tutorials, and there is an active community of fellow developers at the Rasa Community Forum.</p>
<p>However, there is a catch: expect to work up some sweat when setting things up, and maybe look somewhere else if your engineering resources are scarce or you’d rather go for an easier no-code solution that can be supported by a less ‘tech-y’ part of the team.</p>
<p>But back to Rasa. To briefly summarize the main points (for the architecture components see <a href="https://rasa.com/docs/rasa/img/architecture.png" target="_blank" rel="noreferrer noopener">https://rasa.com/docs/rasa/img/architecture.png</a>): Rasa NLU handles intent classification (aka “what the user is implying”) and entity identification in a user’s input; Dialogue management predicts a next action in a conversation based on the context. These actions can be simple responses, serving strings of text/links/pics/buttons to the user, as well as custom actions containing arbitrary functions.</p>
<figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/06/Picture1.png" width="201" height="327" alt="A screenshot of SmartBot" srcset="https://coreon.com/wp-content/uploads/2022/06/Picture1_hu_e092106ba3e28bfb.webp 201w" sizes="auto, (max-width: 201px) 100vw, 201px" style="width:241px;height:391px"></figure><p>In SmartBot’s case, we also heavily rely on Rasa SDK — it handles all our custom code organized as custom actions (e.g., search a database, make an API call, trigger a handover of the conversation to a human, etc).</p>
<h2 id="the-quest-of-domain-knowledge">The Quest Of Domain Knowledge</h2><figure class="wp-block-pullquote"><blockquote>
<p>In a nutshell, the MKS is a semantic knowledge repository, comprised of concepts linked via relations.</p>
</blockquote></figure>
<p>So, let’s add knowledge graphs to this chatbot business. By now you probably have a feeling that a big chunk of implementation work is associated with domain knowledge. The challenge here is that proprietary domain experts and NLP engineers are rarely the same people, so coming up with a <a href="https://coreon.com/2021/03/25/multilingual-knowledge-for-the-data-centric-enterprise/">process that ensures a smooth cooperation in knowledge transfer</a> can save a lot of time and hassle.</p>
<p>That’s why our architecture features an integration with the Coreon MKS that allows domain experts to easily and intuitively draft their domain knowledge as a graph.</p>
<p>In a nutshell, the MKS is a semantic knowledge repository, comprised of concepts linked via relations. It caters for discovery, access, drafting, and re-usability of any assets, organized in language-agnostic knowledge graphs.</p>
<p>Since linking is performed at the concept level, we can abstract from language-specific terms and model structured knowledge for phenomena that reflect the non-deterministic nature of the human language (e.g., word sense ambiguity, synonymy, homonymy, multilingualism).</p>
<p>This linking ‘per concept’ also ensures smooth maintenance of relations without additional data clutter and helps us exchange information among acting systems so that precise meaning is understood and preserved among all parties, in any language.</p>
<p>If this still sounds like more work rather than a challenge-overcoming solution, please carry on reading. We’ll now go through concrete cases where we scored multiple points relying on Coreon’s functionality.</p>
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/06/Picture2-Compressed-1024x487.jpg" width="1024" height="487" alt="A screenshot of Coreon and SmartBot integration" srcset="https://coreon.com/wp-content/uploads/2022/06/Picture2-Compressed_hu_4e0e0bf826f42e51.webp 300w, https://coreon.com/wp-content/uploads/2022/06/Picture2-Compressed_hu_1146c7121a6956d7.webp 768w, https://coreon.com/wp-content/uploads/2022/06/Picture2-Compressed_hu_3508af26a7695171.webp 1024w, https://coreon.com/wp-content/uploads/2022/06/Picture2-Compressed_hu_375d26310a024581.webp 1386w" sizes="auto, (max-width: 1024px) 100vw, 1024px"></figure><h2 id="drafting-domain-knowledge">Drafting Domain Knowledge</h2><p>We asked the Vienna Business Agency to draft their knowledge graph and, based on their graph input, we sketched core entities and identified intents that must be recognized in user queries by SmartBot.</p>
<p>In this screenshot you see how VBA’s domain knowledge is represented and curated in Coreon, and how it is reflected in the chatbot’s UI.</p>
<p>In essence, to determine relevant business grants, SmartBot guides the user through a series of questions, narrowing down the selection to most suitable funding programs and fetching back all applicable grant records. While traversing trees of questions, we collect relevant information from the user and further search the VBA grant database or make API calls to Coreon if the NLU model gets confused.</p>
<p>Aside from the VBA domain knowledge, we also use the MKS to curate the interoperability layer and public service multilingual vocabularies, the result of applying the CEFAT4Cities workflows.</p>
<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/06/Picture3-Compressed.jpg" width="907" height="501" alt="A screenshot of the Coreon Knowledge Graph" srcset="https://coreon.com/wp-content/uploads/2022/06/Picture3-Compressed_hu_5442cc6e9f4a3834.webp 300w, https://coreon.com/wp-content/uploads/2022/06/Picture3-Compressed_hu_8d2c82b67d35de0c.webp 768w, https://coreon.com/wp-content/uploads/2022/06/Picture3-Compressed_hu_eecc99bc14a0d570.webp 907w" sizes="auto, (max-width: 907px) 100vw, 907px"></figure><h2 id="going-multilingual">Going Multilingual</h2><p>We see multilinguality as one of our biggest assets, but this feature also comprises a big conceptual challenge: it is very important to have a very clear idea about the <em>kind</em> of multilinguality you want to serve because most likely it will fully shape or at least heavily influence the architecture and scalability of the final solution.</p>
<p>Do you need the chatbot to detect the language of the user’s message and carry on the conversation in the detected language? Or would you prefer the user selects the language manually in the UI, from the limited language options on offer? Should the bot ‘understand’ all languages but reply only in one? Or reply in the one specified by the user? Or maybe reply in the detected language of the last message? Are you working on the solution for an audience that tends to mix/speak several languages?</p>
<p><strong>Serving the same info in different languages?</strong></p>
<ul>
<li>Language detection vs manual selection in UI</li>
<li>Should Bot ‘understand’ all languages but reply in one?</li>
<li>Or rather reply in the language of the last message?</li>
</ul>
<p>While sticking all languages in one chatbot deployment appears to <em>save</em> resources, most likely you’d have to deal with a lot of mess in the data and potential confusion among languages. That hardly sounds like a sustainable and a robust option.</p>
<p>We decided to go with individual NLU models per language, i.e. keeping them language-specific, while making dialogue management/Stories <em>universal</em> for them all, adding an additional layer of abstraction to maintain consistency in the bot’s behavior.</p>
<p><strong>Our approach</strong></p>
<ul>
<li>NLU models per language</li>
<li>One universal Core model/Stories</li>
</ul>
<p>With all its beauty, this approach brings another challenge along: the core model, responsible for dialogue management. It shouldn’t have a single language-specific string among the training data, so we need to find an abstraction for the representation of entities, aka keywords of variety of types, found in the user’s input.</p>
<p><strong>Challenge:</strong></p>
<ul>
<li>Stories contain entities, aka <strong>language-specific</strong> keywords</li>
<li>thus, should be mapped to some language-independent IDs</li>
</ul>
<p>Luckily, we don’t have to look any further.</p>
<p>On this screenshot you see the output from EN NLU model, given the sample input, “<em>hi, I’m interested in subsidies</em>”.</p>
<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/06/Picture4-Compressed.jpg" width="651" height="706" alt="A screenshot of the EN NLU model" srcset="https://coreon.com/wp-content/uploads/2022/06/Picture4-Compressed_hu_e6eaa0ad1fc2eee9.webp 300w, https://coreon.com/wp-content/uploads/2022/06/Picture4-Compressed_hu_832de019430716a1.webp 651w" sizes="auto, (max-width: 651px) 100vw, 651px"></figure><p>You get the recognized intent of this message, <em>want_funding</em>, and below that are the entity type, <em>funding</em>, and the value, the string <em>subsidies</em>.</p>
<p>While NLU digests the user’s input and neatly extracts entities recognizing their types, entity records in the domain knowledge of the VBA are being constantly updated, which needs to be addressed by the bot. We therefore abstract from entity maintenance in distinct languages and replace language-specific terms with their unique Coreon concept IDs, resulting in the output below:</p>
<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/06/Picture5-Compressed.jpg" width="664" height="720" alt="A screenshot of the EN NLU model" srcset="https://coreon.com/wp-content/uploads/2022/06/Picture5-Compressed_hu_e9fd2849968f282e.webp 300w, https://coreon.com/wp-content/uploads/2022/06/Picture5-Compressed_hu_f01a96d5e297c6a3.webp 664w" sizes="auto, (max-width: 664px) 100vw, 664px"></figure><p>Again, we do it because maintaining entities in each language separately would be tedious and not consistent, particularly since the VBA domain knowledge is not static. Also, agnostic entities are crucial for keeping the Rasa Core module language-agnostic, abstracted from entity names in a specific language.</p>
<p>Once VBA decides to expand SmartBot’s language capabilities with a new language, ‘universal entities’ will ensure a smooth model development and minimization of the labeling effort – as the entities are already there.</p>
<h2 id="relations-for-semantic-search">Relations For Semantic Search</h2><p>A few words about another handy feature that is brought into this project by the mighty knowledge graph.</p>
<p>By now it is clear that SmartBot serves the user relevant grant recommendations based on the input they provide. Of course, it implies that at some point the bot will query some data source that contains records on VBA grants and other funding opportunities.</p>
<p>To retrieve appropriate records, we need to match all information that influences the funding outcome. Since SmartBot gives users freedom of free text input queries and not just fixed button-clicking, solely using keyword extraction and further string matching would not help fetch any relevant records from the database.</p>
<p>This is where we can leverage relations between concepts stored in Coreon. For example, in their query the user may use a term that is synonymous or closely related to the one accepted by the VBA database.</p>
<p>When asked what kind of company they represent, the user inputs <em>‘Einzelkaufmann</em>‘, German for ‘registered merchant’. This entry doesn’t show up in the database, and computers are still notoriously bad at semantics.</p>
<p>However, with a knowledge graph at hand, they can employ search via the navigation of parental and associative relations of entity ‘registered merchant’ in Coreon, and now the bot can infer that it is semantically close and connected to <em>Founder</em> (see below).</p>
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/06/Picture6-Compressed-1024x487.jpg" width="1024" height="487" alt="A screenshot of the Coreon Knowledge Graph" srcset="https://coreon.com/wp-content/uploads/2022/06/Picture6-Compressed_hu_8960973f5e5e7fb.webp 300w, https://coreon.com/wp-content/uploads/2022/06/Picture6-Compressed_hu_a82662e0f7ad69ec.webp 768w, https://coreon.com/wp-content/uploads/2022/06/Picture6-Compressed_hu_83670bd10eae230a.webp 1024w, https://coreon.com/wp-content/uploads/2022/06/Picture6-Compressed_hu_e9cd1761928bff6c.webp 1386w" sizes="auto, (max-width: 1024px) 100vw, 1024px"></figure><h2 id="homonymy--terms-unseen-by-the-model">Homonymy &amp; Terms Unseen By The Model</h2><p>Another interesting use-case where a knowledge graph can help us is dealing with unseen terms and homonymy. If the user chooses to use slang or domain-specific terminology that was previously unknown to the model, SmartBot will first try to get its meaning using the connector to Coreon, not by taking a standard fallback at the first opportunity.</p>
<p>In the bot UI screenshot, the user enquires in German about the amount of money that can be received from the VBA. They refer to money as ‘<em>Kohl</em>e’, which is a slang term that is also homonymous to ‘coal’, a fossil (think the analogy ‘dough’ in English).</p>
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/06/Picture7-Compressed-1024x438.jpg" width="1024" height="438" alt="A screenshot of Coreon and SmartBot integration" srcset="https://coreon.com/wp-content/uploads/2022/06/Picture7-Compressed_hu_552f263f16ec041e.webp 300w, https://coreon.com/wp-content/uploads/2022/06/Picture7-Compressed_hu_ca5f527f72d6daa8.webp 768w, https://coreon.com/wp-content/uploads/2022/06/Picture7-Compressed_hu_1cb790c50cbd14f8.webp 1024w, https://coreon.com/wp-content/uploads/2022/06/Picture7-Compressed_hu_63d7c3db75b72743.webp 1386w" sizes="auto, (max-width: 1024px) 100vw, 1024px"></figure><p>Our training data did not contain this term, but the bot makes an API request and searches for it in the knowledge repository. There are two hits in the domain knowledge of the VBA: checking parent concepts and relations of both instances, we see that they belong to two distinct concepts.</p>
<p>The first instance belongs to the CO2 concept in the ‘smart city’ sub-tree, which hosts concepts related to resource-saving, renewable energy, and sustainability. And the second instance is found among synonyms for ‘financial means’ concept, which belongs to the concept denoting financial funds and has a more generic parent of ‘money’, a well-known instance in our NLU model.</p>
<p>Given the context of the conversation is corresponding, the meaning of ‘<em>Kohl</em>e’ is disambiguated for the chatbot, and SmartBot informs the user about the amount of money they can qualify for.</p>
<h2 id="conclusion">Conclusion</h2><p>To sum it all up: if you are considering developing a chatbot and are looking for ways to enhance its performance, try injecting a knowledge graph into it.</p>
<p>Aside from acquiring a resulting solution that is technically robust and easily scalable, you’d get a chance to reuse numerous open linked data resources. Your solution would profit from carefully structured knowledge that is sitting there waiting to be used.</p>
<p>The Coreon knowledge graph unlocks multilinguality, a super-power in the European context, and it also allows <a href="https://coreon.com/2022/03/02/maintaining-concept-maps-a-time-saver-for-terminologists/">maintainers manage data consistently across languages, in a visual and user-friendly way</a>. And of course, it reduces red tape, making business processes more rational and services more discoverable.</p>
<p class="has-text-align-right" style="font-size:10px">*Feature Image: <a href="https://www.pexels.com/photo/high-angle-photo-of-robot-2599244/" target="_blank" rel="noreferrer noopener">Photo by Alex Knight from Pexels</a></p>
<p class="wp-block-paragraph"></p>
]]></content:encoded></item><item><title>So, You Think You Want A Chatbot?</title><link>https://coreon.com/2022/04/19/challenges-of-chatbot-development/</link><dc:creator>Alena Vasilevich</dc:creator><pubDate>Tue, 19 Apr 2022 13:59:52 +0000</pubDate><category>Knowledge Graph</category><category>Multilingual AI</category><category>chatbot</category><guid isPermaLink="false">https://coreon.com/?p=10659</guid><description>Chatbot development is no easy process, so what questions should you ask yourself before you start?</description><content:encoded><![CDATA[<p>Coreon is a part of <a href="https://cefat4cities.eu/" target="_blank" rel="noreferrer noopener">CEFAT4Cities Action</a>, a project co-financed by the Connecting Europe Facility of the European Union that targets the interaction of EU residents and businesses with smart city services. One of its outcomes is an open multilingual linked data repository and a pilot chatbot project for the Vienna Business Agency, which leverages the created resource.</p>
<p>In a small series of blog posts, we will share our experiences building a multilingual chatbot. We will demonstrate how to overcome <a href="https://coreon.com/2016/05/28/the-imperative-of-a-multilingual-digital-single-market/">the language gap of local public services</a> on a European scale, thus reducing red tape for citizens and businesses. In this opening article we steer clear of concrete frameworks and instead focus on the challenges of chatbot development.</p>
<h2 id="before-you-summon-the-engineers">Before You Summon The Engineers…</h2><p>Dialogue is a natural way for humans to interact — we express ideas and share information, convey mood and engage in debates via conversational exchange.</p>
<p>Chatbots, also known as ‘conversational agents’ or ‘conversational assistants’, are designed to mimic this behavior, letting us interact with digital services as if they were a real person. With the latest tech advances, we regularly come across conversational agents — booking tickets, ordering food, obtaining directions, managing bank accounts, receiving assistance from Siri and Alexa — the list goes on!</p>
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2022/04/So-You-Think-You-Want-A-Chatbot-1024x576.jpg" width="1024" height="576" alt="An image of a bot shaking hands with a human" srcset="https://coreon.com/wp-content/uploads/2022/04/So-You-Think-You-Want-A-Chatbot_hu_dfa79f9771375cc9.webp 300w, https://coreon.com/wp-content/uploads/2022/04/So-You-Think-You-Want-A-Chatbot_hu_df75a8e4c4be7060.webp 768w, https://coreon.com/wp-content/uploads/2022/04/So-You-Think-You-Want-A-Chatbot_hu_a5041e637e89d432.webp 1024w, https://coreon.com/wp-content/uploads/2022/04/So-You-Think-You-Want-A-Chatbot_hu_8adf7e17bb885b40.webp 1536w, https://coreon.com/wp-content/uploads/2022/04/So-You-Think-You-Want-A-Chatbot_hu_5e9d32cd938f72cd.webp 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px"></figure><p>Here are some key (although they may appear trivial at first) questions you should ask your project manager <em>before</em> starting out on the development of a new chatbot:</p>
<ul>
<li>What do you want to achieve with the bot? What are the limits of its capabilities? What tasks is it supposed to be tackling? Will it be of a transactional nature or should it rather provide advice, assist with search and the retrieval of information, or combine all of these capabilities in one?</li>
<li>What audience is this bot targeting? Are you interested in deploying it internally for a limited audience, or will it be used broadly, e.g., as part of customer care? Which languages does the audience speak, or which are they comfortable working with?</li>
<li>How do you capture and maintain the knowledge the bot is supposed to provide to the user?</li>
<li>What features does your Minimum Viable Product incorporate, regardless of the framework? Is the bot’s appearance important? Do you need it to have a specific personality, or would you rather keep it neutral?</li>
</ul>
<p>You get the idea. Once the conceptual foundation is there, it’s time to dive deeper into the sea of frameworks and features.</p>
<h2 id="what-are-chatbots-made-of">What Are Chatbots Made Of?</h2><figure class="wp-block-pullquote"><blockquote>
<p>As humans, we barely <em>consciously</em> pay attention to or think too much about sub-processes firing in our brain when engaging in a conversation.</p>
</blockquote></figure>
<p>Depending on the technology used, chatbots can vary from simple interactive FAQ-like programs to vastly adaptive, sophisticated digital assistants that can handle complex scenarios and offer a high degree of personalization due to their ability to learn and evolve.</p>
<p>There are a few key concepts that engineers rely on when they develop a chatbot. As humans, we barely <em>consciously</em> pay attention to or think too much about sub-processes firing in our brain when engaging in a conversation. As NLP engineers of a solution that aims to <strong>imitate</strong> human behavior, however, we should have a clear division of these sub-processes. A chatbot should not only be able to ‘digest’ text or voice input from a user, but also find a way to ‘understand’ it by inferring the semantics of the user’s intent and generating an appropriate answer.</p>
<p>To recognise the needs and goals of the user, modern chatbot frameworks rely on Natural Language Processing (NLP), Natural Language Understanding (NLU) and Natural Language Generation (NLG).</p>
<p>NLP is responsible for parsing user’s input, or utterances; NLU identifies and extracts its intents (goals) and entities (specific concepts like locations, product names, companies, — anything really), while an NLG component generates relevant responses to the user.</p>
<h2 id="so-you-think-you-want-a-chatbot">So You Think You Want A Chatbot</h2><p>When it comes to bot development activities, there is a variety of closed- and open-source tools and frameworks to choose from. This choice is already a challenge of its own.</p>
<p>Before settling for a specific solution that can accomplish your primary goal, it’s helpful to analyze both the short- and long-term project objectives:</p>
<ul>
<li>Have you chosen your features wisely? Are the essential ones mature enough for the project?</li>
<li>Are there framework-bound scalability limitations in case of project growth?</li>
<li>Can you easily integrate additional building blocks offered by third-party providers?</li>
<li>Does the framework satisfy your deployment and security requirements? Are they compliant with your client’s demands? Have these demands been clearly defined (e.g. on-premise vs. cloud-based solution, specific feature requirements, containerization)?</li>
<li>What kind of staff and how much of their capacity is needed to deploy and maintain the deployed solution?</li>
</ul>
<p>Another chunk of pre-implementation work is associated with domain knowledge — proprietary domain experts and NLP engineers are rarely the same people, so coming up with a <a href="https://coreon.com/2021/03/25/multilingual-knowledge-for-the-data-centric-enterprise/">process that ensures a smooth cooperation in knowledge transfer</a> can save a lot of time and hustle. It is also a good chance to clarify conversational limitations of the future chatbot: does it need to cover chit-chat or support human handover, make API calls and pull up information on request? Does it need to be context-aware, or is it enough to support one conversational turn? You don’t want to fully draft your bot’s behavior but rather establish its foundation and mark the boundaries.</p>
<p>Once these questions are clarified, you can roll up your sleeves and start coding. The process tends to be highly iterative — despite all the buzz around AI, you need conversational data from real users from the early stages onwards if you want to design a human-like conversation flow and build a robust virtual assistant.</p>
<p>The rule of thumb is to share your prototype with test users early and continuously collect data from test users so you can adapt the bot’s logic, annotate utterances, and retrain NLU models with the updated real data. And once your assistant is mature enough, you are ready to deploy! 🚀</p>
<p><strong>Stay tuned for implementation details on the multilingual abilities of SmartBot, our chatbot for the Vienna Business Agency, as well as some nifty tricks to ensure consistence in a bot’s language abilities, no matter your language of choice.</strong></p>
<p class="has-text-align-right" style="font-size:10px">*Feature Image: <a href="https://www.freepik.com/photos/robot-hand" target="_blank" rel="noreferrer noopener">Robot Hand Photo created by rawpixel.com – www.freepik.com</a></p>
]]></content:encoded></item><item><title>Building a Chatbot with Coreon</title><link>https://coreon.com/2021/09/21/building-chatbot-with-coreon-knowledge-graph/</link><dc:creator>Jenny Seidel</dc:creator><pubDate>Tue, 21 Sep 2021 07:00:36 +0000</pubDate><category>Multilingual AI</category><category>Partners</category><category>Terminology Management</category><category>chatbot</category><category>ontology</category><guid isPermaLink="false">https://coreon.com/?p=8990</guid><description>How can the use of ontologies lead to smarter and more advanced chatbots?</description><content:encoded><![CDATA[<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2021/09/Building-a-Chatbor-with-Coroen-min-1024x531.jpg" alt="Building a Chatbot with Coreon"></figure><p>A chatbot informs or guides human users on a specific topic, but a machine can only ‘know’ what it is taught by humans. This means the chatbot must ‘know’ about the topic and – above all – how to relate this information to the request of the user. Ontologies are a very helpful data source for this because their purpose is to represent knowledge in context.</p>
<h2 id="what-is-an-ontology"><strong>What is an Ontology?</strong></h2><p>An ontology is defined as the ‘shared and formal modelling of knowledge about a domain’ (IEC 62656-5:2017-06). It consists of classes (or concepts), relations, instances, and axioms (<a href="http://www.cs.man.ac.uk/~stevensr/onto/node3.html" target="_blank" rel="noreferrer noopener">http://www.cs.man.ac.uk/~stevensr/onto/node3.html</a>). Classes refer to a ‘set […] of entities or ‘things’ within a domain’. Relations represent the ‘interactions between concepts or a concept’s properties’ and instances are ‘the ‘things’ represented by a concept’. Moreover, axioms are ‘used to constrain values for classes or instances’. This means that axioms define what values a class or instance can or cannot have. Axioms are used to represent additional knowledge that cannot be derived from the classes or instances themselves (e. g., ‘there can be no train connection between Europe and America’).</p>
<p>An ontology can be summarized as a knowledge base consisting of concepts, as well as relations between the concepts and additional information. Ontologies are made machine-readable through standardized ontology languages such as OWL (Web Ontology Language) or RDF. They make it possible for the knowledge represented in an ontology to be understood by machines and programs, such as chatbots.</p>
<h2 id="the-role-of-concept-maps"><strong>The Role of Concept Maps</strong></h2><figure class="wp-block-pullquote"><blockquote>
<p>Users can access terminology more easily when they see a concept in context.</p>
</blockquote></figure>
<p>In the Coreon Multilingual Knowledge System, <a href="https://coreon.com/2022/03/02/concept-maps-time-saver-knowledge-graphs/">concept maps</a> are built as part of the terminology work. This is a very helpful addition to terminology management because the relations between concepts are captured and displayed next to the concept information. Thanks to this feature, terminologists and experts can define concepts more precisely, as the relationships with and differences to neighbor concepts are crucial factors when settling on a definition. Furthermore, users can access the terminology more easily when they see a concept in context.</p>
<p>Concept maps in Coreon are the perfect base for an ontology, and this is <a href="https://coreon.com/2021/03/25/multilingual-knowledge-for-the-data-centric-enterprise/">an important advantage when re-using terminology for machine applications.</a> The information stored in concept maps can be exported, analyzed, and used by various machine applications, including chatbots. For exports from Coreon, the proprietary language coreon.xml or the standardized ontology language RDF can be used.</p>
<h2 id="use-case-a-chatbot-for-company-services"><strong>Use Case: A Chatbot for Company Services</strong></h2><p>In our use case we created a prototype for a chatbot to represent the services of our company, berns language consulting (blc). Its purpose was to lead users on the company website from ‘utterances’ (i.e., questions or messages typed by users) to solutions. If, for example, a customer asks: ‘How do I get a fast translation into 10 languages?’, they are led to the company service ‘Machine Translation’. Not only do customers immediately learn the name of the service, but also additional information about the advantages and different aspects of machine translation. A call to action is also displayed, e.g., an offer to speak directly to a human expert.</p>
<p>We created the chatbot with the programming language Python. As a database we used the export of a concept map we had created in Coreon beforehand. By doing this, we were able to use the concept map as an ontology. In the concept map, we displayed the following concept classes:</p>
<ul>
<li>company service, e. g., <em>machine translation</em></li>
<li>solutions (part of the service, but also concrete solutions for customers’ problems), e. g., <em>preprocessing</em></li>
<li>customer experience, e. g., <em>translation too expensive</em></li>
<li>other concepts, e. g., <em>MT engine</em></li>
</ul>
<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" src="https://coreon.com/wp-content/uploads/2021/09/Picture1.png" width="602" height="346" alt="Screenshot of the Coreon Knowledge Graph" srcset="https://coreon.com/wp-content/uploads/2021/09/Picture1_hu_1329bda9e69498dd.webp 300w, https://coreon.com/wp-content/uploads/2021/09/Picture1_hu_2c62fac456f8cef5.webp 602w" sizes="auto, (max-width: 602px) 100vw, 602px" style="width:602px;height:346px"><figcaption class="wp-element-caption"><em>A concept map in Coreon, focusing on blc services and solutions</em></figcaption></figure><p>The aim of the chatbot is to lead customers from their ‘utterance’ to possible solutions and company services. For this, the chatbot extracts key words from the customer’s typed enquiry and maps them to the concepts in the concept map. It then follows the paths in the concept map until it reaches solutions and/or specific company services. The extracted solutions and services determine the answer of the chatbot. To enable the chatbot to understand as many utterances as possible, there should be a large number of concepts that are related to the range of customer services.</p>
<h2 id="a-smarter-more-advanced-chatbot"><strong>A Smarter, More Advanced Chatbot</strong></h2><p>The major advantage of using an ontology as a database for a chatbot is that it helps the machine to understand the relationships between concepts. Users’ utterances are easily analyzed and mapped to concepts in the ontology and once the entry into a concept in the ontology is made, related concepts are found and proposed to the user. Another crucial benefit is that a concept map is a <em>controlled</em> database. The administrator can decide which utterances lead to which solutions. Of course, building a concept map as a base for a chatbot entails some manual effort. However, <a href="https://coreon.com/2021/01/11/keeping-your-sanity-with-machine-taxonomization/">automatic procedures can be included to speed up the terminological work.</a></p>
<p>A third big advantage is that the ontology cannot only be used in this particular use case. In theory it can be re-used in practically every use case where a machine is trying to ‘understand’ a human. Such scenarios include language assistance systems, text generators, classifiers, or intelligent search engines.</p>
<p>Do you have a good use case for starting an ontology, or would you like to start one but don’t know how? Do you need help building an ontology? Contact us, we are happy to help!</p>
<p><a href="https://berns-language-consulting.de/language/en/terminology-ontology/" target="_blank" rel="noreferrer noopener">https://berns-language-consulting.de/language/en/terminology-ontology/</a></p>
<p><em><strong>Jenny Seidel</strong> is responsible for terminology management and language quality at berns language consulting (blc). She helps customers set up terminology processes and implement terminology tools for specific use cases. Her recent focus has been the potential of ontologies as a base for Machine Learning.</em></p>
<p class="wp-block-paragraph"></p>
]]></content:encoded></item></channel></rss>