hey i building an chatbot and i want him to remember thinks like memory and chatgpt i want to do that without use openai so how can i implemente this focntion ( i save conversation, i use nltk, pytorch) thanks, i use context to save user converstion, so the chat can know is the user want tne num page, my json file loo like this ( intents: tags: patterns: responses: [{“text”, “page”}] , “page_request” : true and here the code for the chat bot also i have 4 files ( train.py nltk_utilis.py, models.py [the model is a linear three-layer neural network model with a ReLU activation function between each layer.] chat.py the code below is the chat.py https://paste.pythondiscord.com/ratowawoco.py thanks all
submitted by /u/Pkfr29
[link] [comments]