NVIDIA / ChatRTX

A developer reference project for creating Retrieval Augmented Generation (RAG) chatbots on Windows using TensorRT-LLM
Other
2.72k stars 325 forks source link

How to implement chat history memory and system prompt? #40

Open neohary opened 8 months ago

neohary commented 8 months ago

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.

### Tasks
anujj commented 5 months ago

You have to create a chat_engine object llama_index for chat history