Detect Language
Description
The Detect Language activity identifies the primary language of the supplied text using Azure AI Language services.
The activity returns the detected language along with a confidence score indicating the reliability of the detection.
Common settings
Use Process Data to bind supported inputs to workflow values or upstream outputs. See Common Activity Features for shared execution, error-handling, and output-persistence settings. Availability depends on the activity.
Design-Time Configuration
Display Text
The label for this activity as it appears on the workflow canvas.
Connection Name
Select one of the following:
- An Azure Text Analytics connection configured in AI Command Center using customer-provided Azure credentials.
- IB-X Azure Text Analytics Credits to use the IntelliBuddies Integration Gateway.
When using IB-X Azure Text Analytics Credits, requests are processed through the Integration Gateway and consume IB-X Currency based on the request volume and service usage.
Input Text
The text to analyze.
The value can be entered directly or supplied dynamically from Process Data.
Execution settings
Configure Wait All Incoming when execution paths converge, and On Error for failure handling. Select Inherit where available to use the workflow-level error policy.
Outputs
Detect Language Result
The language detection result containing:
- Detected language
- ISO language code
- Confidence score
Raw Response
The complete JSON response returned by Azure AI Language services.
Notes
- The activity detects the primary language of the supplied text.
- Detection accuracy generally improves with longer text samples.
- When using the Integration Gateway, IB-X Currency is consumed based on the request volume.
Example: Analyze text
Select an Azure AI Language connection or the documented credits option, then bind Input Text to text such as “Bonjour, comment puis-je vous aider?”. After execution, use Detect Language Result to inspect Language, LanguageCode, and ConfidenceScore. See the output model for property types.
For a collection output, check it contains items before iterating. Keep Raw Response for cases where the workflow needs details not exposed by the structured output. See Azure Text Analytics connection.