{"id":2777,"date":"2024-11-21T14:51:04","date_gmt":"2024-11-21T14:51:04","guid":{"rendered":"https:\/\/www.aisupersmart.com\/Question-Answer\/question\/how-to-make-api-ai-agent-learn-something-dynamically\/"},"modified":"2024-11-21T14:51:04","modified_gmt":"2024-11-21T14:51:04","slug":"how-to-make-api-ai-agent-learn-something-dynamically","status":"publish","type":"question","link":"https:\/\/www.aisupersmart.com\/Question-Answer\/question\/how-to-make-api-ai-agent-learn-something-dynamically\/","title":{"rendered":"How to make api.ai agent learn something dynamically?"},"content":{"rendered":"<p>I am currently using api.ai , to create agent to perform specific tasks, but one question i don&#8217;t have answer to is , can i make it learn something while chatting , mean that i speak\u00a0<strong>my name is &#8216;John Cena&#8217;<\/strong>\u00a0and she should store it and then whenever i ask her again bot should answer me that. i know there is a way to do it by logging into\u00a0<strong>api.ai<\/strong>\u00a0web and manually add entries , but it will not help, is there any work around programmatically or automatically ? the file i&#8217;ve been using to practice is given in\u00a0<a href=\"https:\/\/github.com\/sitepoint-editors\/Api-AI-Personal-Assistant-Demo\/blob\/master\/index.html\" rel=\"nofollow noopener\" target=\"_blank\">github<\/a>\u00a0. and here is working\u00a0<a href=\"http:\/\/patcat.com\/demos\/barry\/\" rel=\"nofollow noopener\" target=\"_blank\">DEMO<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","question-category":[87],"question_tags":[88],"class_list":["post-2777","question","type-question","status-publish","hentry","question-category-coding","question_tags-code"],"_links":{"self":[{"href":"https:\/\/www.aisupersmart.com\/Question-Answer\/wp-json\/wp\/v2\/question\/2777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aisupersmart.com\/Question-Answer\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/www.aisupersmart.com\/Question-Answer\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/www.aisupersmart.com\/Question-Answer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aisupersmart.com\/Question-Answer\/wp-json\/wp\/v2\/comments?post=2777"}],"wp:attachment":[{"href":"https:\/\/www.aisupersmart.com\/Question-Answer\/wp-json\/wp\/v2\/media?parent=2777"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/www.aisupersmart.com\/Question-Answer\/wp-json\/wp\/v2\/question-category?post=2777"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/www.aisupersmart.com\/Question-Answer\/wp-json\/wp\/v2\/question_tags?post=2777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}