Find answers from the community

Updated 2 months ago

How does one turn a Q&A RAG into a multi

How does one turn a Q&A RAG into a multi-turn chat experience?
  1. Initial question retrieves context
  2. Subsequent questions should continue with List[Message] like a chatbot, using the template & context as the system message?
T
v
4 comments
Is that memory multi-user safe? I have this stuff running behind an API
I'm planning to persist chat history, so it might make sense to put the history in PSQL JSONB
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