GroupDocs.Parser for Cloud 26.2 Release Notes

Major Features

  • Added AI Parse API method.

Full List of Issues Covering all Changes in this Release

KeyCategorySummary
PARSERCLOUD-360FeatureImplement AI data parsing API method

API examples and documentation

Added AI Parse API method

The AI Parse API method allows to parse any type of documents and extract any data into given json template. It use modern, well updated, LLM to fill in json structure from the data in input document.

CURL example:

# First get JSON Web Token
# Please get your Client Id and Client Secret from https://dashboard.groupdocs.cloud/applications.
# The client credentials are taken from environment variables.
curl -v "https://api.groupdocs.cloud/connect/token" \
  -X POST \
  -d "grant_type=client_credentials&client_id=$CLIENT_ID&client_secret=$CLIENT_SECRET" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Accept: application/json"

# cURL example to parse a document using LLM
curl -v "https://api.groupdocs.cloud/v1.0/parser/aiparse" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $JWT_TOKEN" \
  -d '{
    "FileInfo": {
        "FilePath": "Invoice.xlsx"
    },
    "Template": {
                "InvoiceNum": "",
                "Date":  "",
                "Email": ""
            }
}'

Response

{
    "InvoiceNum": "IL220303/36",
    "Date":  "01/22/2025 00:00:00",
    "Email": "purchase@aspose.com"
}