{"id":2994,"date":"2023-01-29T14:26:14","date_gmt":"2023-01-29T08:56:14","guid":{"rendered":"https:\/\/www.rangakrish.com\/?p=2994"},"modified":"2023-01-30T18:51:45","modified_gmt":"2023-01-30T13:21:45","slug":"wolframalpha-chatgpt-and-the-future-of-ai","status":"publish","type":"post","link":"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/","title":{"rendered":"WolframAlpha, ChatGPT, and the Future of AI"},"content":{"rendered":"<p>We all know that <a href=\"https:\/\/openai.com\/blog\/chatgpt\/\" target=\"_blank\" rel=\"noopener\"><em><strong>ChatGPT<\/strong><\/em><\/a> has taken the world by storm. True, it is a major advance of Artificial Intelligence in the area of Natural Language Processing. Many may not know that <a href=\"https:\/\/www.wolframalpha.com\" target=\"_blank\" rel=\"noopener\"><em><strong>WolframAlpha<\/strong><\/em><\/a>, launched in 2009, allowed natural language queries. As a long time user of <a href=\"https:\/\/www.wolfram.com\/mathematica\/\" target=\"_blank\" rel=\"noopener\"><em><strong>Wolfram Mathematica<\/strong><\/em><\/a>, I was pleasantly surprised when the product was launched and experimented quite a bit with it. The product has grown substantially since then and is backed by a huge amount of <em><strong>\u201ccurated knowledge\u201d<\/strong><\/em>. What I like most about it is the way it presents its answers. Here is a sample:<\/p>\n<figure id=\"attachment_2996\" aria-describedby=\"caption-attachment-2996\" style=\"width: 550px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha2.png?ssl=1\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" data-attachment-id=\"2996\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/walpha2\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha2.png\" data-orig-size=\"729,468\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"WolframAlpha Query\" data-image-description=\"&lt;p&gt;WolframAlpha Query&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;WolframAlpha Query&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha2.png\" class=\"wp-image-2996\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha2.png?resize=550%2C353&#038;ssl=1\" alt=\"WolframAlpha Query\" width=\"550\" height=\"353\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha2.png?resize=300%2C193&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha2.png?resize=140%2C90&amp;ssl=1 140w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha2.png?w=729&amp;ssl=1 729w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><figcaption id=\"caption-attachment-2996\" class=\"wp-caption-text\"><strong>WolframAlpha Query-1<\/strong><\/figcaption><\/figure>\n<p>It is remarkable that when I introduce brackets to indicate precedence in calculations, it is able to handle that correctly:<\/p>\n<figure id=\"attachment_2997\" aria-describedby=\"caption-attachment-2997\" style=\"width: 550px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha1.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"2997\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/walpha1\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha1.png\" data-orig-size=\"731,398\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Another Query\" data-image-description=\"&lt;p&gt;Another Query&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Another Query&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha1.png\" class=\"wp-image-2997\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha1.png?resize=550%2C299&#038;ssl=1\" alt=\"Another Query\" width=\"550\" height=\"299\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha1.png?resize=300%2C163&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha1.png?w=731&amp;ssl=1 731w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><figcaption id=\"caption-attachment-2997\" class=\"wp-caption-text\"><strong>Slightly Modified Query<\/strong><\/figcaption><\/figure>\n<p>The query need not be restricted to Mathematics or even Science; it can handle several domains. Here is a different query:<\/p>\n<figure id=\"attachment_2998\" aria-describedby=\"caption-attachment-2998\" style=\"width: 550px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha-0.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"2998\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/walpha-0\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha-0.png\" data-orig-size=\"728,336\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"A General Query\" data-image-description=\"&lt;p&gt;A General Query&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;A General Query&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha-0.png\" class=\"wp-image-2998\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha-0.png?resize=550%2C254&#038;ssl=1\" alt=\"A General Query\" width=\"550\" height=\"254\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha-0.png?resize=300%2C138&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha-0.png?w=728&amp;ssl=1 728w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><figcaption id=\"caption-attachment-2998\" class=\"wp-caption-text\"><strong>A General Query<\/strong><\/figcaption><\/figure>\n<p>How does this differ from <em><strong>ChatGPT<\/strong><\/em>? Let us see the answers generated by <em><strong>ChatGPT<\/strong><\/em> for the earlier two Math queries:<\/p>\n<figure id=\"attachment_3000\" aria-describedby=\"caption-attachment-3000\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3000\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/chatgpt1\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt1.png\" data-orig-size=\"562,312\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ChatGPT Math Queries\" data-image-description=\"&lt;p&gt;ChatGPT Math Queries&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;ChatGPT Math Queries&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt1.png\" class=\"wp-image-3000\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt1.png?resize=500%2C278&#038;ssl=1\" alt=\"ChatGPT Math Queries\" width=\"500\" height=\"278\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt1.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt1.png?w=562&amp;ssl=1 562w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3000\" class=\"wp-caption-text\"><strong>ChatGPT Math Queries<\/strong><\/figcaption><\/figure>\n<p>As you can see, <em><strong>ChatGPT<\/strong><\/em> is not able to differentiate between the two queries. While I am not going to compare the two products in detail, it is only fair to point out that even <em><strong>WolframAlpha<\/strong><\/em> will fail in some cases. Here is one such example:<\/p>\n<figure id=\"attachment_3001\" aria-describedby=\"caption-attachment-3001\" style=\"width: 550px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha3.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3001\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/walpha3\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha3.png\" data-orig-size=\"728,136\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"WolframAlpha Failed Query\" data-image-description=\"&lt;p&gt;WolframAlpha Failed Query&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;WolframAlpha Failed Query&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha3.png\" class=\"wp-image-3001\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha3.png?resize=550%2C103&#038;ssl=1\" alt=\"WolframAlpha Failed Query\" width=\"550\" height=\"103\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha3.png?resize=300%2C56&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/walpha3.png?w=728&amp;ssl=1 728w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><figcaption id=\"caption-attachment-3001\" class=\"wp-caption-text\"><strong>WolframAlpha Failed Query<\/strong><\/figcaption><\/figure>\n<p>Let us see how <em><strong>ChatGPT<\/strong><\/em> handles this case:<\/p>\n<figure id=\"attachment_3002\" aria-describedby=\"caption-attachment-3002\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt2.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3002\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/chatgpt2\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt2.png\" data-orig-size=\"613,155\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ChatGPT Response\" data-image-description=\"&lt;p&gt;ChatGPT Response&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;ChatGPT Response&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt2.png\" class=\"wp-image-3002\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt2.png?resize=500%2C126&#038;ssl=1\" alt=\"ChatGPT Response\" width=\"500\" height=\"126\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt2.png?resize=300%2C76&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatgpt2.png?w=613&amp;ssl=1 613w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3002\" class=\"wp-caption-text\"><strong>ChatGPT Response<\/strong><\/figcaption><\/figure>\n<p>That is the correct answer!<\/p>\n<p>To me, what is interesting and special about <em><strong>WolframAlpha<\/strong><\/em> is not the <em><strong>NLP<\/strong><\/em> part or its knowledge base, but the fact that the query is internally converted into <em><strong>Expressions<\/strong><\/em> and <em><strong>Concepts<\/strong><\/em> built into the <em><strong>Wolfram<\/strong> <strong>Language<\/strong><\/em> and executed at the symbolic level.<\/p>\n<p>In a <a href=\"https:\/\/writings.stephenwolfram.com\/2023\/01\/wolframalpha-as-the-way-to-bring-computational-knowledge-superpowers-to-chatgpt\/#sq_ha28zv092f\" target=\"_blank\" rel=\"noopener\"><em><strong>recent article<\/strong><\/em><\/a>, Stephen Wolfram has compared <em><strong>ChatGPT<\/strong><\/em> and <em><strong>WolframAlpha<\/strong><\/em> and gives examples where <em><strong>ChatGPT<\/strong><\/em> generated incorrect answers, while <em><strong>WolframAlpha<\/strong><\/em> gives the correct answers. He goes on to express his view that <em><strong>ChatGPT<\/strong><\/em> could perhaps use <em><strong>WolframAlpha<\/strong><\/em> as a <em><strong>\u201csuper power\u201d<\/strong><\/em> back end to compute the correct responses.<\/p>\n<p>While this is certainly possible and will work in some (or even many) cases, it might not solve the general problem of generating the correct response for an arbitrary input. I believe that a workable and scalable solution lies in adopting a different approach.<\/p>\n<p>The following diagram shows <em><strong>WolframAlpha<\/strong><\/em> and <em><strong>ChatGPT<\/strong><\/em> as they exist today:<\/p>\n<figure id=\"attachment_3005\" aria-describedby=\"caption-attachment-3005\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatGPT-and-Walpha.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3005\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/chatgpt-and-walpha\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatGPT-and-Walpha.png\" data-orig-size=\"374,186\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ChatGPT and WolframAlpha Today\" data-image-description=\"&lt;p&gt;ChatGPT and WolframAlpha Today&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;ChatGPT and WolframAlpha Today&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatGPT-and-Walpha.png\" class=\"wp-image-3005\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatGPT-and-Walpha.png?resize=400%2C199&#038;ssl=1\" alt=\"ChatGPT and WolframAlpha Today\" width=\"400\" height=\"199\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatGPT-and-Walpha.png?resize=300%2C149&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/chatGPT-and-Walpha.png?w=374&amp;ssl=1 374w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><figcaption id=\"caption-attachment-3005\" class=\"wp-caption-text\"><strong>ChatGPT and WolframAlpha Today<\/strong><\/figcaption><\/figure>\n<p>Each product takes the input and generates the result directly (the fact that <em><strong>WolframAlpha<\/strong><\/em> converts this to a symbolic query internally is an implementation detail). This is a <em><strong>\u201cheavyweight\u201d<\/strong><\/em> approach where each tries to <em><strong>&#8220;do all&#8221;<\/strong><\/em> and <em><strong>&#8220;be all&#8221;<\/strong><\/em>. Not surprisingly, this leads to failures in some cases. It is impractical to be a <em><strong>\u201cmaster-of-everything\u201d<\/strong><\/em>! And this doesn\u2019t scale easily.<\/p>\n<p>Is there a different approach? I believe that the following scheme provides a better approach:<\/p>\n<figure id=\"attachment_3006\" aria-describedby=\"caption-attachment-3006\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3006\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/proposed-model\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model.png\" data-orig-size=\"559,169\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"A Different Model\" data-image-description=\"&lt;p&gt;A Different Model&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;A Different Model&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model.png\" class=\"wp-image-3006\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model.png?resize=500%2C151&#038;ssl=1\" alt=\"A Different Model\" width=\"500\" height=\"151\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model.png?resize=300%2C91&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model.png?w=559&amp;ssl=1 559w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-3006\" class=\"wp-caption-text\"><strong>A Different Model<\/strong><\/figcaption><\/figure>\n<p>In this approach, we have a <em><strong>\u201cconverter\u201d<\/strong><\/em> that converts the free-form query to a formal meaning representation language, and this is then processed by a suitable domain expert to generate the correct response.<\/p>\n<p>What is this <em><strong>\u201cmeaning representation language\u201d<\/strong><\/em>? From Roger Schank\u2019s <a href=\"https:\/\/en.wikipedia.org\/wiki\/Conceptual_dependency_theory\" target=\"_blank\" rel=\"noopener\"><em><strong>Conceptual Dependency Theory<\/strong> <\/em><\/a>to the more recent <a href=\"https:\/\/amr.isi.edu\" target=\"_blank\" rel=\"noopener\"><em><strong>Abstract Meaning Representation Language (AMR)<\/strong><\/em><\/a>, a lot of interesting research is happening in the area of <em><strong>Meaning Representation<\/strong><\/em>. Of course, much more remains to be done.<\/p>\n<p>Here is what I would like to suggest: Just like we have a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Java_virtual_machine\" target=\"_blank\" rel=\"noopener\"><strong><em>Java Virtual Machine (JVM)<\/em><\/strong><\/a>, we should devise a <em><strong>Cognitive Virtual Machine (CVM)<\/strong><\/em> architecture that mimics human cognition and, as part of that, define the primitive instructions that can be used in the <em><strong>Meaning Representation Language<\/strong><\/em>. This will help standardize the <em><strong>MRL.<\/strong><\/em> Domain experts can use this <em><strong>MRL<\/strong><\/em> to build custom intelligent solutions for their respective domains. I know this is a challenging problem to solve, but if the kind of collective effort (and money) that is being pumped into <em><strong>Machine Learning<\/strong><\/em> is also put into this <em><strong>CVM<\/strong><\/em> design, it will become a reality in the next decade.<\/p>\n<p>Building an intelligent system eventually becomes a <em><strong>\u201cplug-and-play\u201d<\/strong><\/em> system:<\/p>\n<figure id=\"attachment_3008\" aria-describedby=\"caption-attachment-3008\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model-2.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3008\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/proposed-model-2\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model-2.png\" data-orig-size=\"644,333\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Building Intelligent Solutions of the Future\" data-image-description=\"&lt;p&gt;Building Intelligent Solutions of the Future&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Building Intelligent Solutions of the Future&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model-2.png\" class=\"wp-image-3008\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model-2.png?resize=450%2C233&#038;ssl=1\" alt=\"Building Intelligent Solutions of the Future\" width=\"450\" height=\"233\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model-2.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/proposed-model-2.png?w=644&amp;ssl=1 644w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-3008\" class=\"wp-caption-text\"><strong>Building Intelligent Solutions of the Future<\/strong><\/figcaption><\/figure>\n<p>An intelligent <em><strong>&#8220;chat agent&#8221;<\/strong><\/em> of the future can then be built by suitably integrating these components like this:<\/p>\n<figure id=\"attachment_3010\" aria-describedby=\"caption-attachment-3010\" style=\"width: 450px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/Proposed-model-3.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"3010\" data-permalink=\"https:\/\/www.rangakrish.com\/index.php\/2023\/01\/29\/wolframalpha-chatgpt-and-the-future-of-ai\/proposed-model-3\/\" data-orig-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/Proposed-model-3.png\" data-orig-size=\"744,405\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Intelligent Chat Agent of the Future\" data-image-description=\"&lt;p&gt;Intelligent Chat Agent of the Future&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Intelligent Chat Agent of the Future&lt;\/p&gt;\n\" data-large-file=\"https:\/\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/Proposed-model-3.png\" class=\"wp-image-3010\" src=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/Proposed-model-3.png?resize=450%2C245&#038;ssl=1\" alt=\"Intelligent Chat Agent of the Future\" width=\"450\" height=\"245\" srcset=\"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/Proposed-model-3.png?resize=300%2C163&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2023\/01\/Proposed-model-3.png?w=744&amp;ssl=1 744w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/a><figcaption id=\"caption-attachment-3010\" class=\"wp-caption-text\"><strong>Intelligent Chat Agent of the Future<\/strong><\/figcaption><\/figure>\n<p>It might appear to be far-fetched today, but when experts from different disciplines come together, the <em><strong>Cognitive Virtual Machine<\/strong> <\/em>will be a reality and <em><strong>Artificial Intelligence<\/strong><\/em> will get a major boost at that time!<\/p>\n<p>Have a nice weekend!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We all know that ChatGPT has taken the world by storm. True, it is a major advance of Artificial Intelligence in the area of Natural Language Processing. Many may not know that WolframAlpha, launched in 2009, allowed natural language queries. As a long time user of Wolfram Mathematica, I was pleasantly surprised when the product [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[162,72,107],"tags":[348,351,350,349],"class_list":["post-2994","post","type-post","status-publish","format-standard","hentry","category-knowledge-representation","category-mathematica","category-natural-language-processing","tag-chatgpt","tag-cognitive-virtual-machine","tag-meaning-representation-language","tag-wolframalpha"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9OLnF-Mi","jetpack-related-posts":[{"id":328,"url":"https:\/\/www.rangakrish.com\/index.php\/2016\/09\/11\/natural-language-processing-in-mathematica\/","url_meta":{"origin":2994,"position":0},"title":"Natural Language Processing in Mathematica","author":"admin","date":"September 11, 2016","format":false,"excerpt":"Welcome back. Today I am going to share with you some of the nice capabilities of Mathematica in the area of Natural Language Processing (NLP). Let us start with words. What if we wish to know\u00a0the various definitions of the word image?\u00a0Here is the answer. Mathematica gives the various senses\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Word Definition","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/09\/word-data1-1024x238.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/09\/word-data1-1024x238.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/09\/word-data1-1024x238.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/09\/word-data1-1024x238.png?resize=700%2C400 2x"},"classes":[]},{"id":2131,"url":"https:\/\/www.rangakrish.com\/index.php\/2020\/09\/13\/mathematica-using-textcases-to-extract-information-from-natural-language-text\/","url_meta":{"origin":2994,"position":1},"title":"Mathematica: Using TextCases to Extract Information from Natural Language Text\u00a0","author":"admin","date":"September 13, 2020","format":false,"excerpt":"Extracting meaningful information from unstructured, human readable text is a hot topic of research today and has important applications in many domains. I have written a few blogs related to this topic, for example, see this\u00a0and this. In today\u2019s article, I would like to show how Mathematica can be a\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Extracting Sentences","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2020\/09\/ex1-2-300x106.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1541,"url":"https:\/\/www.rangakrish.com\/index.php\/2019\/04\/21\/textcontents-function-in-mathematica-12\/","url_meta":{"origin":2994,"position":2},"title":"TextContents[ ] Function in Mathematica 12","author":"admin","date":"April 21, 2019","format":false,"excerpt":"Mathematica 12 was released a few days ago.\u00a0 It has been over a year since version 11.3 came out in March 2018. The long wait appears justified since the new release boasts of numerous improvements and new features across several areas. You may want to read this blog post\u00a0by Stephen\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Importing Text File","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2019\/04\/FileImport.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2019\/04\/FileImport.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2019\/04\/FileImport.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":870,"url":"https:\/\/www.rangakrish.com\/index.php\/2018\/03\/25\/question-answering-in-mathematica\/","url_meta":{"origin":2994,"position":3},"title":"Question Answering in Mathematica","author":"admin","date":"March 25, 2018","format":false,"excerpt":"About 10 days ago, I received an update for Mathematica. The latest version is 11.3.0. As usual, I looked through the list of new features\u00a0in this release. There are several new features, but one of them attracted my attention immediately: There is a new function FindTextualAnswer\u00a0that, given a piece of\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Example 1","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2018\/03\/Example1.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2018\/03\/Example1.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2018\/03\/Example1.png?resize=525%2C300 1.5x"},"classes":[]},{"id":3545,"url":"https:\/\/www.rangakrish.com\/index.php\/2024\/11\/09\/semantic-search-in-wolfram-mathematica\/","url_meta":{"origin":2994,"position":4},"title":"Semantic Search in Wolfram Mathematica","author":"admin","date":"November 9, 2024","format":false,"excerpt":"In an earlier article, I explained how to use OpenAI from Wolfram Mathematica ver 14.1. This latest release of Wolfram supports Semantic Search as well. In today\u2019s article, let me discuss this feature. As in the case of using LLMs, using Semantic Search requires an account with one of the\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Remedy Description","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2024\/11\/image1-300x225.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2024\/11\/image1-300x225.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2024\/11\/image1-300x225.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":409,"url":"https:\/\/www.rangakrish.com\/index.php\/2016\/11\/02\/working-with-linguistic-data-in-mathematica\/","url_meta":{"origin":2994,"position":5},"title":"Working with Linguistic Data in Mathematica","author":"admin","date":"November 2, 2016","format":false,"excerpt":"There are many interesting functions in Mathematica for working with language data, not just in English but in many other languages too. The DictionaryLookup[] function is a good starting point. Let us see what languages are supported as part of dictionary lookup: That is a good collection. It is nice\u2026","rel":"","context":"In &quot;Mathematica&quot;","block_context":{"text":"Mathematica","link":"https:\/\/www.rangakrish.com\/index.php\/category\/mathematica\/"},"img":{"alt_text":"Supported Languages","src":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/11\/dict-1.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/11\/dict-1.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.rangakrish.com\/wp-content\/uploads\/2016\/11\/dict-1.png?resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/posts\/2994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/comments?post=2994"}],"version-history":[{"count":0,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/posts\/2994\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/media?parent=2994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/categories?post=2994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rangakrish.com\/index.php\/wp-json\/wp\/v2\/tags?post=2994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}