Deployment

Deployment

MODULE 5: Deployment

we’ve created a basic, but functioning chatbot. The problem is that it’s currently available only from the Try it out panel after you log in. If you wish to share it with some friends or actual end users, you are not able to (unless you give them your login information, something you should never do). What we need to is deploy our chatbot somewhere publicly accessible.

As you worked on the dialog skill in the previous module, you might have noticed that alongside Skills there was a tab for Assistants. An Assistant is a chatbot and it can have one or more skills within it. We developed a dialog skill that allows the chatbot to understand and reply to the user. Now, we’ll need to create the actual assistant and link our dialog skill to it. Doing so will allow our chatbot to be deployed through various channels, including WordPress sites, Facebook Messenger, Intercom, Slack, your own application, et cetera. Some coding skills are required for the more advanced deployments, such as your own web or mobile application, but thankfully in this course we’ll deploy the chatbot without having to write any code. If you are a programmer, the API for Watson Assistant is well documented with examples in JavaScript and Python. When you create an assistant you are given the option to enable a preview link. Doing so is a good idea as it gives you a page where anyone with your link can try out your chatbot. So it’s a great way to let colleagues, friends, or even customer try out your chatbot on the web. This widget works by sending the user input to the Watson Assistant service you created, retrieving the response of your dialog skill, and presenting it to the user. If your site is powered by the open source version of WordPress, you can greatly simplify the deployment of your chatbot thanks to a plugin that we developed. You install the plugin with one click, copy over the credentials from your Assistant, and your chatbot will magically appear on your site. WordPress is incredibly popular and used by about a third of all sites on the web. Having the ability to deploy your chatbots on WordPress really simplifies the process of making your chatbot available to the public at large.

The plugin is extremely convenient and flexible, allowing you to customize the look and feel of your chatbot window. It also includes many powerful features, such as the ability to rate, limit the number of conversations that your chatbot can have so that it doesn’t exceed your free monthly allowance. You can also prevent abusive users from using up your quota by spamming your chatbot. Other cool features include the ability to escalate your request to a human, log your conversation, and more. It pays off to spend some time investigating the features once you install the plugin. In the labs for this module, you’ll generate a test WordPress site, so you don’t need to have a WordPress site of your own. Please note also that WordPress.com is a commercial offering of the open source WordPress software located at WordPress.org.

As a result, they actually charge quite a bit to allow people to install plugins. So I don’t recommend that you create a WordPress.com account and try to install our Watson Assistant plugin there. Instead, at least while learning, you should use the site that is provided to you in the labs. Once you generated the WordPress site, you’ll be tasked with activating and configuring the plugin, so that it can communicate with the assistant that you’ll create. This assistant will in turn be linked to the dialog skill, you’ve been working on so far. Once the chatbot is deployed on your WordPress test site, you’ll be able to make changes to the chatbot directly within Watson Assistant and these changes and improvements will be automatically reflected in the chatbot, that’s deployed on your site.

Taught by: Antonio Cangiano, Engineering Manager and AI Specialist

IBM Developer Skills Network


Lahari kadhirimangalam

Analyst/Software Engineer at Capgemini || Power BI ||PL-300|| SQL || ETL Tools || AI-900 || Azure basic

10 个月

Great work, Lahari! Your expertise in AI deployment is truly impressive. Your dedication to creating functional chatbots is an inspiration. Keep pushing boundaries and leading the way in AI technology deployment.

要查看或添加评论,请登录

Lahari kadhirimangalam的更多文章

  • Digressions

    Digressions

    Module7 : Understanding Digressions Welcome to the seventh module of how to build chatbots. At this point, you should…

    1 条评论
  • Context Variables and Slots

    Context Variables and Slots

    Module 6 : Working with Context Variables and Slots Coming to the sixth module of how to build chatbots. Now that you…

    1 条评论
  • Component of a chatbot :Dialog

    Component of a chatbot :Dialog

    MODULE 4: Dialog In this module, we will finally address the third component of our dialogues skill, namely the…

    3 条评论
  • component of a chatbot : Entities

    component of a chatbot : Entities

    MODULE 3: working with Entities Welcome to the third module of how to build chatbots. In the previous module, we…

    1 条评论
  • component of a chatbot : Intents

    component of a chatbot : Intents

    MODULE 2: working with Intents In this Article, we will discuss one of the three components of a chatbot, namely…

    1 条评论
  • Building AI Powered Chatbots Without Programming

    Building AI Powered Chatbots Without Programming

    MODULE 1 : Introduction to Chatbots In this Article, we're going to focus on one of the most popular applications of AI…

    1 条评论
  • Prompt Engineering : Techniques and approaches

    Prompt Engineering : Techniques and approaches

    Let's explore the techniques that make text prompts effective and improve the reliability of output generated by LLMs…

  • Prompt Engineering For Generative AI

    Prompt Engineering For Generative AI

    Concept of Prompt Engineering: Prompt A prompt is any input you provide to a generative model to produce a desired…

    2 条评论
  • AI Tools for Code Generation

    AI Tools for Code Generation

    The basic capabilities of generative AI for code generation, discuss the strengths and limitations of text-generating…

  • Tools for Audio and Video Generation

    Tools for Audio and Video Generation

    To describe how generative AI audio, and video tools create impactful media content, explain the key capabilities of…

社区洞察

其他会员也浏览了