ran-j/ChatBotNodeJS

Broken :(

NotDemonix opened this issue · 18 comments

I added intents and retrained model, it added intents to db but it still cant understand even with exact word

ran-j commented

after the training you can test in http://localhost:3007/

ran-j commented

please provide more info like whats is your node version and OS and logs

ran-j commented

ah ok, its really broken I will fix that

ran-j commented

try this new release 3e4568f

Thanks but i will most likely use diffrent one as it will be easier for me to integrate with discord

ran-j commented

I created a api router you will Just need tô created a interface for discord. But for a discord bot I dont think you will need a deep learning bot

I need for chatbot, but i think yours will be better than the one i found as yours use mongodb instead of json and doesnt base on "welcome", "goodbye", "compliment", "insult"

Btw, could you by any chance add some self learning method? (Like if guess accuracy is x or higher then it saves response)

ran-j commented

Self learning is a bit hard to implements but maybe in the future I can implement that

Self learning is a bit hard to implements but maybe in the future I can implement that

This guy https://github.com/GandyT/Learner/blob/master/Commands/lnr.js implemented this as just check how confident bot is (which you already know as i saw in code) and if its more than 60% then it saves it

If you will add this i will use your code as it seems better

Btw, 2 more things:
Do you have discord?
Why you save conversations into mongodb

ran-j commented

my discord Ran-J#2274

ran-j commented

you need to create a envfile, this should be on readme

Yes im stupid i forgot

Huh, arm64 https://media.discordapp.net/attachments/791761968439492658/1003759665001279570/IMG_20220801_222108.jpg i cant get nodejs to update on sudo so i cant use sudo cuz it still have nodejs 12

I checked and napi-v8 doesnt exist in tensorflow folder, i think i need to build tensorflow lite