Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
😞
😐
😃
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
Hi, I am new to ths framrwork. How can I
Hi, I am new to ths framrwork. How can I
Inactive
0
Follow
Đ
ĐARK々MÁTTER
11 months ago
·
Hi, I am new to ths framrwork. How can I store the context of the chat session between multple windows? Basically storing the session per user basis like chatgpt different chats :/
L
Đ
7 comments
Share
Open in Discord
L
Logan M
11 months ago
Check this out maybe
https://docs.llamaindex.ai/en/stable/module_guides/storing/chat_stores.html#chat-stores
If you want, you can also directly get the chat history with
chat_engine.chat_history
Then you can pass it in like
chat_engine.chat("Hello", chat_history=chat_history)
Đ
ĐARK々MÁTTER
11 months ago
I was about write it redis 😅
Đ
ĐARK々MÁTTER
11 months ago
But is there any guide to implement my down postgresql storage ?
Đ
ĐARK々MÁTTER
11 months ago
Or already on llamahub?
Đ
ĐARK々MÁTTER
11 months ago
Or in mongodb, but not the redis :/
L
Logan M
11 months ago
Currently only redis or to disk -- but if you wanted to contribute another chat store class, definitely go for it!
Đ
ĐARK々MÁTTER
10 months ago
Sure, I would love to
Add a reply
Sign up and join the conversation on Discord
Join on Discord