共用方式為


Conversational Analysis Authoring - Get Supported Languages

列出指定項目類型的支持語言。

GET {Endpoint}/language/authoring/analyze-conversations/projects/global/languages?projectKind={projectKind}&api-version=2022-05-01
GET {Endpoint}/language/authoring/analyze-conversations/projects/global/languages?projectKind={projectKind}&top={top}&skip={skip}&maxpagesize={maxpagesize}&api-version=2022-05-01

URI 參數

名稱 位於 必要 類型 Description
Endpoint
path True

string

支援的認知服務端點 (例如,https://.api.cognitiveservices.azure.com).

api-version
query True

string

用戶端 API 版本。

projectKind
query True

ProjectKind

專案種類。

maxpagesize
query

integer (int32)

要包含在單一回應中的資源數目上限。

skip
query

integer (int32)

要傳回之第一個資源的集合位移。

top
query

integer (int32)

要從集合傳回的資源數目上限。

要求標頭

名稱 必要 類型 Description
Ocp-Apim-Subscription-Key True

string

語言服務資源的訂用帳戶金鑰。

回應

名稱 類型 Description
200 OK

ConversationalAnalysisAuthoringSupportedLanguages

支援的語言清單。

Other Status Codes

ErrorResponse

錯誤回應。

安全性

Ocp-Apim-Subscription-Key

語言服務資源的訂用帳戶金鑰。

類型: apiKey
位於: header

範例

Successful Supported Languages

範例要求

GET {Endpoint}/language/authoring/analyze-conversations/projects/global/languages?projectKind=Conversation&api-version=2022-05-01

範例回覆

{
  "value": [
    {
      "languageName": "English",
      "languageCode": "en"
    },
    {
      "languageName": "English",
      "languageCode": "en-us"
    },
    {
      "languageName": "English (UK)",
      "languageCode": "en-gb"
    },
    {
      "languageName": "French",
      "languageCode": "fr"
    },
    {
      "languageName": "Italian",
      "languageCode": "it"
    },
    {
      "languageName": "Spanish",
      "languageCode": "es"
    },
    {
      "languageName": "German",
      "languageCode": "de"
    },
    {
      "languageName": "Portuguese (Brazil)",
      "languageCode": "pt-br"
    },
    {
      "languageName": "Portuguese (Portugal)",
      "languageCode": "pt-pt"
    },
    {
      "languageName": "Chinese (Simplified)",
      "languageCode": "zh-hans"
    },
    {
      "languageName": "Japanese",
      "languageCode": "ja"
    },
    {
      "languageName": "Korean",
      "languageCode": "ko"
    },
    {
      "languageName": "Dutch",
      "languageCode": "nl"
    },
    {
      "languageName": "Hindi",
      "languageCode": "hi"
    },
    {
      "languageName": "Turkish",
      "languageCode": "tr"
    },
    {
      "languageName": "Gujarati",
      "languageCode": "gu"
    },
    {
      "languageName": "Marathi",
      "languageCode": "mr"
    },
    {
      "languageName": "Tamil",
      "languageCode": "ta"
    },
    {
      "languageName": "Telugu",
      "languageCode": "te"
    },
    {
      "languageName": "Zulu",
      "languageCode": "zu"
    },
    {
      "languageName": "Afrikaans",
      "languageCode": "af"
    },
    {
      "languageName": "Amharic",
      "languageCode": "am"
    },
    {
      "languageName": "Arabic",
      "languageCode": "ar"
    },
    {
      "languageName": "Assamese",
      "languageCode": "as"
    },
    {
      "languageName": "Azerbaijani",
      "languageCode": "az"
    },
    {
      "languageName": "Belarusian",
      "languageCode": "be"
    },
    {
      "languageName": "Bulgarian",
      "languageCode": "bg"
    },
    {
      "languageName": "Breton",
      "languageCode": "br"
    },
    {
      "languageName": "Bosnian",
      "languageCode": "bs"
    },
    {
      "languageName": "Catalan",
      "languageCode": "ca"
    },
    {
      "languageName": "Czech",
      "languageCode": "cs"
    },
    {
      "languageName": "Welsh",
      "languageCode": "cy"
    },
    {
      "languageName": "Danish",
      "languageCode": "da"
    },
    {
      "languageName": "Greek",
      "languageCode": "el"
    },
    {
      "languageName": "Esperanto",
      "languageCode": "eo"
    },
    {
      "languageName": "Estonian",
      "languageCode": "et"
    },
    {
      "languageName": "Basque",
      "languageCode": "eu"
    },
    {
      "languageName": "Persian",
      "languageCode": "fa"
    },
    {
      "languageName": "Finnish",
      "languageCode": "fi"
    },
    {
      "languageName": "Western Frisian",
      "languageCode": "fy"
    },
    {
      "languageName": "Irish",
      "languageCode": "ga"
    },
    {
      "languageName": "Scottish Gaelic",
      "languageCode": "gd"
    },
    {
      "languageName": "Galician",
      "languageCode": "gl"
    },
    {
      "languageName": "Hausa",
      "languageCode": "ha"
    },
    {
      "languageName": "Hebrew",
      "languageCode": "he"
    },
    {
      "languageName": "Croatian",
      "languageCode": "hr"
    },
    {
      "languageName": "Hungarian",
      "languageCode": "hu"
    },
    {
      "languageName": "Armenian",
      "languageCode": "hy"
    },
    {
      "languageName": "Indonesian",
      "languageCode": "id"
    },
    {
      "languageName": "Javanese",
      "languageCode": "jv"
    },
    {
      "languageName": "Georgian",
      "languageCode": "ka"
    },
    {
      "languageName": "Kazakh",
      "languageCode": "kk"
    },
    {
      "languageName": "Khmer",
      "languageCode": "km"
    },
    {
      "languageName": "Kannada",
      "languageCode": "kn"
    },
    {
      "languageName": "Kurdish (Kurmanji)",
      "languageCode": "ku"
    },
    {
      "languageName": "Kyrgyz",
      "languageCode": "ky"
    },
    {
      "languageName": "Latin",
      "languageCode": "la"
    },
    {
      "languageName": "Lao",
      "languageCode": "lo"
    },
    {
      "languageName": "Lithuanian",
      "languageCode": "lt"
    },
    {
      "languageName": "Latvian",
      "languageCode": "lv"
    },
    {
      "languageName": "Malagasy",
      "languageCode": "mg"
    },
    {
      "languageName": "Macedonian",
      "languageCode": "mk"
    },
    {
      "languageName": "Malayalam",
      "languageCode": "ml"
    },
    {
      "languageName": "Mongolian",
      "languageCode": "mn"
    },
    {
      "languageName": "Malay",
      "languageCode": "ms"
    },
    {
      "languageName": "Burmese",
      "languageCode": "my"
    },
    {
      "languageName": "Nepali",
      "languageCode": "ne"
    },
    {
      "languageName": "Norwegian (Bokmal)",
      "languageCode": "nb"
    },
    {
      "languageName": "Odia",
      "languageCode": "or"
    },
    {
      "languageName": "Punjabi",
      "languageCode": "pa"
    },
    {
      "languageName": "Polish",
      "languageCode": "pl"
    },
    {
      "languageName": "Pashto",
      "languageCode": "ps"
    },
    {
      "languageName": "Romanian",
      "languageCode": "ro"
    },
    {
      "languageName": "Russian",
      "languageCode": "ru"
    },
    {
      "languageName": "Sanskrit",
      "languageCode": "sa"
    },
    {
      "languageName": "Sindhi",
      "languageCode": "sd"
    },
    {
      "languageName": "Sinhala",
      "languageCode": "si"
    },
    {
      "languageName": "Slovak",
      "languageCode": "sk"
    },
    {
      "languageName": "Slovenian",
      "languageCode": "sl"
    },
    {
      "languageName": "Somali",
      "languageCode": "so"
    },
    {
      "languageName": "Albanian",
      "languageCode": "sq"
    },
    {
      "languageName": "Serbian",
      "languageCode": "sr"
    },
    {
      "languageName": "Sundanese",
      "languageCode": "su"
    },
    {
      "languageName": "Swedish",
      "languageCode": "sv"
    },
    {
      "languageName": "Swahili",
      "languageCode": "sw"
    },
    {
      "languageName": "Thai",
      "languageCode": "th"
    },
    {
      "languageName": "Filipino",
      "languageCode": "tl"
    },
    {
      "languageName": "Uyghur",
      "languageCode": "ug"
    },
    {
      "languageName": "Ukrainian",
      "languageCode": "uk"
    },
    {
      "languageName": "Urdu",
      "languageCode": "ur"
    },
    {
      "languageName": "Uzbek",
      "languageCode": "uz"
    },
    {
      "languageName": "Vietnamese",
      "languageCode": "vi"
    },
    {
      "languageName": "Xhosa",
      "languageCode": "xh"
    },
    {
      "languageName": "Yiddish",
      "languageCode": "yi"
    },
    {
      "languageName": "Chinese (Traditional)",
      "languageCode": "zh-hant"
    }
  ],
  "nextLink": null
}

定義

名稱 Description
ConversationalAnalysisAuthoringSupportedLanguage

表示支持的語言。

ConversationalAnalysisAuthoringSupportedLanguages

表示擷取的語言清單。

Error

error 物件。

ErrorCode

人類可讀取的錯誤碼。

ErrorResponse

錯誤回應。

InnerErrorCode

人類可讀取的錯誤碼。

InnerErrorModel

物件,包含有關錯誤的更特定資訊。 根據Microsoft一個 API 指導方針 - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses

ProjectKind

表示項目種類。

ConversationalAnalysisAuthoringSupportedLanguage

表示支持的語言。

名稱 類型 Description
languageCode

string

語言代碼。 這是語言的 BCP-47 表示法。 例如,英文的 “en” 、英文的 “en-gb” 、西班牙文的 “es” 等。

languageName

string

語言名稱。

ConversationalAnalysisAuthoringSupportedLanguages

表示擷取的語言清單。

名稱 類型 Description
nextLink

string

下一頁連結。

value

ConversationalAnalysisAuthoringSupportedLanguage[]

語言清單。

Error

error 物件。

名稱 類型 Description
code

ErrorCode

其中一組伺服器定義的錯誤碼。

details

Error[]

導致此錯誤之特定錯誤的詳細數據陣列。

innererror

InnerErrorModel

物件,包含與目前對象有關錯誤更具體的資訊。

message

string

錯誤的人類可讀取表示法。

target

string

錯誤的目標。

ErrorCode

人類可讀取的錯誤碼。

Description
AzureCognitiveSearchIndexLimitReached
AzureCognitiveSearchIndexNotFound
AzureCognitiveSearchNotFound
AzureCognitiveSearchThrottling
Conflict
Forbidden
InternalServerError
InvalidArgument
InvalidRequest
NotFound
OperationNotFound
ProjectNotFound
QuotaExceeded
ServiceUnavailable
Timeout
TooManyRequests
Unauthorized
Warning

ErrorResponse

錯誤回應。

名稱 類型 Description
error

Error

error 物件。

InnerErrorCode

人類可讀取的錯誤碼。

Description
AzureCognitiveSearchNotFound
AzureCognitiveSearchThrottling
EmptyRequest
ExtractionFailure
InvalidCountryHint
InvalidDocument
InvalidDocumentBatch
InvalidParameterValue
InvalidRequest
InvalidRequestBodyFormat
KnowledgeBaseNotFound
MissingInputDocuments
ModelVersionIncorrect
UnsupportedLanguageCode

InnerErrorModel

物件,包含有關錯誤的更特定資訊。 根據Microsoft一個 API 指導方針 - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses

名稱 類型 Description
code

InnerErrorCode

其中一組伺服器定義的錯誤碼。

details

object

錯誤詳細數據。

innererror

InnerErrorModel

物件,包含與目前對象有關錯誤更具體的資訊。

message

string

錯誤資訊。

target

string

錯誤目標。

ProjectKind

表示項目種類。

Description
Conversation

將自然語言建置至應用程式、Bot 和IoT裝置的專案。

Orchestration

在單一專案中,連接及協調對話、自定義問題解答和 LUIS 專案的專案。