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

How to clear pipeline data? #264

Open
Panicum opened this issue Sep 18, 2024 · 0 comments
Open

How to clear pipeline data? #264

Panicum opened this issue Sep 18, 2024 · 0 comments

Comments

@Panicum
Copy link

Panicum commented Sep 18, 2024

I created the RAG pipeline in which I am saving data in the variable "self.campaign_data":

def __init__(self):
        # Optionally, you can set the id and name of the pipeline.
        self.name = "Pipeline XYZ"
        self.campaign_data = {
            "company_name": None,
            "product_name": None,
            "date_from": None,
            "date_to": None
        }
        pass

I would like to have it reset on every new "Pipeline XYZ" chat window, but for now, it is taking data entered in different chats and using it in the new conversations.

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

No branches or pull requests

1 participant