# Conversational Memory with HF inference endpoints

**URL:** <https://discuss.huggingface.co/t/conversational-memory-with-hf-inference-endpoints/71408>\
**Category:** Inference Endpoints on the Hub\
**Created:** [February 1, 2024, 1:01am UTC](https://discuss.huggingface.co/t/conversational-memory-with-hf-inference-endpoints/71408 "2024-02-01T01:01:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flops2081](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@flops2081](https://discuss.huggingface.co/u/flops2081)\
**Post date:** [February 1, 2024, 1:01am UTC](https://discuss.huggingface.co/t/conversational-memory-with-hf-inference-endpoints/71408/1 "2024-02-01T01:01:47Z")

</div>

Hello,

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.
