- Implement ChatGPTReader for parsing HTML/ZIP exports from ChatGPT - Add chatgpt_rag.py following BaseRAGExample pattern - Support both concatenated conversations and individual messages - Handle multiple input formats (.html, .zip, directories) - Include comprehensive error handling and user guidance - Add metadata extraction (titles, timestamps, roles) - Integrate with existing LEANN chunking and embedding systems Features: ✅ HTML parsing from ChatGPT exports ✅ ZIP file extraction support ✅ Conversation detection and structuring ✅ Message role identification (user/assistant) ✅ Metadata extraction and preservation ✅ Dual processing modes ✅ Command-line interface with all LEANN options ✅ Comprehensive error handling ✅ Multiple input format support Usage: python -m apps.chatgpt_rag --export-path chatgpt_export.html python -m apps.chatgpt_rag --export-path chatgpt_export.zip --query 'Python help'
0 lines
0 B
Python
0 lines
0 B
Python
The file is empty.