This commit is contained in:
10
docs/snippets/python/getting-started/hello_world.md
Normal file
10
docs/snippets/python/getting-started/hello_world.md
Normal file
@@ -0,0 +1,10 @@
|
||||
```python title="Python"
|
||||
import asyncio
|
||||
from kreuzberg import extract_file
|
||||
|
||||
async def main() -> None:
|
||||
result = await extract_file("document.pdf")
|
||||
print(result.content)
|
||||
|
||||
asyncio.run(main())
|
||||
```
|
||||
Reference in New Issue
Block a user