Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
18

Chatbot

PYer
PYer

This is a chatbot I am working on for the AI competition. I would gladly accept any feedback. Thank you, and have fun!
PYer

4 years ago

Voters

Comments

TopNew
1
1
PYer
PYer

@LandonNichols1
Hi!

6 months ago
1
Identity-Unknown
Identity-Unknown

Sad ): I am studying AI and want to make a chatbot, haven't found any examples that work yet on replit though ):

Python 3.8.2 (default, Feb 26 2020, 02:56:10)

Replit: Updating package configuration

--> python3 -m poetry lock
Updating dependencies
Resolving dependencies...

Writing lock file
--> python3 -m poetry install
Installing dependencies from lock file

Package operations: 0 installs, 13 updates, 0 removals

• Updating markupsafe (2.0.1 -> 2.1.1)
• Updating certifi (2021.5.30 -> 2021.10.8)
• Updating charset-normalizer (2.0.4 -> 2.0.12)
Traceback (most recent call last):
File "main.py", line 1, in
import bot, sys, random
File "/home/runner/Wa5BRsktygS/bot/init.py", line 1, in
import bot.mod
File "/home/runner/Wa5BRsktygS/bot/mod.py", line 1, in
import sys, replit
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/replit/init.py", line 2, in
from . import maqpy
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/replit/maqpy/init.py", line 4, in
import flask
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/flask/init.py", line 14, in
from jinja2 import escape
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/init.py", line 12, in
from .environment import Environment
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/environment.py", line 25, in
from .defaults import BLOCK_END_STRING
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/defaults.py", line 3, in
from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/jinja2/filters.py", line 13, in
from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/virtualenvs/python3/lib/python3.8/site-packages/markupsafe/init.py)

8 months ago
1
samkarol
samkarol

Thanks a lot for create help portal windows notepad where I am find many of good things.

1 year ago
2
KiKUP
KiKUP

Is this robot going off of written questions and answers? I'm not sure of the point yet. Hope to see what you do with it!

4 years ago
2
PYer
PYer

@KiKUP
It is supposed to go off of anything you say. I have stopped working on it. You could fork it if you want and add to it.

4 years ago
1
KiKUP
KiKUP

@PYer
Oh ok. Good job anyways!

4 years ago
2
PYer
PYer

@KiKUP
Yeah. I was to busy working on buddy the chat bot

4 years ago
2
TheDrone7
TheDrone7

It's nice for a start

4 years ago
4
PYer
PYer

@TheDrone7
Thank you. I am adding a lot of stuff, so you can check in a week and see what has been added

4 years ago
2
TheDrone7
TheDrone7

@PYer
sure why not, I'm not participating myself so I would love to help you out.

4 years ago
Load more