ivanpetrushev / easy-rag

Playground for LLMs, RAG, agents and tool use
0 stars 0 forks source link

Chat history to be wiped when subject change #3

Open ivanpetrushev opened 2 months ago

ivanpetrushev commented 2 months ago

We need some sort of automatic chat history prune when topic change occurs. Currently chat history can get large, especially when using multiple retriever tools in a row. More in this case: retrieved documents pollute further questions and the LLM sometimes draw conclusions from old retrieved documents from previous query.

Notes: