How to implement chat history memory and system prompt?
neohary opened this issue · 1 comments
neohary commented
I see the possibility of implementing chat history and system prompt features like ChatGPT because I found that the stream_chatbot
function in app.py
had unused chat_history
and session_id
parameters, but I don't know where to start due to the lack of development guidance and my limited knowledge of programming.
anujj commented
You have to create a chat_engine object llama_index for chat history