Open JavascriptMick opened 1 month ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @anrothMSFT @ctstone.
CC @sandeep-sen
Hey! I've let the team, but I've flagged this for @vkurpad.
in the meantime, I have had some success using the rest api directly from go. I had to use the older formrecognizer endpoint for some reason
requestURL := fmt.Sprintf("%s/formrecognizer/documentModels/%s:analyze?api-version=%s", endpoint, modelId, apiVersion)
fmt.Println("Request URL:", requestURL)
req, err := http.NewRequest("POST", requestURL, bytes.NewBuffer(requestBodyBytes))
if err != nil {
fmt.Println("Error creating HTTP request:", err)
return "", err
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Ocp-Apim-Subscription-Key", subscriptionKey)
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending HTTP request:", err)
return "", err
}
defer resp.Body.Close()
Yeah that would be great. Right now I use the REST API but I'd rather use a well integrated SDK ^^
Feature Request
Any plans to support Azure Document Intelligence in the go sdk.. similar to the Typescript sdk?
If not, any workarounds? community packages?