Find answers from the community

Updated 2 years ago

What is the best way to pass the

At a glance
What is the best way to pass the conversation history to gpt-index. Is there a way to pass through something like ConversationalBufferWindowMemory to underlaying LLMChain?
2
j
h
a
11 comments
this is something that a few other people have asked for, i'll take a stab at this over the weekend for more explicit support
@jerryjliu0 lmk if you want support/help
one idea that jumps to mind is to just make the index query interface chains themselves
would make stuff like this + other things that chain support super easy!
i think that would make sense!
maybe good on top of the QueryRunner class
to support composed indices
This collab is what I'm here for! πŸ˜„
not sure I've fully understood the request: is the idea to have tooling that enables a conversation buffer to itself be indexed? I think that's a potentially fun idea that would enable long conversations over multiple sessions.
The prompt could include 50% recent conversation history, and 50% queries from a vector store over previous conversations. I'd imagine that'd e.g. enable an agent to remember your age from a previous conversation
yeah basically! passing gpt index in the memory variable in langchain
Add a reply
Sign up and join the conversation on Discord