Giter Club home page Giter Club logo

chatbotproject's Introduction

ChatBotProject

A simple AIML based Chat Bot written in C# which is a computer program that you can talk to.

Second Semester Object Oriented Programming Final Project at SZABIST.

Screenshot

Features

  • The bot is able to answer most questions and has the ability to carry on a normal conversation.
  • 1000's of chat templates in its repo, it has a wide general knowledge.
  • Knows about famous people, movies, songs, etc.
  • Knows alot of bad jokes.
  • You can teach him new things that it will remember.
  • Wonderful, Modern and User Friendly UI.
  • Persistent Chat system, you will not loose your conversation when you close the bot.
  • It can also speak using Microsoft Speech Recognition (Microsoft.Speech).

Note while compiling in Visual Studio

Not all of the required files are generated automatically on compilation.

So if you try to build a release version of the chatbot the code breaks. Following are the extra files that you need to explicilty place in the folder in which visual studio builds exe. (It is already places in Debug folder, you can copy paste to release)

  • aiml - This is also the folder where you can add aiml files
  • config
  • chatBotProject.vshost.exe
  • ChatBotProject.vshost.exe.config
  • ChatBotProject.vshost.exe.manifest
  • SOUND1.wav
  • SOUND2.wav

Screenshot 2022-08-21 132858

Here Highlighted files are not autogenerated and you need to copy.

Things to Say

Here are some things you can say to the bot.

  • Tell me a joke
  • Copy me
  • What is the Bible?
  • poop
  • cats suck
  • Where is Canada?
  • What is the Illuminati
  • I want to die
  • shut up

Contributors

These are the contributors to this Project in random order:

Credits

  • conversational back-end is provided by AIMLbot.dll, a C# implementation of Dr. Richard S. Wallace's A.L.I.C.E. system.
  • User Interface modules are provided by Bunifu_UI_v1.52.dll, a premium .NET UI Framework by Bunifu.

chatbotproject's People

Contributors

fanbyprinciple avatar gr8z avatar muhammadfassihhaider avatar saadahmadsaddiqui avatar snf9718 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatbotproject's Issues

Resize Application

Users can resize the chatbot window and that makes it look ugly when the elements stay in one place.

Either disable resizing or make the elements responsive when moved around.

Bubble appear with borders then turn round after lag.

When a chat bubble appears on the screen, it is initially not rounded, then the round thing loads after a short time.

We can fix this maybe by hiding the bubble just a little and exposing it when the round borders are loaded.

Bot Start-up message

The Bot should say Hi/Hello as soon as the code is debugged, along with a start-up question like:
How may I help You, Today?
or
How are you doing today?
image
The shown text in the screen-short above is only available once the user clicks the send button.To avoid this conflict which is made by a blank screen with out any instructions or steps to be followed by s new user of the application/ program.

Remove all the line break

Alot of messages are breaking lines when displayed, most of these are messages are the ones in XML tags inside the template tag in .aiml files.

We have to manually remove line breaks in each message and replace it with space.

aiml Tags in Visual Studio

Hi, I want to make my own Chatbot in Visual Studio using c# with aiml, becouse I got impressed by your Project. But the Problem I am facing right now is that some aiml tags like and does not work in Visual Studio. Can I ask whar did you solve this Problem?

Thank you

Add App icon

Change the default windows form icon to a good looking icon.

Chat Bubbles are not resizing

height and width are not being resized according to the text that's inside it.

I already had a code that would handle height but it doesn't work.

I already did enough work so it would be best if someone else pitches in.

Anyone but @SaadAhmadSaddiqui (sorry bro you already did alot). Let me know below.

Text to Speech

I want to have a simple icon on the app, when you press it, it enables text to speech, so whenever the bot says something, Windows reads it out loud.

Make a model of the GUI in photoshop

Right now, the bot looks ugly, we need to make it look professional.

Before editing it, we need to make a model of how it will look in photoshop.

Something with Chat Bubbles, icons, and send key.

Change all content font to Century Gothic

Please change all visible text to this font. Right now only the message textbox is this font.

If you don't have this font on your computer, let me know. We need to find a font that most windows computer already has.

VS2017 Version 15.9.8 Build Issue

1>------ Build started: Project: ChatBotProject, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(3049,5): error MSB3821: Couldn't process file ChatBot.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

mention code dependencies in readme.md

Screenshot (14)

Documentation especially reagrding aiml folder and config folder is required because without them the build breaks. On top : the project generated file. Below : the files in debug folder on github.

Text Alignment

The text alignment is not proper as it appears to be very unorganized and looks bad.
image
see it looks bad.

REDUCTION??

What is the "REDUCTION" that appears between conversations very frequently???
image

The Send Button

The Messages are only sent by clicking the send button, which makes it very inconvenient for the user to stop typing and click the send button making the communication process faster.
If the send button is been added another Event that is by pressing the enter key on the keyboard so it will be more easier to communicate with the BOT.

If Bot response is empty, dont show the chat bubble

There are many scenarios where a user puts special characters like question mark into the chatbox, the bot responds with an empty answer.

Check the length of the bot's response, if it's 0, don't show the bubble.

very easy to do.

Adding an icon to the form

Once the icon has been created it will have to be put on the forms top left corner.
image
unlike this calculator has a calculator icon/ symbol.

Chat Bubbles are not rounded at first

When a chat bubble appears on the screen, it is initially not rounded, then the round thing loads after a short time.

We can fix this maybe by hiding the bubble just a little and exposing it when the round borders are loaded.

path1 cannot be null

path1 cannot be null
then if you set a path to the settings xml file in your projects executable folder, you get
path2 cannot be null, the a diagram of a method with path1 and path2 arguments.

Renaming The Form

Changing the name of the form that is being displayed on the application that we open.
image
by changing it to ChatBot!

bot voice

Why is the Bot Voice option not working in this Project? Bot shows no response when clicked Bot Voice. Please check and solve that issue as soon as possible.

Comment

Comment all pieces of code to make reading easier, explain what each part of the code does so other members of the group can easily understand it.

No Scroll Bars

No scroll bars are available for scrolling back to previous messages.

The Bot dose not respond to a "?"

When ever a ? is entered by the user the bot leaves a blank bubble
image
Instead of sending a blank message to the user, the bot should repeat the previous message sent before.

Hello as a start-up message

"Hello" is not being recognized by the BOT as a start-up message.
It displays this message!
image
This makes the BOT look really silly....
But "Hi" as a start-up message work really well.

BOT seems to be stupid

BOT seems to be stupid as it forgets the question that was asked!
image
See it forgets the question.

User Text Box does not clear on its own

The user Text box does not clear on its own. It should clear out once the user has send a message, giving the user a clear box to type into, rather than clearing it manually every time the user wants to type anything.

Enter key to send message

Right now, you have to press the send key, It would be nice if we can press ENTER key to send a message.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.