Find answers from the community

Updated 2 years ago

Hi all i have a doubt do we have a

At a glance
Hi all, i have a doubt, do we have a feature in llama-index where we can save context and create a chatgpt like thing ?? any help would be appreciated
L
a
6 comments
Do you mean, maintaining conversation history? Or something else?
conversation history
If you are using one of the new chat engines, you can save the chat_history (or memory, if using a react chat engine) somewhere and use it when you load again
can you please provide me respective documentation for the same, it would be a great help @Logan M
It's a super new feature, so no documentation yet

but if you check chat_engine.chat_history or chat_engine.memory, you can pickle or save that and use it when you create the chat engine later: index.as_chat_engine(chat_history=chat_history)
Add a reply
Sign up and join the conversation on Discord