{"id":394230,"date":"2023-08-25T11:18:57","date_gmt":"2023-08-25T11:18:57","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=394230"},"modified":"2026-03-11T07:00:29","modified_gmt":"2026-03-11T07:00:29","slug":"bagisto-chatbot-using-openai-chatgpt-documentation","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/","title":{"rendered":"Guide for Bagisto Chatbot Using OpenAI ( ChatGPT ) LLM"},"content":{"rendered":"\n<p><strong>Bagisto AI Chatbot <\/strong>module is an AI-powered conversational shopping assistant built for the Bagisto eCommerce platform. It uses the Laravel AI SDK and Elasticsearch to intelligently search and retrieve product information.<\/p>\n\n\n\n<p>The chatbot automatically understands customer queries and responds with relevant product results using semantic search and structured catalog queries.<\/p>\n\n\n\n<p>It helps customers easily discover products, check prices, and get instant answers about the store catalog.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Admin can enable or disable the chatbot from the store configuration.<\/li>\n\n\n\n<li>Customers can ask about products, pricing, availability, and catalog details to receive instant responses.<\/li>\n\n\n\n<li>Uses semantic product search powered by Elasticsearch vector search.<\/li>\n\n\n\n<li>Supports structured catalog queries such as cheapest product, price range, stock availability, and product count.<\/li>\n\n\n\n<li>Provides natural conversational responses using AI models configured through MagicAI.<\/li>\n\n\n\n<li>Supports multi-turn conversations, allowing customers to ask follow-up questions naturally.<\/li>\n\n\n\n<li>Automatically indexes products, categories, and CMS pages for fast search.<\/li>\n\n\n\n<li>Works with all Bagisto product types including Simple, Configurable, Bundle, Grouped, Downloadable, and Booking products.<\/li>\n<\/ul>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Installation<\/h3>\n<\/div><\/div>\n\n\n\n<p>After installing the <strong>Bagisto Chatbot<\/strong>, you need to configure Elasticsearch and the AI provider. Once these prerequisites are ready, follow the installation steps below.<\/p>\n\n\n\n<p><p><strong>Step 1: Extract the Extension<\/strong><\/p>\n<p>Unzip the extension and merge the <strong>packages<\/strong> folder into the root directory of your Bagisto project.<\/p><\/p>\n\n\n\n<p><p><strong>Step 2: Configure Autoloading<\/strong><\/p>\n<p>Open the <strong>composer.json<\/strong> file and add the following line under the <strong>psr-4<\/strong> section.<\/p><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&quot;Webkul\\\\Chatbot\\\\&quot;: &quot;packages\/Webkul\/Chatbot\/src&quot;<\/pre>\n\n\n\n<p><p><strong>Step 3: Register the Service Provider<\/strong><\/p>\n<p>Open the <strong>bootstrap\/providers.php<\/strong> file and add the following provider to the array.<\/p><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">Webkul\\Chatbot\\Providers\\ChatbotServiceProvider::class,<\/pre>\n\n\n\n<p><strong>Step 4: Complete the Setup<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\ncomposer dump-autoload<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\">\nphp artisan migrate<\/pre>\n\n\n\n<p><p><strong>Step 5: Index Existing Data<\/strong><\/p>\n<p>After installation, index the products, categories, and CMS pages into Elasticsearch.<\/p><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">php artisan chatbot:index<\/pre>\n\n\n\n<p>The chatbot will now start indexing catalog data and will automatically update the index whenever products, categories, or CMS pages are created or updated.<\/p>\n\n\n\n<p>You can also index specific entity types.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">php artisan chatbot:index --type=products<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\">\nphp artisan chatbot:index --type=categories<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\">\nphp artisan chatbot:index --type=pages<\/pre>\n\n\n\n<p>To drop and recreate the index before indexing (required after mapping changes):\n<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">\nphp artisan chatbot:index --fresh<\/pre>\n\n\n\n<p>New products, categories, and pages are indexed automatically via event listeners whenever they are created or updated.\n<\/p>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Generate OpenAI Key \u2013 OpenAI Account<\/h3>\n<\/div><\/div>\n\n\n\n<p>The user has to first create an&nbsp;<a href=\"https:\/\/platform.openai.com\/account\/usage\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">OpenAI account<\/a>&nbsp;and log in to the OpenAI dashboard as shown in the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full wp-duotone-unset-1\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp\" alt=\"Dashboard\" class=\"wp-image-529923\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Now, the user can click on the API Keys option located in the sidebar. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/apikey-2.webp\" alt=\"API Keys\" class=\"wp-image-529935\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/apikey-2.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/apikey-2-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/apikey-2-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/apikey-2-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Now user need to click on <strong>Create New Secret Key\u00a0<\/strong>button as shown in the screenshot. When the user clicks on this button, a pop-up will appear to create API key. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generate.webp\" alt=\"create secret key\" class=\"wp-image-529936\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generate.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generate-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generate-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generate-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In the pop-up, there will be a &#8220;Copy&#8221; button that allows the user to easily copy the key to their clipboard.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generated.webp\" alt=\"Generated key\" class=\"wp-image-529937\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generated.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generated-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generated-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/generated-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>The generated key is to be used in the configuration settings section under the Open AI key.<\/p>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Admin Configuration of the AI Chatbot:<\/h3>\n<\/div><\/div>\n\n\n\n<p>After generating the OpenAI API key, user need to add it in the Bagisto admin panel under <strong>Configure -> Magic AI -> Providers<\/strong>, where you can paste the generated key to enable the OpenAI provider for the chatbot.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full wp-duotone-unset-2\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/magic.webp\" alt=\"API Configuration\" class=\"wp-image-529942\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/magic.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/magic-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/magic-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/magic-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>After configuring the API key, go to <strong>Configure -> Chatbot -> General<\/strong> in the admin panel. Enable the <strong>Chatbot Status<\/strong> to activate the chatbot on the storefront and select the <strong>AI Model<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full wp-duotone-unset-3\"><img decoding=\"async\" width=\"1508\" height=\"1000\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/chatbotconfig.webp\" alt=\"Configuration\" class=\"wp-image-529946\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/chatbotconfig.webp 1508w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/chatbotconfig-300x199.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/chatbotconfig-1200x796.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/chatbotconfig-250x166.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/chatbotconfig-768x509.webp 768w\" sizes=\"(max-width: 1508px) 100vw, 1508px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Storefront Workflow &#8211;<strong>&nbsp;Bagisto Chatbot Using OpenAI ( ChatGPT ) LLM<\/strong><\/h3>\n<\/div><\/div>\n\n\n\n<p>The users of the website click on the ChatGPT bot at the storefront to get started<\/p>\n\n\n\n<figure class=\"wp-block-image size-full wp-duotone-unset-4\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store1.webp\" alt=\"Storefront chatbot icon\" class=\"wp-image-529948\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store1.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store1-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store1-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store1-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Chatbot courteously asks, <strong>&#8220;Welcome to our store! How can we help you?<\/strong>&#8220;The user asks a question or states their need.<\/p>\n\n\n\n<p>The chatbot processes the query and provides a helpful response. It offers product information, recommendations, support, and more, based on the user&#8217;s needs.<\/p>\n\n\n\n<p>Display the data based on the customer&#8217;s last search and preference.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full wp-duotone-unset-5\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store2.webp\" alt=\"Storefront chatbot\" class=\"wp-image-529951\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store2.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store2-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store2-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/store2-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Clicking on the product link user will be redirected to the product page from where they can then make a checkout as required.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"support\">Support<\/h3>\n\n\n\n<p>That is all about the&nbsp;<strong>Bagisto Chatbot Using OpenAI ( ChatGPT ) LLM<\/strong> extension.&nbsp;If you have any queries regarding the plugin, please contact us at&nbsp;<a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\" target=\"_blank\" rel=\"noreferrer noopener\">Webkul Support System<\/a><strong>.<\/strong><\/p>\n\n\n\n<p>You can add ChatGPT to your <a href=\"https:\/\/bagisto.com\/en\/\">Bagisto Laravel E-commerce<\/a> platform as well.<\/p>\n\n\n\n<p>You may also check our quality <a href=\"https:\/\/store.webkul.com\/Bagisto.html\">Bagisto Extensions<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bagisto AI Chatbot module is an AI-powered conversational shopping assistant built for the Bagisto eCommerce platform. It uses the Laravel AI SDK and Elasticsearch to intelligently search and retrieve product information. The chatbot automatically understands customer queries and responds with relevant product results using semantic search and structured catalog queries. It helps customers easily discover <a href=\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":491,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8396],"tags":[],"class_list":["post-394230","post","type-post","status-publish","format-standard","hentry","category-bagisto"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>User Guide for Laravel Bagisto Chatbot Using OpenAI ChatGPT<\/title>\n<meta name=\"description\" content=\"Documentation of Bagisto Chatbot Using OpenAI shows how to use the chatbot at the store to answer about store products via friendly chat.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"User Guide for Laravel Bagisto Chatbot Using OpenAI ChatGPT\" \/>\n<meta property=\"og:description\" content=\"Documentation of Bagisto Chatbot Using OpenAI shows how to use the chatbot at the store to answer about store products via friendly chat.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-25T11:18:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-11T07:00:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp\" \/>\n<meta name=\"author\" content=\"Priyanshi Goyal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Priyanshi Goyal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/\"},\"author\":{\"name\":\"Priyanshi Goyal\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/009004c1b16791f560a54d753deb8a6f\"},\"headline\":\"Guide for Bagisto Chatbot Using OpenAI ( ChatGPT ) LLM\",\"datePublished\":\"2023-08-25T11:18:57+00:00\",\"dateModified\":\"2026-03-11T07:00:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/\"},\"wordCount\":670,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp\",\"articleSection\":[\"Bagisto\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/\",\"url\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/\",\"name\":\"User Guide for Laravel Bagisto Chatbot Using OpenAI ChatGPT\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp\",\"datePublished\":\"2023-08-25T11:18:57+00:00\",\"dateModified\":\"2026-03-11T07:00:29+00:00\",\"description\":\"Documentation of Bagisto Chatbot Using OpenAI shows how to use the chatbot at the store to answer about store products via friendly chat.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp\",\"width\":1120,\"height\":880},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Guide for Bagisto Chatbot Using OpenAI ( ChatGPT ) LLM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/009004c1b16791f560a54d753deb8a6f\",\"name\":\"Priyanshi Goyal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cfb8e1d31f507e79b5ad2f798f22cb84a0c0ca85a0c202d6da89b645f81f96af?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cfb8e1d31f507e79b5ad2f798f22cb84a0c0ca85a0c202d6da89b645f81f96af?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Priyanshi Goyal\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/priyanshigoyal-ba548\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"User Guide for Laravel Bagisto Chatbot Using OpenAI ChatGPT","description":"Documentation of Bagisto Chatbot Using OpenAI shows how to use the chatbot at the store to answer about store products via friendly chat.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/","og_locale":"en_US","og_type":"article","og_title":"User Guide for Laravel Bagisto Chatbot Using OpenAI ChatGPT","og_description":"Documentation of Bagisto Chatbot Using OpenAI shows how to use the chatbot at the store to answer about store products via friendly chat.","og_url":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-08-25T11:18:57+00:00","article_modified_time":"2026-03-11T07:00:29+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp","type":"","width":"","height":""}],"author":"Priyanshi Goyal","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Priyanshi Goyal","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/"},"author":{"name":"Priyanshi Goyal","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/009004c1b16791f560a54d753deb8a6f"},"headline":"Guide for Bagisto Chatbot Using OpenAI ( ChatGPT ) LLM","datePublished":"2023-08-25T11:18:57+00:00","dateModified":"2026-03-11T07:00:29+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/"},"wordCount":670,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp","articleSection":["Bagisto"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/","url":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/","name":"User Guide for Laravel Bagisto Chatbot Using OpenAI ChatGPT","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp","datePublished":"2023-08-25T11:18:57+00:00","dateModified":"2026-03-11T07:00:29+00:00","description":"Documentation of Bagisto Chatbot Using OpenAI shows how to use the chatbot at the store to answer about store products via friendly chat.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/08\/dashboard.webp","width":1120,"height":880},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/bagisto-chatbot-using-openai-chatgpt-documentation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Guide for Bagisto Chatbot Using OpenAI ( ChatGPT ) LLM"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/009004c1b16791f560a54d753deb8a6f","name":"Priyanshi Goyal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cfb8e1d31f507e79b5ad2f798f22cb84a0c0ca85a0c202d6da89b645f81f96af?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cfb8e1d31f507e79b5ad2f798f22cb84a0c0ca85a0c202d6da89b645f81f96af?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Priyanshi Goyal"},"url":"https:\/\/webkul.com\/blog\/author\/priyanshigoyal-ba548\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/394230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/491"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=394230"}],"version-history":[{"count":32,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/394230\/revisions"}],"predecessor-version":[{"id":530417,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/394230\/revisions\/530417"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=394230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=394230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=394230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}