This commit is contained in:
9
docs/snippets/python/api/extract_file_sync.md
Normal file
9
docs/snippets/python/api/extract_file_sync.md
Normal file
@@ -0,0 +1,9 @@
|
||||
```python title="Python"
|
||||
from kreuzberg import extract_file_sync, ExtractionConfig
|
||||
|
||||
result = extract_file_sync("document.pdf", config=ExtractionConfig())
|
||||
|
||||
print(result.content[:200])
|
||||
print(f"Tables: {len(result.tables)}")
|
||||
print(f"Format: {result.metadata.format_type}")
|
||||
```
|
||||
Reference in New Issue
Block a user