Skip to main content

Module mine

Module mine 

Source
Expand description

Retroactive conversation import from Claude, ChatGPT, and Slack exports.

Structs§

Conversation
Message
MinedMemory
Result of mining a single conversation.

Enums§

Format

Functions§

conversation_to_memory
Convert a parsed conversation into a MinedMemory ready for storage.
parse_chatgpt
Parse ChatGPT’s conversations.json export.
parse_claude
Parse Claude’s conversations.jsonl export. Each line is a JSON object representing one conversation.
parse_slack
Parse a Slack workspace export directory. Structure: channel_name/YYYY-MM-DD.json