Delen via


Conversational Analysis Authoring - Get Supported Languages

Een lijst met de ondersteunde talen voor het opgegeven projecttype.

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

URI-parameters

Name In Vereist Type Description
Endpoint
path True

string

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

projectKind
query True

ProjectKind

Het projecttype.

maxpagesize
query

integer

int32

Het maximum aantal resources dat in één antwoord moet worden opgenomen.

skip
query

integer

int32

Een verschuiving in de verzameling van de eerste resource die moet worden geretourneerd.

top
query

integer

int32

Het maximum aantal resources dat moet worden geretourneerd uit de verzameling.

Antwoorden

Name Type Description
200 OK

ConversationalAnalysisAuthoringSupportedLanguages

De aanvraag is voltooid.

Other Status Codes

ErrorResponse

Een onverwachte foutreactie.

Beveiliging

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

OAuth2Auth

Type: oauth2
Stroom: accessCode
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize
Token-URL: https://login.microsoftonline.com/common/oauth2/token

Bereiken

Name Description
https://cognitiveservices.azure.com/.default

Voorbeelden

Successful Get Supported Languages

Voorbeeldaanvraag

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

Voorbeeldrespons

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

Definities

Name Description
ConversationalAnalysisAuthoringSupportedLanguage

Vertegenwoordigt een ondersteunde taal.

ConversationalAnalysisAuthoringSupportedLanguages

Vertegenwoordigt een lijst met opgehaalde talen.

Error

Het foutobject.

ErrorCode

Leesbare foutcode.

ErrorResponse

Foutreactie.

InnerErrorCode

Leesbare foutcode.

InnerErrorModel

Een object met meer specifieke informatie over de fout. Volgens de richtlijnen voor Microsoft One-API- https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.

ProjectKind

ConversationalAnalysisAuthoringSupportedLanguage

Vertegenwoordigt een ondersteunde taal.

Name Type Description
languageCode

string

De taalcode. Dit is BCP-47-weergave van een taal. Bijvoorbeeld "en" voor Engels, "en-gb" voor Engels (VK), "es" voor Spaans, enzovoort.

languageName

string

De naam van de taal.

ConversationalAnalysisAuthoringSupportedLanguages

Vertegenwoordigt een lijst met opgehaalde talen.

Name Type Description
nextLink

string

De koppeling naar de volgende pagina.

value

ConversationalAnalysisAuthoringSupportedLanguage[]

De lijst met talen.

Error

Het foutobject.

Name Type Description
code

ErrorCode

Een van een door de server gedefinieerde set foutcodes.

details

Error[]

Een matrix met details over specifieke fouten die hebben geleid tot deze gemelde fout.

innererror

InnerErrorModel

Een object met meer specifieke informatie dan het huidige object over de fout.

message

string

Een leesbare weergave van de fout.

target

string

Het doel van de fout.

ErrorCode

Leesbare foutcode.

Name Type 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

Foutreactie.

Name Type Description
error

Error

Het foutobject.

InnerErrorCode

Leesbare foutcode.

Name Type 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

Een object met meer specifieke informatie over de fout. Volgens de richtlijnen voor Microsoft One-API- https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.

Name Type Description
code

InnerErrorCode

Een van een door de server gedefinieerde set foutcodes.

details

object

Foutdetails.

innererror

InnerErrorModel

Een object met meer specifieke informatie dan het huidige object over de fout.

message

string

Foutmelding.

target

string

Foutdoel.

ProjectKind

Name Type Description
Conversation

string

Een project voor het bouwen van natuurlijke taal in apps, bots en IoT-apparaten.

Orchestration

string

Een project voor het verbinden en organiseren van gesprekken, aangepaste vragen beantwoorden en LUIS-projecten samen in één project.