- clone this repo
- create .env file
cp ./env.example .env
- fill .env with your own credential
yarn install
- Run discord bot
yarn run discord
- Run telegram bot
yarn run telegram
- check on
datasets/datatrain.json
you can add your own intents/topics
you can add dot to intents for continue the conversation
Q : what is your name ?intent = agent.name
Q : is that have any meaning ?intent = agent.name.meaning
- run
yarn run model-train
to train new data and generate new model
model will be saved as
model.nlp
- on
modeltester.ts
add more sentence inside the test array - run
yarn run model-test
to see the result