Comments (15)
Which python version are you using to run the bot? because the bot is trained and works with python3.6 and rasa latest version
from django-rasa-sockets.
Which python version are you using to run the bot? because the bot is trained and works with python3.6 and rasa latest version
I am using pyhton 3.6.4 and rasa 1.0.0
from django-rasa-sockets.
Try updating the rasa and gevent library to their latest version.
pip install --upgrade rasa gevent
from django-rasa-sockets.
Try updating the rasa and gevent library to their latest version.
pip install --upgrade rasa gevent
rasa.nlu.model.UnsupportedModelError: The model version is to old to be loaded by this Rasa NLU instance. Either retrain the model, or run withan older version. Model version: 0.0.0 Instance version: 1.0.9
from django-rasa-sockets.
Yep now you need to retrain your models with the new version so run,
Train model
python -m rasa_nlu.train -c nlu_config.yml --data nlu.md -o models --fixed_model_name nlu --project current --verbose
python -m rasa_core.train -d domain.yml -s stories.md -o models/dialogue
Then try running the bot again.
from django-rasa-sockets.
Yep now you need to retrain your models with the new version so run,
Train model
python -m rasa_nlu.train -c nlu_config.yml --data nlu.md -o models --fixed_model_name nlu --project current --verbose python -m rasa_core.train -d domain.yml -s stories.md -o models/dialogue
Then try running the bot again.
Thank you for replying and supporting @Alexmhack. The above commands are not worked for me. Because of i am using updated version of rasa. I configure everything in updated rasa. Now bot is working.
Thank you
from django-rasa-sockets.
Alright, @BunnyStylish. Can you please write the updated commands that worked for you I will update the repo accordingly.
One more thing, can you check out this issue. Are you facing the same problem with this repo?
from django-rasa-sockets.
Present version of rasa:
Train the model: rasa train
run the project : rasa run
I am also facing the same issue
But after i change the index.html file it's worked. I am using Web chat. It is providing rasa
from django-rasa-sockets.
I see you are using windows, how did you manage to install the new version of rasa on windows, I am getting an error while installing rasa-x
& rasa
.
from django-rasa-sockets.
What error you are facing?
Please follow this https://rasa.com/docs/rasa/user-guide/installation/
U can installing all commands in administrative mode
from django-rasa-sockets.
Failed to build httptools
...
Running setup.py install for httptools ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\pranav\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\pranav\\AppData\\Local\\Temp\\pip-install-dl7b1366\\httptools\\setup.py'"'"'; __file__='"'"'C:\\Users\\pranav\\AppData\\Local\\Temp\\pip-install-dl7b1366\\httptools\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\pranav\AppData\Local\Temp\pip-record-l6zbqj_o\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\pranav\AppData\Local\Temp\pip-install-dl7b1366\httptools\
Complete output (21 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\httptools
copying httptools\__init__.py -> build\lib.win-amd64-3.7\httptools
creating build\lib.win-amd64-3.7\httptools\parser
copying httptools\parser\errors.py -> build\lib.win-amd64-3.7\httptools\parser
copying httptools\parser\__init__.py -> build\lib.win-amd64-3.7\httptools\parser
running egg_info
writing httptools.egg-info\PKG-INFO
writing dependency_links to httptools.egg-info\dependency_links.txt
writing top-level names to httptools.egg-info\top_level.txt
reading manifest file 'httptools.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'httptools.egg-info\SOURCES.txt'
copying httptools\parser\parser.c -> build\lib.win-amd64-3.7\httptools\parser
running build_ext
building 'httptools.parser.parser' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\pranav\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\pranav\\AppData\\Local\\Temp\\pip-install-dl7b1366\\httptools\\setup.py'"'"'; __file__='"'"'C:\\Users\\pranav\\AppData\\Local\\Temp\\pip-install-dl7b1366\\httptools\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\pranav\AppData\Local\Temp\pip-record-l6zbqj_o\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
It is asking for Microsoft Visual C++ 14.0, I tried this in admin command prompt.
from django-rasa-sockets.
Microsoft Visual C++ 14.0 it must be installed in your system
Visual studio
from django-rasa-sockets.
Thanks @BunnyStylish. I think this issue is solved, open anytime.
from django-rasa-sockets.
Thanks @BunnyStylish. I think this issue is solved, open anytime.
Hey hi @Alexmhack once see this problem https://forum.rasa.com/t/is-it-possible-to-integrate-rasa-with-react-js-if-possible-how-to-configure/15254 . If you have any idea about integrating rasa with react js ? If you know please let me how to configure.
from django-rasa-sockets.
Well, the rasa-webchat UI that you are using is itself forked from Wolox/react-chat-widget which uses React JS as backend. Check out rasa-webchat source code and make changes in there to match your needs.
They detect the type of message using this
from django-rasa-sockets.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-rasa-sockets.