You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a Chatbot using VectorStoreRetrieverMemory. At the moment, I'm able to retrieve only relevant messages from the vector store. However, I also want to include the most recent messages as part of the context. Here's an example of how I would like to structure prompt:
The challenge I'm facing is that the VectorStoreRetriever class only provides the getRelevantDocuments function. I'm wondering if you have any suggestions on how I can incorporate the recent messages into the context given this limitation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently working on a Chatbot using
VectorStoreRetrieverMemory
. At the moment, I'm able to retrieve only relevant messages from the vector store. However, I also want to include the most recent messages as part of the context. Here's an example of how I would like to structure prompt:The challenge I'm facing is that the
VectorStoreRetriever
class only provides thegetRelevantDocuments
function. I'm wondering if you have any suggestions on how I can incorporate the recent messages into the context given this limitation.Beta Was this translation helpful? Give feedback.
All reactions