Log in
Log into community
Find answers from the community
s
F
Y
a
P
3,278
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated last month
0
Follow
How does one turn a Q&A RAG into a multi
How does one turn a Q&A RAG into a multi
0
Follow
v
verdverm
7 months ago
ยท
How does one turn a Q&A RAG into a multi-turn chat experience?
Initial question retrieves context
Subsequent questions should continue with List[Message] like a chatbot, using the template & context as the system message?
T
v
4 comments
Share
Open in Discord
T
Teemu
7 months ago
Have you tried the ChatEngine?
https://docs.llamaindex.ai/en/stable/module_guides/deploying/chat_engines/root.html
https://docs.llamaindex.ai/en/stable/examples/chat_engine/chat_engine_context.html
v
verdverm
7 months ago
Is that memory multi-user safe? I have this stuff running behind an API
v
verdverm
7 months ago
I'm planning to persist chat history, so it might make sense to put the history in PSQL JSONB
v
verdverm
7 months ago
Managed to get something working, thought I'd leave it here for anyone who comes along, the cache is not prod
Add a reply
Sign up and join the conversation on Discord
Join on Discord