Search code examples
amazon-web-servicesaws-billingamazon-comprehend

add a Tag to AWS Comprehend request


We're using python boto3 to detect entities out of text. Is it possible to add tags such as "product":"x" to the API calls?

comprehend = boto3.client(service_name='comprehend', region_name='us-east-1')
response = comprehend.detect_entities(Text=text, LanguageCode='en')

Solution

  • Today, Comprehend only supports Tags for persistent resources such as Custom models and endpoints. Comprehend inference jobs are not persistent and hence, don't support Tags. We'll take the feedback under consideration.