Giter VIP home page Giter VIP logo

chatbot's People

Contributors

arjunmahishi avatar logeshhy avatar sohelamin avatar soyooooon avatar yeongukang 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  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  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  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

chatbot's Issues

Learning Curve

Helloo I really want to thank you for this great piece of work.
I only have two question; Can this chatbot learn? Gain experience on how to answer some questions? I mean store the answers to questions that it did not understand so that it can answer future similar questions correctly? And lastly can you teach this bot any othe language apart from English?

asking for help!!!

hello, Mr.sohelamin, i need your help. i am your loyal fans. i want to ask you question about "chatbot".
i installed flask, then i can't execute the command "pip install -r requriments.txr" , can you help me ? thanks

Time out error on browser

Your chatbot code is not working. after running main.py file it gives timeout error on browser. please help.

thank you

aiml Kernel error

While running the main.py, it's throwing the following error.

AttributeError: module 'aiml' has no attribute 'Kernel'

Runtime error

  • Serving Flask app 'main'
  • Debug mode: on
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:5000
  • Running on http://192.168.29.254:5000
    Press CTRL+C to quit
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 621-914-103
    192.168.29.254 - - [18/Feb/2023 17:46:06] "GET / HTTP/1.1" 200 -
    192.168.29.254 - - [18/Feb/2023 17:46:07] "GET /favicon.ico HTTP/1.1" 404 -
    192.168.29.254 - - [18/Feb/2023 17:46:11] "POST /ask HTTP/1.1" 500 -
    Traceback (most recent call last):
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2551, in call
    return self.wsgi_app(environ, start_response)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2531, in wsgi_app
    response = self.handle_exception(e)
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2528, in wsgi_app
    response = self.full_dispatch_request()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\Workspace\Python\Imported from github\ChatBOT with AIML module\main.py", line 20, in ask
    kernel.bootstrap(learnFiles = os.path.abspath("aiml/std-startup.xml"), commands = "load aiml b")
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiml\Kernel.py", line 131, in bootstrap
    start = time.clock()
    ^^^^^^^^^^^^
    AttributeError: module 'time' has no attribute 'clock'
    192.168.29.254 - - [18/Feb/2023 17:46:25] "POST /ask HTTP/1.1" 500 -
    Traceback (most recent call last):
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2551, in call
    return self.wsgi_app(environ, start_response)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2531, in wsgi_app
    response = self.handle_exception(e)
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2528, in wsgi_app
    response = self.full_dispatch_request()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\Workspace\Python\Imported from github\ChatBOT with AIML module\main.py", line 20, in ask
    kernel.bootstrap(learnFiles = os.path.abspath("aiml/std-startup.xml"), commands = "load aiml b")
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiml\Kernel.py", line 131, in bootstrap
    start = time.clock()
    ^^^^^^^^^^^^
    AttributeError: module 'time' has no attribute 'clock'

No module named 'Kernel'

Was install the requirements but i got

ModuleNotFoundError: No module named 'Kernel'
When run python3 main.py
I was looking for Kernel but didnt find any answer
Did someone get this too?

Editing bot_brain.brn

Hello Sohelamin,

Is there anyway to edit bot_brain so that it remembers what you have said, because currently if I restart the application, it forgets everything I have taught it.

Thanks in advance,

James Gallagher

System Exit: 1

While running the program, its throwing this error in the console "An exception occurred,use %tb to see the full traceback" after this error my browser is not getting connected to the link....

I am using python 3.7 , is that the problem?

Need a reset-function!!!

I really do like your chatbot, and am using it very well.
But, I hope it has a reset function to erase all the history of the conversation.
Could you implement this?

Thank you very much.

text to speech

works fine for me how do i remove text to speech to feature

Not respond

I try this code. and run localhost(127.0.0.1:5000), but chatbot is not respond!
what i do? please help me.

Sessions and Predictes

Hey!

I wanted to know, as to how do u setup and store the sessions and predicates for this bot? I am thinking to do something similar for a discord bot, and want to save different user's sessions... Do you know of a way to do that?

Thanks in advance...

Difficulty of distinction

I tried your program well. By the way, there is one point that I want to mention.
I can not distinguish between what I say and what the chatbot answers in the output window.
Could you modify the code so that it will be distinguished well?

Invaid Syntax

File "AI.py", line 24
while True:
^
SyntaxError: invalid syntax

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.