Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    new_jad
    @new_jad:matrix.org
    [m]
    it did work on old python versions thanks
    any good tutorials for implementing chatterbot with django?
    new_jad
    @new_jad:matrix.org
    [m]
    'Either a statement object or a "text" keyword ' chatterbot.chatterbot.ChatBot.ChatBotException: Either a statement object or a "text" keyword argument is required. Neither was provided.
    hey, anyone familiar with this issue?? i get this when i input some text and click submit
    Atif Khan
    @khanatif271
    hey everybody, I am using ChatterBot first time. I am getting this error can someone help me out, please
    image.png
    I wrote this
    image.png
    ProQianXiao
    @ProQianXiao
    @khanatif271 use the commond "pip install chatterbot-corpus", then I think it will work.
    Miclain K Keffeler
    @mkkeffeler
    hey all! I just joined the chatterbot community, and was really saddened to see we still rely on spacy 2.1.9, which limits us to python 3.7 because of not having a wheel for 3.8 and above, without that wheel people run into lots of issues installing, making it unusable. How can I help ? seems we started gunthercox/ChatterBot#1963 but needs something to happen it looks like?
    Miclain K Keffeler
    @mkkeffeler
    hey! would love to work with someone who can help me get started, I am happy to contribute but seems like to do so would require some access, and would be happy to have conversations around that if that would be helpful.
    this is a great product! with some love we can keep it up to date so that those working to keep their code up to date can do so
    ajk5000
    @ajk5000
    Hi everyone, I'm just getting started with ChatterBot and have a basic question. What is the default statement_comparison_function if you don't define it explicitly with logic_adapters when you initialize the ChatBot?
    RajeshPatel17
    @RajeshPatel17

    Hi all. I am having a bug with getting my Chatterbot started. I was wondering if you all could help. I am posting my error message below

    File "d:\TwitterBot1\Bot1.py", line 123, in <module>
    bot = ChatBot('Bot1')
    File "D:\Python\lib\site-packages\chatterbot\chatterbot.py", line 34, in init
    self.storage = utils.initialize_class(storage_adapter, kwargs)
    File "D:\Python\lib\site-packages\chatterbot\utils.py", line 54, in initialize_class
    return Class(*args,
    kwargs)
    File "D:\Python\lib\site-packages\chatterbot\storage\sql_storage.py", line 22, in init
    from sqlalchemy import create_engine
    File "D:\Python\lib\site-packages\sqlalchemy__init.py", line 8, in <module>
    from . import util as _util # noqa
    ImportError: cannot import name 'util' from partially initialized module 'sqlalchemy' (most likely due to a circular import) (D:\Python\lib\site-packages\sqlalchemy\
    init__.py)

    Does anyone know the fix to this issue?

    RajeshPatel17
    @RajeshPatel17
    Turns out that sqlalchemy's most recent version is not compatible with chatterbot so I used the 1.2 version of sqlal to fix this
    swirlypillow
    @swirlypillow
    I've got a noob question. If I don't like a response that is given - say the spelling needs correcting, or i just want to remove that response all together from the database, how do I do that?
    GrxyLxger
    @GrxyLxger
    hi
    xiuga-pop
    @xiuga-pop
    hi
    Ayush Kumar
    @ayushkmr1106
    hello everyone
    asem13
    @asem13
    hi for all, i have a project store web site by django framwork then inside design and implementation chatbot with chatterbot .. can eny one help me in second one??
    cy-bug
    @cy-bug
    hi
    hello
    chatterbot
    kalimuthu-acube
    @kalimuthu-acube
    Hello
    Yonatan Mark Liudmirsky
    @YonLiud
    Hello
    Akshat Singh Rathore
    @Akshat-Rathore
    @gunthercox On integrating my Django-chatterbot app with MySQL (with chatterbot version 0.8.7), I am getting the following error on migrating: django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'text' used in key specification without a key length") . The bot was working correctly with SQLite, though. Can you suggest if some changes should be made in sql_storage.py or some other config file to bypass this error?
    PS: This was proceeded with the error : django_chatterbot.Statement.text: (mysql.E001) MySQL does not allow unique CharFields to have a max_length > 255 which was easily solved by changing STATEMENT_TEXT_MAX_LENGTH in constants.py.
    DiamondCoder1000
    @DiamondCoder1000
    hello
    I'm a new member
    Diego Pasaye
    @DiegoPasaye
    Hola
    image.png
    Tengo este problema al querer ejecutar, uso VS Code, no se por que se ejecuta con la ruta de python, tal vez sea eso, cabe aclarar que ya instale chatterbot mediante cmd
    Quinton Els
    @samuraiquin_twitter
    Hi all
    New member
    Wondering, has anyone worked with or tried to use chatterbot with odoo?
    elwolf6
    @elwolf6:matrix.org
    [m]
    hi
    chatterbot doesn't seam to view "ur" and "your" as the same i didn't have this issue with keras i tried training it with corpus english conversations but that didn't fix it, kinda a hassle to make clones of the same lists for training with ur and your swapped out same with other contractions like "what is" and "what's" am i missing something?
    jessicayy
    @jessicayy
    hi
    novian
    @Novian001
    hi
    jessicayy
    @jessicayy
    hi
    Ben Bartling
    @bbartling
    image.png

    Hi could anyone give me a tip on how to make the specific response example work?

    from chatterbot import ChatBot
    from chatterbot.trainers import ChatterBotCorpusTrainer
    
    
    # Create a new instance of a ChatBot
    chatbot = ChatBot(
        'Exact Response Example Bot',
        storage_adapter='chatterbot.storage.SQLStorageAdapter',
        logic_adapters=[
            {
                'import_path': 'chatterbot.logic.BestMatch'
            },
            {
                'import_path': 'chatterbot.logic.SpecificResponseAdapter',
                'input_text': 'Help me!',
                'output_text': 'Ok, here is a link: http://chatterbot.rtfd.org'
            }
        ]
    )
    
    # Create a new trainer for the chatbot
    trainer = ChatterBotCorpusTrainer(chatbot)
    
    # Train the chatbot based on the english corpus
    trainer.train("chatterbot.corpus.english")

    Am just experimenting in Flask, this is what it looks like below. Any ideas to try??

    Ben Bartling
    @bbartling
    Commenting out trainer.train("chatterbot.corpus.english") still seems like the same issue.
    Ben Bartling
    @bbartling

    Actually am finding results for a specific response with ListTrainer seems to work great. Just curious if anyone else has any incite on this, for example:

    chatbot = ChatBot('Example Bot')
    
    # Start by training our bot with the ChatterBot corpus data
    trainer = ListTrainer(chatbot)
    
    trainer.train([
        'ILC',
        'let me check one second.',
    ])
    
    # You can train with a second list of data to add response variations
    
    trainer.train([
        'help',
        'Ok, here is a link to PNNLs website: https://www.pnnl.gov/intelligent-load-control'
    ])
    
    # Create a new trainer for the chatbot
    trainer = ChatterBotCorpusTrainer(chatbot)
    
    # Train the chatbot based on the english corpus
    trainer.train("chatterbot.corpus.english")

    This seems to give me a specific response for ILC and help

    j.reu.s
    @j.reu.s:matrix.org
    [m]
    Hi everyone :-)
    j.reu.s
    @j.reu.s:matrix.org
    [m]
    I was just curious if anyone knows how to keep a single ChatBot instance for handling multiple conversations simultaneously? Like on a webserver. To avoid creating a unique ChatBot instance for each web session
    spacemonk2000
    @spacemonk2000:matrix.org
    [m]
    Hello
    Can you use multiple logic adapters at once?
    imane-ayouni
    @imane-ayouni
    Hello, I am trying to build chatbot for the first time. I specified the name, storage adapter, logic adapters, but I keep getting the same error once I run the program. Can you take a look , thank you
    image.png
    image.png
    JonAttard
    @JonAttard
    Any idea why it's impossible to install chatterbot?