In This Article, I will show you How to Create Artificial Intelligence Chatbot. This AI Will Respond You Most of The Questions You Ask.

You need the following software to continue:

1. Visual Studio (https://www.visualstudio.com/) (Visual studio 2015 community edition is free!)

2. A basic knowledge of C#

3. AIML Files Click Here For Download

Step 1: Creating the Project

Click “New” Then select a project. A dialogue window will appear where you can choose your project type, project name, and project location.

The window will have a list of projects depending on what is selected on the left-hand side. In our case we want to go to “Templates”, Then “Visual C#”.

Select “Windows Form Application”
And Rename The Project.

Then click “Ok” at the bottom of the window.

Step 2: Designing

Add 2 Textboxes & 1 Button.

After Designing We Will Do The Main Step.

Step 3: Importing the Packages

Gather up the files you downloaded in step one (The AIMLbot.dll and the templates)

If you don’t have the solution explorer on the right-hand side of your screen showing all of the files in your project, Go to “View” at the top of the IDE and click “Solution Explorer”.

In the solution explorer Right click on the file which only contains your project name, It has an icon of “C#” in a box.

Then you want to click “Add”, Then “Reference…” This dialogue box allow’s us to add items to our project. If you chose a “Class Library” Then this is how you would add it to another project.

Now click “Browse” and the bottom of the Dialogue and navigate to the “AIMLbot.dll” you downloaded in step 1.

 
Once the file is selected, Click “Add” then “Ok” in the reference window.

Step 3: The Code

Now Add The Main Code to The Button

These two slashes “// ” will not affect the program because these are comments. Visual Studio will show’s the comment as green.

Step 4: AIML & Config Folder (Final Step)

Now We Need to Copy & Paste The AIML & Config Folder to Your Project Main Binary Directory Like This:

The Result:

or Watch Our Video Tutorial

Want to Download Source Code?

Then: Click Here for Download Source Code.

Leave a Reply

five × 5 =

Close Menu
×
×

Cart