{"id":5052,"date":"2017-04-09T17:34:12","date_gmt":"2017-04-09T16:34:12","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=5052"},"modified":"2017-04-09T17:34:12","modified_gmt":"2017-04-09T16:34:12","slug":"p0-ms2-part-148-ai-aiml-integration","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-ms2-part-148-ai-aiml-integration\/","title":{"rendered":"P0-MS2: Part 148: AI: AIML Integration"},"content":{"rendered":"<p>I have added AIML (AI markup language) support to my project. I have also added the ALICE bot standard knowledge base, which has given me quite a good foundation for conversational AI in my project.<\/p>\n<p>I have a reasonably extensive background in AI, and I intend to eventually develop a very advanced AI system for this project. The first modifications that I will be making to be basic AIML-style system will be to introduce a complex learning system, and a logic engine.<\/p>\n<p>AIML, by default, does support basic learning, but it forces the user to use a &#8220;LEARN&#8221; command, for example &#8220;Learn: The Sun is the center of the Solar System&#8221;. This would obviously not work for an immersive game AI, I need the AI agent to be continuously learning from not just the user, but from the multitude of game variables that it will be wired up to.<\/p>\n<p>The logic engine will extend the learning process even further. Instead of just learning facts directly, (&#8220;John is a King&#8221;), it could use rules (&#8220;All Kings are Rich&#8221;) to learn new facts (&#8220;John is Rich&#8221;) that they haven&#8217;t been directly told. I developed a system similar to this before, and it works extremely well. Even basic logical inference can give the impression that an AI agent is far more complex than it is.<\/p>\n<p>The state of the Art for conversational AI at the moment, at least in an unstructured environment, is still quite basic. It will be difficult to produce realistic AI characters. However, the vast majority of games have very basic AI, most of the time they simple move and shoot and do little else. I think by incorporating a range of technologies and more importantly, by consolidating all of the information that the AI knows about the world (dozens of variables storing information about the world state, status, objectives, even things like time of day) I should be able to produce an AI that is good enough to perform a role as an &#8220;intelligent&#8221; member of the players crew, and not just part of the backdrop.<\/p>\n<figure id=\"attachment_5030\" aria-describedby=\"caption-attachment-5030\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/04\/PhoenixGameDevelopment-05_04_2017-06_14_23-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5030\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/04\/PhoenixGameDevelopment-05_04_2017-06_14_23-PM-300x163.jpg\" alt=\"Unity 05\/04\/2017 , 06:14:23 PM Unity 5.5.1f1 Personal (64bit) - P0Main.unity - New Unity Project - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/04\/PhoenixGameDevelopment-05_04_2017-06_14_23-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/04\/PhoenixGameDevelopment-05_04_2017-06_14_23-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/04\/PhoenixGameDevelopment-05_04_2017-06_14_23-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2017\/04\/PhoenixGameDevelopment-05_04_2017-06_14_23-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-5030\" class=\"wp-caption-text\">Unity<br \/>05\/04\/2017 , 06:14:23 PM<br \/>Unity 5.5.1f1 Personal (64bit) &#8211; P0Main.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I have added AIML (AI markup language) support to my project. I have also added the ALICE bot standard knowledge base, which has given me quite a good foundation for conversational AI in my project. I have a reasonably extensive background in AI, and I intend to eventually develop a very advanced AI system for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17,10,11],"tags":[],"class_list":["post-5052","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-p-0","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5052"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=5052"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5052\/revisions"}],"predecessor-version":[{"id":5053,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/5052\/revisions\/5053"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=5052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=5052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=5052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}