Use Anaconda to setup the environment Setup Open Anaconda command prompt Run the following command
- conda create -n rasa-nlp python=3.8
- conda activate rasa-nlp
Put my codes into one folder Change directory to your folder 3. cd (..........)
- pip install rasa
- pip install spacy
- python -m spacy download zh_core_web_lg
- rasa train
- rasa run -m models --enable-api --cors “*” --debug
Then, click the index.html file.
To open it after setup Run
- conda activate rasa-nlp
Change directory to your folder 2. cd (..........)
- rasa run -m models --enable-api --cors “*” --debug
Then, click on the index.html file.