Automatic Content Type Detection
supermemory automatically detects the content type of the document you’re adding. Simply pass your content to the API, and supermemory will handle the rest.- How It Works
- Best Practices
The content detection system analyzes:
- URL patterns and domains
- File extensions and MIME types
- Content structure and metadata
- Headers and response types
Quick Implementation
All you need to do is pass the content to the/documents endpoint:
supermemory uses Markdowner to extract content from
URLs.
Supported Content Types
supermemory supports a wide range of content formats to ensure versatility in memory creation:Processing Pipeline
1
Content Detection
supermemory automatically identifies the content type based on the input provided.
2
Content Extraction
Type-specific extractors process the content with: - Specialized parsing for
each format - Error handling with retries - Rate limit management
3
AI Enhancement
4
Chunking & Indexing
- Sentence-level splitting
- 2-sentence overlap
- Context preservation
- Semantic coherence
Technical Specifications
Size Limits
| Content Type | Max Size |
|---|---|
| Text/Note | 1MB |
| 10MB | |
| Image | 5MB |
| Video | 100MB |
| Web Page | N/A |
| Google Doc | N/A |
| Notion Page | N/A |
| Tweet | N/A |
Processing Time
| Content Type | Processing Time |
|---|---|
| Text/Note | Almost instant |
| 1-5 seconds | |
| Image | 2-10 seconds |
| Video | 10+ seconds |
| Web Page | 1-3 seconds |
| Google Doc | N/A |
| Notion Page | N/A |
| Tweet | N/A |