RAG_Project / src /memory.py
Rahbarnisa's picture
Upload 24 files
9a2d4ec verified
raw
history blame contribute delete
204 Bytes
chat_history = []
def add_to_memory(user_input, bot_response):
chat_history.append({
"user": user_input,
"bot": bot_response
})
def get_memory():
return chat_history