Skip to content

Conversation

@NTLx
Copy link
Contributor

@NTLx NTLx commented Feb 11, 2026

This PR adds full support for importing and exporting memories, addressing Issue #137.

This contribution is part of the OceanBase AI Coding Event.

🚀 Features

  • Export: Export memories to JSON (full data) or CSV (spreadsheet compatible)
  • Import: Bulk import memories from JSON or CSV files
  • API Support: New endpoints GET /v1/memories/export and POST /v1/memories/import

🛠 Implementation

  • Utils: Created src/powermem/utils/io.py for robust serialization logic
  • Core: Added export_memories() and import_memories() methods to Memory class
  • API: Added streaming response for exports and file upload for imports

@CLAassistant
Copy link

CLAassistant commented Feb 11, 2026

CLA assistant check
All committers have signed the CLA.

- Add io.py module with export_to_json, export_to_csv, import_from_json, import_from_csv
- Add export_memories and import_memories methods to Memory class
- Add /export and /import API endpoints

This contribution is part of the OceanBase AI Coding Event.
@NTLx NTLx force-pushed the feature/import-export-final branch from 913f765 to 2d55545 Compare February 11, 2026 05:44
Copy link
Member

@Teingi Teingi left a comment

Choose a reason for hiding this comment

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

LGTM

@Teingi Teingi merged commit 8b07d7a into oceanbase:main Feb 11, 2026
13 checks passed
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.

3 participants