Dela via


Conversational Analysis Authoring - Get Supported Languages

Listor de språk som stöds för den angivna projekttypen.

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-parametrar

Name I Obligatorisk Typ Description
Endpoint
path True

string

Cognitive Services-slutpunkt som stöds (t.ex. https://.api.cognitiveservices.azure.com).

api-version
query True

string

Klient-API-version.

projectKind
query True

ProjectKind

Projekttypen.

maxpagesize
query

integer

int32

Det maximala antalet resurser som ska ingå i ett enda svar.

skip
query

integer

int32

En förskjutning i samlingen av den första resursen som ska returneras.

top
query

integer

int32

Det maximala antalet resurser som ska returneras från samlingen.

Begärandehuvud

Name Obligatorisk Typ Description
Ocp-Apim-Subscription-Key True

string

En prenumerationsnyckel för en språktjänstresurs.

Svar

Name Typ Description
200 OK

ConversationalAnalysisAuthoringSupportedLanguages

Listan över språk som stöds.

Other Status Codes

ErrorResponse

Felsvar.

Säkerhet

Ocp-Apim-Subscription-Key

En prenumerationsnyckel för en språktjänstresurs.

Typ: apiKey
I: header

Exempel

Successful Supported Languages

Exempelbegäran

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

Exempelsvar

{
  "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
}

Definitioner

Name Description
ConversationalAnalysisAuthoringSupportedLanguage

Representerar ett språk som stöds.

ConversationalAnalysisAuthoringSupportedLanguages

Representerar en lista över hämtade språk.

Error

Felobjektet.

ErrorCode

Felkod som kan läsas av människor.

ErrorResponse

Felsvar.

InnerErrorCode

Felkod som kan läsas av människor.

InnerErrorModel

Ett objekt som innehåller mer specifik information om felet. Enligt Riktlinjerna för Microsoft One API – https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.

ProjectKind

Representerar projekttypen.

ConversationalAnalysisAuthoringSupportedLanguage

Representerar ett språk som stöds.

Name Typ Description
languageCode

string

Språkkoden. Detta är BCP-47-representation av ett språk. Till exempel "en" för engelska, "en-gb" för engelska (Storbritannien), "es" för spanska osv.

languageName

string

Språknamnet.

ConversationalAnalysisAuthoringSupportedLanguages

Representerar en lista över hämtade språk.

Name Typ Description
nextLink

string

Länken till nästa sida.

value

ConversationalAnalysisAuthoringSupportedLanguage[]

Listan över språken.

Error

Felobjektet.

Name Typ Description
code

ErrorCode

En av en serverdefinierad uppsättning felkoder.

details

Error[]

En matris med information om specifika fel som ledde till det rapporterade felet.

innererror

InnerErrorModel

Ett objekt som innehåller mer specifik information än det aktuella objektet om felet.

message

string

En läsbar återgivning av felet.

target

string

Målet för felet.

ErrorCode

Felkod som kan läsas av människor.

Name Typ Description
AzureCognitiveSearchIndexLimitReached

string

AzureCognitiveSearchIndexNotFound

string

AzureCognitiveSearchNotFound

string

AzureCognitiveSearchThrottling

string

Conflict

string

Forbidden

string

InternalServerError

string

InvalidArgument

string

InvalidRequest

string

NotFound

string

OperationNotFound

string

ProjectNotFound

string

QuotaExceeded

string

ServiceUnavailable

string

Timeout

string

TooManyRequests

string

Unauthorized

string

Warning

string

ErrorResponse

Felsvar.

Name Typ Description
error

Error

Felobjektet.

InnerErrorCode

Felkod som kan läsas av människor.

Name Typ Description
AzureCognitiveSearchNotFound

string

AzureCognitiveSearchThrottling

string

EmptyRequest

string

ExtractionFailure

string

InvalidCountryHint

string

InvalidDocument

string

InvalidDocumentBatch

string

InvalidParameterValue

string

InvalidRequest

string

InvalidRequestBodyFormat

string

KnowledgeBaseNotFound

string

MissingInputDocuments

string

ModelVersionIncorrect

string

UnsupportedLanguageCode

string

InnerErrorModel

Ett objekt som innehåller mer specifik information om felet. Enligt Riktlinjerna för Microsoft One API – https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.

Name Typ Description
code

InnerErrorCode

En av en serverdefinierad uppsättning felkoder.

details

object

Felinformation.

innererror

InnerErrorModel

Ett objekt som innehåller mer specifik information än det aktuella objektet om felet.

message

string

Felmeddelande.

target

string

Felmål.

ProjectKind

Representerar projekttypen.

Name Typ Description
Conversation

string

Ett projekt för att skapa naturligt språk i appar, robotar och IoT-enheter.

Orchestration

string

Ett projekt för att ansluta och samordna konversations-, anpassade frågesvars- och LUIS-projekt i ett enda projekt.