Giter VIP home page Giter VIP logo

chatbot_project's People

Contributors

dineshsambasivam 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatbot_project's Issues

how can i use effiziently logic adapter in my code ?

I have writted this code based on your own:

from chatterbot.trainers import ListTrainer # method to train the chatbot
from chatterbot import ChatBot # import the chatbot
import os

chatbot = ChatBot('Bot')
trainer = ListTrainer(chatbot)

for files in os.listdir('C:/Users/franc\Documents\Bachelorarbeit\data\SmartHome/'):
data = open('C:/Users/franc\Documents\Bachelorarbeit\data\SmartHome/' + files, 'r').readlines()
trainer.train(data)

while True:
message = input('You: ')
if message.strip()!= 'Bye':
reply = chatbot.get_response(message)
print('Chatbot: ', reply)
if message.strip() == 'Bye':
print('ChatBot: Bye')
break

How can i use logic adapter to make the bot clever ?

ImportError: No module named chatterbot

================================ RESTART ================================

Traceback (most recent call last):
File "C:\Users\DellBot\Downloads\Chatbot_Project-master\Chatbot_Project-master\chatbot_train.py", line 1, in
from chatterbot import ChatBot
ImportError: No module named chatterbot

================================ RESTART ================================

Traceback (most recent call last):
File "C:\Users\DellBot\Downloads\Chatbot_Project-master\Chatbot_Project-master\chatbot.py", line 1, in
from chatterbot import ChatBot
ImportError: No module named chatterbot

Reply Error

Not getting appropriate reply.
just getting - I am sorry but i do not understand.
please help me.

Server Closes when input is given

When an input is given on the website the server Closes with this output in the terminal.

('::1', 65370, 0, 0) connected
('::1',65370, 0, 0) closed

Error while executing code

Hi Dinesh,

I have tried that code and while executing getting below error.

File "C:\Users\Anaconda3\lib\site-packages\spacy-2.1.3-py3.6-win-amd64.egg\spacy\util.py", line 136, in load_model
raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

No idea how to resolved it. I have installed spacy and import load.

Can you please help on this

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.