Added padatious to readme and requirements + re-added handle to intent manager.
This commit is contained in:
parent
837b87a41d
commit
892e1c8cfe
@ -19,12 +19,12 @@ The server can run on anything that runs Python 3+ *(linux recommended)*
|
||||
|
||||
## Installation
|
||||
|
||||
If not already installed, you will need Python 3.9, you can install it with these commands.
|
||||
If not already installed, you will need Python 3.9 and few other parckage for jarvis to work, you can install them with these commands.
|
||||
|
||||
```shell
|
||||
$ sudo add-apt-repository ppa:deadsnakes/ppa
|
||||
$ sudo apt-get update
|
||||
$ sudo apt install python3.9 python3.9-dev python3.9-distutils
|
||||
$ sudo apt install python3.9 python3.9-dev python3.9-distutils python3-fann2 libfann-dev swig
|
||||
```
|
||||
|
||||
After that, run the command `python -m pip3 install -r requirements.txt` to install the basic requirements for the
|
||||
|
@ -45,3 +45,5 @@ def recognise(sentence):
|
||||
best_intent = next(best_intents)
|
||||
|
||||
print(best_intent)
|
||||
|
||||
handle(best_intent['intent_type'])
|
||||
|
@ -4,5 +4,6 @@ nltk~=3.6.2
|
||||
torch~=1.9.0
|
||||
numpy~=1.21.1
|
||||
requests~=2.26.0
|
||||
adapt-parser
|
||||
adapt-parser~=0.5.1
|
||||
padatious~=0.4.8
|
||||
spacy~=3.1.1
|
Reference in New Issue
Block a user