Last updated 5 months ago
(input, options) => []
(input, options) =>
[]
This prompts the language model to detect which language is being used in the input text
A string
string
signal optional AbortSignal
optional AbortSignal
Returns an array of detection results from the language model
AILanguageDetectorDetectResult