{"id":214,"date":"2023-03-14T18:04:57","date_gmt":"2023-03-14T18:04:57","guid":{"rendered":"https:\/\/wavemaker.co.uk\/blog\/?p=214"},"modified":"2023-03-14T18:04:57","modified_gmt":"2023-03-14T18:04:57","slug":"getting-started-with-the-open-ai-bot","status":"publish","type":"post","link":"https:\/\/wavemaker.co.uk\/blog\/getting-started-with-the-open-ai-bot\/","title":{"rendered":"Getting started with The Open AI Bot"},"content":{"rendered":"\n<p>You may have noticed a little robot icon in the toolbar, and are wondering what an API key is. Don&#8217;t worry its pretty simple.<\/p>\n\n\n\n<p>Open AI charges for their service so it&#8217;s easier for me to set this up so you can use the assistance bot yourself &#8211; the good news is that it&#8217;s really easy to sign up and use it.<\/p>\n\n\n\n<h1>Step 1<\/h1>\n\n\n\n<p>Go to  <a rel=\"noreferrer noopener\" href=\"https:\/\/openai.com\/blog\/openai-api\" target=\"_blank\">OpenAI API<\/a> page and click on the sign up button &#8211; you follow the easy prompts to create an account and get logged in.<\/p>\n\n\n\n<h1>Step 2<\/h1>\n\n\n\n<p>Click on this icon top right and ain the dropdown select &#8220;View API Keys&#8221;  &#8211; you won&#8217;t have one &#8211; click on &#8220;Create new secret key&#8221; and COPY the key from the popup window &#8211; you will want to save this into a text file somewhere for later use.<\/p>\n\n\n\n<h1>Step 3<\/h1>\n\n\n\n<p>Open up wavemaker version 4 and click on the Bot icon and paste your key into the API key field. Press &#8220;save&#8221; and you should now see the question form &#8211; You can simply ask OpenAI to do &#8230; well pretty much anything. But bear in mind that you only get a $5 allowance free &#8211; then you will have to pay more to the open ai account<\/p>\n\n\n\n<h3>What are tokens? <\/h3>\n\n\n\n<p>To be honest &#8230; not sure myself &#8211; but every question and answer uses tokens that seem to go for a tiny fraction of a cent each &#8211; I have set the limit for token use per request to be 50 tokens by default &#8211; but you can set it higher (50 tokens is probably about a sentence of reply and a short question)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may have noticed a little robot icon in the toolbar, and are wondering what an API key is. Don&#8217;t worry its pretty simple. Open AI charges for their service so it&#8217;s easier for me to set this up so you can use the assistance bot yourself &#8211; the good news is that it&#8217;s really &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/wavemaker.co.uk\/blog\/getting-started-with-the-open-ai-bot\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Getting started with The Open AI Bot&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/posts\/214"}],"collection":[{"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":1,"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/posts\/214\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/posts\/214\/revisions\/215"}],"wp:attachment":[{"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wavemaker.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}