Hi,
The apoc nlp functions for the azure cognitive services api are returning an error, with the exception of the ones concerning sentiment analysis (as far as I know). The error obtained is the following:
"Failed to invoke procedure apoc.nlp.azure.entities.stream: Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: https://xxxxx.cognitiveservices.azure.com/text/analytics/v2.1/entities"
This happens for the entitity and keyphrases related apis.
The same issue does not occur when using the google cloud services api functions, which work fine. Also, the fact that the sentiment analysis api function for azure works, leads me to think that authentication or connection problems are not the issue.
Is this an issue that has been identified by anyone else? And how can it be solved since I would prefer to use Azure cognitive services instead of GCP.
In fact, when I ping it, the request times out.
Although it is strange since the call with "apoc.nlp.azure.sentiment.stream" works. So why does that one work and apoc.nlp.azure.entities.stream and apoc.nlp.azure.keyphrases.stream return a 400?
It has the default configuration:
dbms.security.procedures.unrestricted=jwt.security.* ,apoc.*
I've also tried different versions of neo4j and different versions of apoc and its dependencies and the problem persists.
I am not able to activate azure services in neo4j.
Can you please share how you installed and what all settings needs to be done.
I downloaded depenedecy file [apoc-nlp-dependencies-4.2.0.1.jar] and pasted in plugin folder
and added this to config file dbms.security.procedures.unrestricted=jwt.security.* ,apoc.*
but not getting any apoc procedures in my list.
It seems like the problem is persisting. Is it possible that the error comes from the fact that apoc nlp tries to fetch for an older version of the Cognitive Services API?
I have the same result that sentiment analysis works but not entity extraction or entity linking.
I'd be greatful for some insight on this. Has anyone of the above been able to fix their issue?