Hi,
I am using desktop version of Neo4j 4.0.3 with GDS and APOC (apoc-4.0.0.12-all.jar & apoc-nlp-dependencies-4.0.0.12.jar) plugins.
I issue following command in Cypher
MATCH (a:Article {uri: "Pokégraph: Gotta Graph 'Em All!"})
CALL apoc.nlp.gcp.entities.stream(a, {
key: '',
nodeProperty: "body"
})
YIELD value
UNWIND value.entities AS entity
RETURN entity;
Whenever I execute the above command, I receive the following error:
Maybe check if the api key you are using has any set limitations?
I am encountering a somewhat similar issue, but mine is 400 error code. The query runs OK every now and then, So i am sure that the apikey is correct. But every so often, i get the error message:
Do you mean having those phrases in the node property that you're analyzing causes the error? That sounds very weird, I'd like to investigate it so that we can sort it out
Failed to invoke procedure apoc.nlp.gcp.entities.stream: Caused by: java.io.IOException: Server returned HTTP response code: 400
i do have a same issue can any one help me with this
yes i do can u please help me with creating the relation between the nodes dynamicaly for a given text and also i dint get same version of graphware nlp's in the git hub i need 3.5.1 version of standford nlp can u me help me with this please..
(Below is how I figured that out, by calling the GCP natural language API from the command line)
$ curl -XPOST 'https://language.googleapis.com/v1/documents:analyzeEntities?key=MY-API-KEY
{
"error": {
"code": 403,
"message": "Cloud Natural Language API has not been used in project *MY-PROJECT-ID* before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=*MY-PROJECT-ID* then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Google developers console API activation",
"url": "https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=*MY-PROJECT-ID*"
}
]
},
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "SERVICE_DISABLED",
"domain": "googleapis.com",
"metadata": {
"consumer": "projects/*MY-PROJECT-ID*",
"service": "language.googleapis.com"
}
}
]
}
}