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/export-import-3 #4234

Merged
merged 7 commits into from
Apr 3, 2025
Merged

feature/export-import-3 #4234

merged 7 commits into from
Apr 3, 2025

Conversation

chungyau97
Copy link
Contributor

@chungyau97 chungyau97 commented Apr 1, 2025

Description

  • Fix export and import for assistant.
  • Add export and import support for:
    • chatMessage
    • chatMessageFeedback
    • customTemplate
    • documentStore
    • documentStoreFileChunk
  • Import Conditions:
    • If chatflowId does not exist for chatMessage, it will not be imported into the database.
    • If chatflowId and messageId do not exist for chatMessageFeedback, it will not be imported into the database.

Before

image

After

image

Export output

ExportDataOnlyChat.json
ExportData.json

@chungyau97 chungyau97 added the enhancement New feature or request label Apr 1, 2025
@HenryHengZJ HenryHengZJ merged commit a075461 into main Apr 3, 2025
2 checks passed
@chungyau97 chungyau97 deleted the feature/export-import-3 branch April 3, 2025 05:03
JJK801 pushed a commit to JJK801/Flowise that referenced this pull request Apr 9, 2025
* fix: add ASSISTANT chatflow

* feat: add mvp export import for chatMessage, chatFeedback, customTemplate, documentStore

* feat: add function to handle duplicate ids during import

* chore: typo 'orginalData' to 'originalData'

* feat: add import conditions for chatMessage and chatMessageFeedback

* feat: reduce spacing before saving chatflows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants