Skip to content

Feature - Add option to start a new session with each interaction with the Chatflow tool #2633

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

Merged

Conversation

danieldabate
Copy link
Contributor

This PR adds an option to the Chatflow Tool to decide if the conversation with the Chatflow keeps the same session or is independent with each interaction. This is very useful when using it with a Chatflow that has memory, to avoid it.

My use case is the following:

  • Chatflow 1: Is a chat bot that answers questions based on RAG, with memory.
  • Chatflow 2: Is an agent that uses the Chatflow 1 as a tool and it's instructed to, based on a list of questions and expected answers, ask them to the Chatflow 1 and evaluate each response.

In scenarios like this where repeated independent tasks are executed, memory is not desirable. Chatflow 1 might get confused about what is being asked in each independent task.

Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome thanks!

@HenryHengZJ HenryHengZJ merged commit d4f8039 into FlowiseAI:main Jun 19, 2024
2 checks passed
@danieldabate danieldabate deleted the feature/chatflow-tool-new-session branch July 4, 2024 01:02
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.

2 participants