This commit is contained in:
7
docs/snippets/r/getting-started/basic_extraction.md
Normal file
7
docs/snippets/r/getting-started/basic_extraction.md
Normal file
@@ -0,0 +1,7 @@
|
||||
```r
|
||||
library(kreuzberg)
|
||||
|
||||
# Extract text from a PDF file
|
||||
result <- extract_file_sync("document.pdf")
|
||||
cat(result$content)
|
||||
```
|
||||
Reference in New Issue
Block a user