Hello!
I would like to ask if it's possible to get the same output format from the Vertex AI entity extraction REST API as from the Google Natural Language API?
Because now in the response of Vertex AI we get only a list with the confidence scores, displayNames and the start/end offsets of the textSegments, but the entities itself are not in the json (in the NLP response there is also "content" with the entity). So this is how I would like to get the response from the Vertex AI for each entity:
{
"annotationSpecId": " ",
"displayName": "date",
"textExtraction": {
"score": 0.69745916,
"textSegment": {
"startOffset": "382",
"endOffset": "392",
"content": "12.07.2022"
}
Can you help please how I could achive this?
Thank you for your help in advance!
Zsolt