Guide: How to build your chat bot?


Recommended Posts

Awesome guide :) Little to much for me though.

If you did it in PHPbb (bb code), why can't you just copy the BB code directly into IPB (neowin)?

586659020[/snapback]

Thanks, I thought it wouldn't work by copying BB code :pinch:

Really nice looking guide. Didnt read hardly any yet though.

Will this guide help to create an IRC chat bot? Or is this for something else?

586659369[/snapback]

As I said this guide is discussing the logics to build your chatbot, so yes you can use it to build your IRC bot or downloadable bot or whatever. :)

  • 3 years later...

just wanna ask...

Think of this case...

You operate your chatbot by looking for keywords found in the user's input. And if keywords were found, it will be looking for responses found in your database.

For example, you created a table named 'RESPONSES' which contains the responses of the chatbot...

Should the table for 'RESPONSES' contain exact and complete responses of the chatbot?

For example, in a business oriented bot, the INPUT is:

"Where can i start a Fishing business"

and the keyword is 'Fishing'

should the table for responses be like this:

RESPONSES

responseID aaaaaa response

1aaaaaaaaaaaaaaaNavotas is a good place for starting a fishing business

and of course, if it matched, the OUTPUT of the chatbot will be:

"Navotas is a good place for starting a fishing business"

Just wanted to ask because my instructor criticized this type of chatbot we made, wherein the exact responses were found in the database. By the way, chatbot ELIZA was my pattern in making this type of chatbot.

If my instructor is right in criticizing our work, can you please give me pieces of your advice? or suggestions?

I'm looking forward to your reply.

Thank you.

  • 5 weeks later...
just wanna ask...

Think of this case...

You operate your chatbot by looking for keywords found in the user's input. And if keywords were found, it will be looking for responses found in your database.

For example, you created a table named 'RESPONSES' which contains the responses of the chatbot...

Should the table for 'RESPONSES' contain exact and complete responses of the chatbot?

For example, in a business oriented bot, the INPUT is:

"Where can i start a Fishing business"

and the keyword is 'Fishing'

should the table for responses be like this:

RESPONSES

responseID aaaaaa response

1aaaaaaaaaaaaaaaNavotas is a good place for starting a fishing business

and of course, if it matched, the OUTPUT of the chatbot will be:

"Navotas is a good place for starting a fishing business"

Just wanted to ask because my instructor criticized this type of chatbot we made, wherein the exact responses were found in the database. By the way, chatbot ELIZA was my pattern in making this type of chatbot.

If my instructor is right in criticizing our work, can you please give me pieces of your advice? or suggestions?

I'm looking forward to your reply.

Thank you.

Based on user input, there is a possibility that chatbot could combine between more than 1 record to give a mixed output.

For example:

User: What's your favorite color?

<chatbot found the keyword which is "color" and found it in "Colors table", he can just simply answer with the color from "Colors table" and that will be an exact response, or he can complicate it to get the output from different tables>

Responses 1 (thoughts table):

- I believe <R2>

- I think <R2>

- I bet <R2>

- I'm pretty sure <R2>

- <R2>, I guess.

<by random selection, chatbot chosen "I think <R2>">

Responses 2 (Colors table):

- Red

- White

- Green

- Blue

...etc

<by random selection, chatbot chosen "Blue">

<chatbot converts "What's" in user input to be "It's", then combine all the outputs to be "It's Blue" and then replace "<R2>" with "It's Blue" >

Output: I think It's Blue.

--------------

There could be also more complication you can add to the output engine.

Also I'd recommend to see a physical examples that just happened in CBC 2009 Contest (An annual contest to benchmark chatbots intelligence).

Here is the results of the 1st round of the contest:

http://www.chatterboxchallenge.com/result.php

you can click any chatbot to see chat transcripts and the results for each one.

Sorry for my late reply. Thanks :)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • You can easily go overboard here. From what you are saying, it is a home office, a future NAS, a few client devices and one maybe two wireless access points. Many of the above tips are great and completely spot on, but are aimed at larger setups. If you are interested in networking and want to play or want to pursue a networking interest for your career then exposure to the tips above is a good idea. If however the network is something you want to largely get right and forget about for 5-10 years then for your home you can dial it back.   Perhaps some questions to help focus in on requirements: How many wired network connections do you need now? Count up all the devices. Assume for a SOHO NAS you'll be using two network ports. This - with a sensible growth factor - defines the minimum switch size. Do you have any idea how many wireless access points you'll need to give the coverage of your house/flat that you want? Might you move within the life of this equipment and need to change "everything"? Or might you want coverage over multiple floors/out into a garden? Do you currently have any signal problems or dead zones? Is there any interest in adding CCTV now or in the future? Are you a heavy IoT/wi-fi smart home device user or do you avoid these things? Are you in a flat, or a bungalow, two-story, three-story house? Will you need to get many wired connections between floors or is everything concentrated with only a couple of wireless access points in the upstairs/basement spaces?   In terms of cost savings If you are not certain on wireless access point densities, but have a scaled floor plan to hand, try plugging it into the Ubiquiti designer -https://design.ui.com/ (Create project in the bottom right, then find the floor plan option in the menu and upload the image(s). Don't forget to set the scale before drawing in some walls and dragging a couple of  AP's in to see what you might expect to receive). You will want to get 2.5GbE ports, but not necessarily all 2.5GbE. Modern wireless access points increasingly use 2.5GbE even if your equipment is only on 1GbE. 5GbE might be worth considering, but will change the price point. You can pick up very inexpensive 2.5GbE / 5GbE USB adapters and PCIe adapters for your larger devices if you don't have anything over 1GbE (you can even use them with some SmartTV's which tend to only be 100Mbps too). The same for replacing old Wi-fi chips in laptops and micro PCs (they tend to be replaceable) and this will give you more incentive to push for better equipment out the gate. As has been said by others, if you are pulling cables through walls, floors or ducting. Spend now and don't regret it later. If you are making outdoor runs, invest in the correct shielded cabling now and ensure that it is earthed. Cat6 will run 10GbE provided that the run distance isn't excessive. If you need the full 100m run though, go for 6a. Keep in mind that 6a is stiffer, heavier, harder to terminate and more expensive, so you could compromise with 6a between floors and then Cat6 into rooms. Get a decent router. Get away from the junk your ISP will provide you with. It will give you options and will last a LONG time. You will be able to move ISP without second thought if you have a decent router as a base. If you are techy and want all the toys and options, something like a NetGate appliance / a pfSense Community self build (there are plenty of reasonably cheap small form factor chassis you can pickup for this on Amazon etc). If you just want something to work and be easy to configure and find help for though, Ubiquiti. Whether you need Power Over Ethernet (PoE) depends upon your appetite for PoE devices. If you need more than a couple of PoE devices, then a switch is worth considering - CCTV, access points, door security. If you have zero interest in any of that and will only wind up with one or two access points in the long run, and IF you are able to put them near 120/240v power, then a couple of PoE injectors and plugging them into the wall will save you money. If you change your mind later and start accumulating PoE devices though, you will regret not getting PoE now. Space: large switches with high port densities, PoE, redundancy, SFP ports (for fibre optics or 10/25GbE) quickly become big devices. If you don't have a comms room in mind and don't want them on display in your home, then keep in mind that you might not want to start exploring prosumer and SMB networking equipment for your home.    If you can offer us some of the answers to these questions and your thinking on needs, perhaps we can help you drill into the 'what' 🙂
    • IT admins feel overwhelmingly "sick of" Microsoft and Windows 11 "garbage" apps, products by Sayan Sen From time to time, Microsoft brings changes to Windows 11, like improvements to its core features, such as the Start menu. One such change began rolling out recently with new policies, alongside a major bug fix that finally came after a year. However, not every change or "improvement" Microsoft makes may land. For example, earlier today, we wrote an article on the user reaction to an earlier design choice Microsoft made on Windows 10, when it was making an updated system specs page. You can read about the response, which was mostly negative, in our report here. Aside from general home users, professionals too, or at least some of them, are not very satisfied with Microsoft's overall policies and product functionalities. There are multiple instances of people ranting and complaining online, highlighting various issues they are facing or have faced recently when working with Microsoft products like Windows 11 or other Microsoft 365-based apps. For example, one such user, nostradamefrus, shared their experience on Reddit wherein they had to deal with an apparently buggy patch that broke authentication on Microsoft 365 apps when using RDS (Remote Desktop Services). The user wrote: "I'm so sick of Microsoft ... Their latest security patch broke probably our most important business app and uninstalling the patch breaks auth with 365 apps in RDS environments. So the options are either "you can't use the app" or "you can't use any Office 365 product" until they clean up their mess. But shoving Copilot into every facet of existence is what's really important, right? Someone break this company up already" On a separate thread, another Reddit user made a sarcastic post about the difficulties of working with Microsoft Graph PowerShell due to some of the command complexities. A commenter Trelfar chimed in, saying that much of it had to do with how it's inherently designed and alleged that it was done in that way by Microsoft to save time and budget. The words were certainly pretty harsh as they wrote: "The key to understanding why some of the commands are garbage is that every command is a wrapper that calls the native Graph API which requires JSON params, and many of them were procedurally implemented based on the underlying API so they could hit release ahead of the deprecation deadline for the modules it was replacing (like the AzureAD module). ... In short, it wasn't a design choice to make it work like this, it was a time/budget compromise to not put the effort in for some of the commands." Finally, a user Godzillian123, who is clearly very displeased about having to work daily with the management and deployment of Windows apps in their enterprise environment. The Redditor writes: "I wake up every day with but one lamenting thought in my head. That I will be having to deal with WindowsApps and appx style application at my organisation, for another day .... Sincerely whoever designed this. You are an idiot. .... you take the cake for biggest smart idiot award. I'm sure you think you are very clever, after all you architected a whole fresh new method of software deployment for your garbage Operating System that is still based on Windows NT. ..... Please reconsider your life choices and just throw this entire Microsoft store into the bin where it belongs, far away from enterprise machines where system admins live and don't have time to learn how your misguided application system design works." Interestingly, each and every one of these posts has been overwhelmingly upvoted by others in the sysadmin subreddit, indicating that these resonated with them. Of course, not everyone likely agrees, but they are probably in the minority. We also know Neowin is visited and read by many IT admins as well. Let us know in the comments below whether you feel the same way or whether you think they are simply overblown reactions from some frustrated, or perhaps overworked, employees. Source: Reddit (link1, link2, link3)
    • If you need Adobe Air, it's not dead actually. https://airsdk.harman.com/runtime  
  • Recent Achievements

    • Reacting Well
      Gideon Waxfarb earned a badge
      Reacting Well
    • First Post
      NovaEdgeX earned a badge
      First Post
    • One Month Later
      pahariyaseo earned a badge
      One Month Later
    • Week One Done
      pahariyaseo earned a badge
      Week One Done
    • Week One Done
      hadiaali45 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      419
    2. 2
      PsYcHoKiLLa
      141
    3. 3
      Nick H.
      90
    4. 4
      +Edouard
      80
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!