Conversational Memory with HF inference endpoints


We are using HF inference endpoints and building a chatbot in Javascript, but we are having a hard time adding a memory function, which is for the bot to be able to remember several past conversations in order to chat smoothly with humans.

We cannot find a way to solve this problem.

We’ll appreciate your advice.