You can summarize PDF files very easily using the Summarize PDF tool, as shown in this code:
You can add as many files as you want to summarize. To process your files, simply choose the Summarize PDF tool.
You can configure the language used to generate the summary.
Simply set the property language with your desired language like this:
Use setOutputFormat() to define the output type for the summarized document.
setOutputFormat()
Supported output formats:
'pdf'
'md'
.md
These are some of the supported language codes:
The REST API analyzes the content of your PDF files and generates concise summaries in the selected language.