Error while using summarize text activity in studio

Having the bellow error while running summarize text activity in studio in automaton cloud.

2024-09-04 9:51:29.135 GMT+5:30: Error: UiPath.IntegrationService.Activities.Runtime.Exceptions.RuntimeException: Request failed with error:
RequestId : 66d7e04ce4b084939bbd22c7
Message : Unable to detect language of the input text. Reason: “Bad Request”

Status code: BadRequest. Error code: DAP-RT-1101.
at UiPath.IntegrationService.Activities.Runtime.Services.ExecutionService.SendAsync(String requestUri, ExecutionParameters executionParameters, HttpMethod httpMethod, ICollection`1 jitInputs, CancellationToken token)
at UiPath.IntegrationService.Activities.Runtime.Services.ExecutionService.ExecuteOperationAsync(ExecutionParameters executionParameters, ConnectorActivityConfiguration activityConfiguration, CancellationToken token)
at UiPath.IntegrationService.Activities.Runtime.Activities.ConnectorActivity.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken token)
at UiPath.IntegrationService.Activities.Runtime.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.IntegrationService.Activities.Runtime.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

@aditi.kumari

Can you please tell what input text have you provided

Cheers

“Deep-learning architectures such as deep neural networks, deep belief networks, deep reinforcement learning, recurrent neural networks and convolutional neural networks have been applied to fields including computer vision, speech recognition, natural language processing, machine translation, bioinformatics, drug design, medical image analysis, material inspection and board game programs, where they have produced results comparable to and in some cases surpassing human expert performance.”

@aditi.kumari

can you show the activity screenshot

looks like some issue with configuration only

cheers

@aditi.kumari,

Try this:

Change the Detect language for output property to False. By default it’s True

Thanks,
Ashok :slight_smile:

It’s working by setting it to false. But why not working with true.

@aditi.kumari,

It could be issue with the model you selected for it. The model might not be able to identify your input text language beyond the language detection threshold.

Kindly close the thread by marking my answer as solution so it will be helpful to other members as well. Glad to help! Cheers!

Thanks,
Ashok :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.