Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/Buffer Memory SessionId #2111

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Conversation

HenryHengZJ
Copy link
Contributor

Existing buffer memory nodes are just in-memory, data will be wiped once app restarted. Hence it requires user to pass in history array when using API.

This PR improve this scenario.

  • All buffer memory nodes now retrieve chat messages from database using sessionId
  • Add conversation summary buffer memory

@HenryHengZJ
Copy link
Contributor Author

Related issue - #1666

@HenryHengZJ HenryHengZJ merged commit c33642c into main Apr 11, 2024
2 checks passed
gagaboy added a commit to gagaboy/Flowise that referenced this pull request Apr 14, 2024
* commit 'b34094035d7db9ad45a931c751139c975f059eb0': (50 commits)
  🥳 flowise@1.6.5 minor release
  🥳 flowise-ui@1.6.5 minor release
  🥳 flowise-components@1.6.7 minor release
  Feature/externalize model list (FlowiseAI#2113)
  Chore/change models json file path (FlowiseAI#2167)
  Feature/add max iterations to agents (FlowiseAI#2161)
  Feature/Add topP to Azure (FlowiseAI#2160)
  Feature/Buffer Memory SessionId (FlowiseAI#2111)
  Addition of model.json to externalize model-lists and related key-values (FlowiseAI#2153)
  Chore/consistent services and error handlers (FlowiseAI#2101)
  Feature/Update csv agent (FlowiseAI#2143)
  🥳 flowise@1.6.4 minor release
  🥳 flowise-ui@1.6.4 minor release
  🥳 flowise-components@1.6.6 minor release
  Chore/remove fixed height (FlowiseAI#2142)
  Fix: UI issues in credentials dialog and card descriptions (FlowiseAI#2137)
  Fix: Empty starter prompt creating empty bubbles (FlowiseAI#2139)
  Code Cleanup - unnecessary document creation in Pinecone and Astra Vector Stores (FlowiseAI#2124)
  Bugfix/Add missing TTL implementation for Redis (FlowiseAI#2131)
  Feature: Add BasePath parameter setting support to ChatOpenAI LlamaIndex (FlowiseAI#2132)
  ...

# Conflicts:
#	packages/ui/src/views/chatflows/index.jsx
@VincentEmmanuel
Copy link

Hi @HenryHengZJ , how do we use this in the API or we do not need to have additional coding to specify the sessionId?

@HenryHengZJ
Copy link
Contributor Author

Hi @HenryHengZJ , how do we use this in the API or we do not need to have additional coding to specify the sessionId?

@VincentEmmanuel you just need to specify the sessionId in overrideConfig https://docs.flowiseai.com/integrations/langchain/memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants