Find answers from the community

Updated 7 months ago

https://docs.llamaindex.ai/en/stable/

https://docs.llamaindex.ai/en/stable/module_guides/deploying/chat_engines/usage_pattern/

It is unclear from the documentation where do I plug a chat history in? (and how)
L
2 comments
chat history is maintain automatically in a memory buffer

But you can pass in your own chat history with chat_engine.chat("hello", chat_history=chat_history)
where chat_history is a list of chat message objects
Add a reply
Sign up and join the conversation on Discord