Giter Site home page Giter Site logo

Execution about chatbot HOT 9 CLOSED

NaterciaMR avatar NaterciaMR commented on June 12, 2024
Execution

from chatbot.

Comments (9)

ahmadfaizalbh avatar ahmadfaizalbh commented on June 12, 2024

do the following

Installing the package

C:\Windows\System32\Chatbot>py setup.py install

OR

C:\Windows\System32\Chatbot>pip install chatbotai

Running demo function

C:\Windows\System32\Chatbot>py
>>> from chatbot import demo
>>> demo()
Hi, how are you?
> i'm fine
Nice to know that you are fine  
> quit
Thank you for talking with me.
>>> 

Chatbot is not a command instead its a python library

from chatbot.

NaterciaMR avatar NaterciaMR commented on June 12, 2024

thank you but now, I received this:

from chatbot import demo
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'chatbot'

thanks for your help and I'm so sorry.

from chatbot.

ahmadfaizalbh avatar ahmadfaizalbh commented on June 12, 2024

That means you have not installed chatbot
To install chatbot execute

C:\Windows\System32\Chatbot>py setup.py install

from chatbot.

NaterciaMR avatar NaterciaMR commented on June 12, 2024

I could do it doing the following:

C:\Windows\System32\Chatbot>python setup.py install
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

from chatbot import demo
demo()
Hi, how are you?

Thank you!

from chatbot.

NaterciaMR avatar NaterciaMR commented on June 12, 2024

One last question, how can I run it in Portuguese? I have seen there is a pt.template

from chatbot.

ahmadfaizalbh avatar ahmadfaizalbh commented on June 12, 2024

Its Portuguese (Brazil), you can use as follows

>>> from chatbot import Chat
>>> Chat(language="pt-br").converse("Oi como você está?")

Since I don't know Portuguese (Brazil) I couldn't add any normalizer and reflections. I translated temple file using google translate for one of the user on request. If you know any language (Portuguese) and willing to spend some time you can contribute to the repo which will be helpful for many.

from chatbot.

NaterciaMR avatar NaterciaMR commented on June 12, 2024

I'm portuguese and live in Spain (Madrid). Of course, I would like to participate. At the moment, I am doing a job about training manuals in Spanish for my college.

from chatbot.

ahmadfaizalbh avatar ahmadfaizalbh commented on June 12, 2024

Thats great.
If you need any help feel free to email me at [email protected]

from chatbot.

NaterciaMR avatar NaterciaMR commented on June 12, 2024

oh thanks! my email is [email protected]

from chatbot.

Related Issues (20)

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.