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
Hi, In my use case I need to pass context as well along with the user query to AI bot, If I use ConversationBufferMemory of lang chain memory to store history and when I call the bot then will old context also be passed along new query and new context? is there any way to avoid passing old context information and pass only user query and bot response? since context information will be vary large and I dont wnat to pass every time
Also if run
chain({"input_documents": content, "user_query": query}, return_only_outputs=True) Iam getting the error
AttributeError: 'str' object has no attribute 'page_content'
content is of type string which is the retrived from serach result?
Is there any other way to pass context and user query with ConversationBufferMemory?
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.
-
Hi, In my use case I need to pass context as well along with the user query to AI bot, If I use ConversationBufferMemory of lang chain memory to store history and when I call the bot then will old context also be passed along new query and new context? is there any way to avoid passing old context information and pass only user query and bot response? since context information will be vary large and I dont wnat to pass every time
Also if run
chain({"input_documents": content, "user_query": query}, return_only_outputs=True) Iam getting the error
AttributeError: 'str' object has no attribute 'page_content'
content is of type string which is the retrived from serach result?
Is there any other way to pass context and user query with ConversationBufferMemory?
Beta Was this translation helpful? Give feedback.
All reactions