{"id":1320,"date":"2024-09-20T10:23:17","date_gmt":"2024-09-20T10:23:17","guid":{"rendered":"https:\/\/turbopowers.com\/kbx\/?post_type=kbx_knowledgebase&#038;p=1320"},"modified":"2025-02-28T06:47:56","modified_gmt":"2025-02-28T06:47:56","slug":"how-to-train-ai-with-your-website-data-using-chatbot","status":"publish","type":"kbx_knowledgebase","link":"https:\/\/turbopowers.com\/kbx\/knowledgebase\/how-to-train-ai-with-your-website-data-using-chatbot\/","title":{"rendered":"How to train AI with your website data using ChatBot"},"content":{"rendered":"<p>You can train an OpenAI model with your data using 2 methods:<\/p>\n<ul>\n<li>Fine Tuning<\/li>\n<li>GPT Assistant<\/li>\n<\/ul>\n<p>We suggest using GPT Assistant as this is easier, quicker, and more flexible. It basically involves creating a GPT Assistant on the OpenAI platform and uploading your website content. Our ChatBot for WordPress WPBot allows you to easily <strong>generate<\/strong> a JSON file containing all your <strong>website data<\/strong> that you can upload to your GPT Assistant. Here is the step by step process guideline:<\/p>\n<p>1. Head over to ChatBot Pro-&gt;OpenAI Settings. Enable OpenAI and add your API key. You can get your <a href=\"https:\/\/platform.openai.com\/api-keys\" target=\"_blank\" rel=\"noopener\">OpenAI API key from here<\/a>.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-1350\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/OpenAI-APi-key-for-ChatBot.jpg\" alt=\"\" width=\"956\" height=\"563\" srcset=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/OpenAI-APi-key-for-ChatBot.jpg 956w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/OpenAI-APi-key-for-ChatBot-300x177.jpg 300w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/OpenAI-APi-key-for-ChatBot-768x452.jpg 768w\" sizes=\"(max-width: 956px) 100vw, 956px\" \/><\/p>\n<p>2. Go to the GPT training with Website Data tab. Select all the <strong>Post types<\/strong> you need and press the button <strong>Convert Data for Assistant<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-1346 size-full\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Training-with-Website-Data.png\" alt=\"\" width=\"1355\" height=\"590\" srcset=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Training-with-Website-Data.png 1355w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Training-with-Website-Data-300x131.png 300w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Training-with-Website-Data-1024x446.png 1024w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Training-with-Website-Data-768x334.png 768w\" sizes=\"(max-width: 1355px) 100vw, 1355px\" \/><\/p>\n<p>Once it is done, <strong>download<\/strong> the data file in JSON format<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-1342 size-full\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/Download-GPT-Training-Data.jpg\" alt=\"\" width=\"1188\" height=\"878\" srcset=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/Download-GPT-Training-Data.jpg 1188w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/Download-GPT-Training-Data-300x222.jpg 300w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/Download-GPT-Training-Data-1024x757.jpg 1024w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/Download-GPT-Training-Data-768x568.jpg 768w\" sizes=\"(max-width: 1188px) 100vw, 1188px\" \/><\/p>\n<p>3. Go to <a href=\"https:\/\/platform.openai.com\/playground\/assistants\" target=\"_blank\" rel=\"noopener\">Assistant Playground<\/a> and create a new Assistant.<br \/>\nUpload the JSON file you downloaded and Enable Search.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1343 size-full\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Assistant-File-Upload.png\" alt=\"\" width=\"437\" height=\"694\" srcset=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Assistant-File-Upload.png 437w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Assistant-File-Upload-189x300.png 189w\" sizes=\"(max-width: 437px) 100vw, 437px\" \/><\/p>\n<p>Give the GPT an Instruction similar to the one below but customize it to your website URL:<br \/>\n<em>Your name is Carry. You are a ChatBot assistant for the website https:\/\/www.quantumcloud.com. Use the website data and the uploaded file to answer any questions from our website users.<\/em><\/p>\n<p>4. Copy the Assistants ID and paste it under the GPT Assistants tab under the OpenAI settings on your website.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1344 size-full\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Assistant-ID.png\" alt=\"\" width=\"437\" height=\"694\" srcset=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Assistant-ID.png 437w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Assistant-ID-189x300.png 189w\" sizes=\"(max-width: 437px) 100vw, 437px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1345\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Assistant-Setting.png\" alt=\"\" width=\"717\" height=\"479\" srcset=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Assistant-Setting.png 717w, https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2024\/09\/GPT-Assistant-Setting-300x200.png 300w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/p>\n<p>Go to your website and ask the ChatBot something specific to your website content to make sure it works.<\/p>\n<p><strong><span style=\"color: #ff6600;\">**Very Important:<\/span><br \/>\n<\/strong><strong>You have to <a href=\"https:\/\/platform.openai.com\/settings\/organization\/billing\/overview\" target=\"_blank\" rel=\"noopener\">Pre-purchase OpenAI API<\/a> credits from the OpenAI API platform.<br \/>\n<\/strong><strong>Also, make sure you are not over the <a href=\"https:\/\/platform.openai.com\/settings\/organization\/limits\" target=\"_blank\" rel=\"noopener\">API usage limit<\/a>.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>You are done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can train an OpenAI model with your data using 2 methods: Fine Tuning GPT Assistant We suggest using GPT Assistant as this is easier, quicker, and more flexible. It basically involves creating a GPT Assistant on the OpenAI platform and uploading your website content. Our ChatBot for WordPress WPBot allows you to easily generate [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"kbx_category":[17,23],"kbx_tag":[],"class_list":["post-1320","kbx_knowledgebase","type-kbx_knowledgebase","status-publish","hentry","kbx_category-getting-started","kbx_category-open-ai"],"_links":{"self":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase\/1320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase"}],"about":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/types\/kbx_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/comments?post=1320"}],"version-history":[{"count":1,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase\/1320\/revisions"}],"predecessor-version":[{"id":1987,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase\/1320\/revisions\/1987"}],"wp:attachment":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/media?parent=1320"}],"wp:term":[{"taxonomy":"kbx_category","embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_category?post=1320"},{"taxonomy":"kbx_tag","embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_tag?post=1320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}