@azure/search-documents
Version:
Azure client library to use Cognitive Search for node.js and browser.
1,062 lines (1,061 loc) • 71.1 kB
JavaScript
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
/** Known values of {@link ApiVersion20240701} that the service accepts. */
export var KnownApiVersion20240701;
(function (KnownApiVersion20240701) {
/** Api Version '2024-07-01' */
KnownApiVersion20240701["TwoThousandTwentyFour0701"] = "2024-07-01";
})(KnownApiVersion20240701 || (KnownApiVersion20240701 = {}));
/** Known values of {@link SearchIndexerDataSourceType} that the service accepts. */
export var KnownSearchIndexerDataSourceType;
(function (KnownSearchIndexerDataSourceType) {
/** Indicates an Azure SQL datasource. */
KnownSearchIndexerDataSourceType["AzureSql"] = "azuresql";
/** Indicates a CosmosDB datasource. */
KnownSearchIndexerDataSourceType["CosmosDb"] = "cosmosdb";
/** Indicates an Azure Blob datasource. */
KnownSearchIndexerDataSourceType["AzureBlob"] = "azureblob";
/** Indicates an Azure Table datasource. */
KnownSearchIndexerDataSourceType["AzureTable"] = "azuretable";
/** Indicates a MySql datasource. */
KnownSearchIndexerDataSourceType["MySql"] = "mysql";
/** Indicates an ADLS Gen2 datasource. */
KnownSearchIndexerDataSourceType["AdlsGen2"] = "adlsgen2";
})(KnownSearchIndexerDataSourceType || (KnownSearchIndexerDataSourceType = {}));
/** Known values of {@link BlobIndexerParsingMode} that the service accepts. */
export var KnownBlobIndexerParsingMode;
(function (KnownBlobIndexerParsingMode) {
/** Set to default for normal file processing. */
KnownBlobIndexerParsingMode["Default"] = "default";
/** Set to text to improve indexing performance on plain text files in blob storage. */
KnownBlobIndexerParsingMode["Text"] = "text";
/** Set to delimitedText when blobs are plain CSV files. */
KnownBlobIndexerParsingMode["DelimitedText"] = "delimitedText";
/** Set to json to extract structured content from JSON files. */
KnownBlobIndexerParsingMode["Json"] = "json";
/** Set to jsonArray to extract individual elements of a JSON array as separate documents. */
KnownBlobIndexerParsingMode["JsonArray"] = "jsonArray";
/** Set to jsonLines to extract individual JSON entities, separated by a new line, as separate documents. */
KnownBlobIndexerParsingMode["JsonLines"] = "jsonLines";
})(KnownBlobIndexerParsingMode || (KnownBlobIndexerParsingMode = {}));
/** Known values of {@link BlobIndexerDataToExtract} that the service accepts. */
export var KnownBlobIndexerDataToExtract;
(function (KnownBlobIndexerDataToExtract) {
/** Indexes just the standard blob properties and user-specified metadata. */
KnownBlobIndexerDataToExtract["StorageMetadata"] = "storageMetadata";
/** Extracts metadata provided by the Azure blob storage subsystem and the content-type specific metadata (for example, metadata unique to just .png files are indexed). */
KnownBlobIndexerDataToExtract["AllMetadata"] = "allMetadata";
/** Extracts all metadata and textual content from each blob. */
KnownBlobIndexerDataToExtract["ContentAndMetadata"] = "contentAndMetadata";
})(KnownBlobIndexerDataToExtract || (KnownBlobIndexerDataToExtract = {}));
/** Known values of {@link BlobIndexerImageAction} that the service accepts. */
export var KnownBlobIndexerImageAction;
(function (KnownBlobIndexerImageAction) {
/** Ignores embedded images or image files in the data set. This is the default. */
KnownBlobIndexerImageAction["None"] = "none";
/** Extracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field. This action requires that "dataToExtract" is set to "contentAndMetadata". A normalized image refers to additional processing resulting in uniform image output, sized and rotated to promote consistent rendering when you include images in visual search results. This information is generated for each image when you use this option. */
KnownBlobIndexerImageAction["GenerateNormalizedImages"] = "generateNormalizedImages";
/** Extracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field, but treats PDF files differently in that each page will be rendered as an image and normalized accordingly, instead of extracting embedded images. Non-PDF file types will be treated the same as if "generateNormalizedImages" was set. */
KnownBlobIndexerImageAction["GenerateNormalizedImagePerPage"] = "generateNormalizedImagePerPage";
})(KnownBlobIndexerImageAction || (KnownBlobIndexerImageAction = {}));
/** Known values of {@link BlobIndexerPDFTextRotationAlgorithm} that the service accepts. */
export var KnownBlobIndexerPDFTextRotationAlgorithm;
(function (KnownBlobIndexerPDFTextRotationAlgorithm) {
/** Leverages normal text extraction. This is the default. */
KnownBlobIndexerPDFTextRotationAlgorithm["None"] = "none";
/** May produce better and more readable text extraction from PDF files that have rotated text within them. Note that there may be a small performance speed impact when this parameter is used. This parameter only applies to PDF files, and only to PDFs with embedded text. If the rotated text appears within an embedded image in the PDF, this parameter does not apply. */
KnownBlobIndexerPDFTextRotationAlgorithm["DetectAngles"] = "detectAngles";
})(KnownBlobIndexerPDFTextRotationAlgorithm || (KnownBlobIndexerPDFTextRotationAlgorithm = {}));
/** Known values of {@link IndexerExecutionEnvironment} that the service accepts. */
export var KnownIndexerExecutionEnvironment;
(function (KnownIndexerExecutionEnvironment) {
/** Indicates that the search service can determine where the indexer should execute. This is the default environment when nothing is specified and is the recommended value. */
KnownIndexerExecutionEnvironment["Standard"] = "standard";
/** Indicates that the indexer should run with the environment provisioned specifically for the search service. This should only be specified as the execution environment if the indexer needs to access resources securely over shared private link resources. */
KnownIndexerExecutionEnvironment["Private"] = "private";
})(KnownIndexerExecutionEnvironment || (KnownIndexerExecutionEnvironment = {}));
/** Known values of {@link IndexProjectionMode} that the service accepts. */
export var KnownIndexProjectionMode;
(function (KnownIndexProjectionMode) {
/** The source document will be skipped from writing into the indexer's target index. */
KnownIndexProjectionMode["SkipIndexingParentDocuments"] = "skipIndexingParentDocuments";
/** The source document will be written into the indexer's target index. This is the default pattern. */
KnownIndexProjectionMode["IncludeIndexingParentDocuments"] = "includeIndexingParentDocuments";
})(KnownIndexProjectionMode || (KnownIndexProjectionMode = {}));
/** Known values of {@link SearchFieldDataType} that the service accepts. */
export var KnownSearchFieldDataType;
(function (KnownSearchFieldDataType) {
/** Indicates that a field contains a string. */
KnownSearchFieldDataType["String"] = "Edm.String";
/** Indicates that a field contains a 32-bit signed integer. */
KnownSearchFieldDataType["Int32"] = "Edm.Int32";
/** Indicates that a field contains a 64-bit signed integer. */
KnownSearchFieldDataType["Int64"] = "Edm.Int64";
/** Indicates that a field contains an IEEE double-precision floating point number. */
KnownSearchFieldDataType["Double"] = "Edm.Double";
/** Indicates that a field contains a Boolean value (true or false). */
KnownSearchFieldDataType["Boolean"] = "Edm.Boolean";
/** Indicates that a field contains a date\/time value, including timezone information. */
KnownSearchFieldDataType["DateTimeOffset"] = "Edm.DateTimeOffset";
/** Indicates that a field contains a geo-location in terms of longitude and latitude. */
KnownSearchFieldDataType["GeographyPoint"] = "Edm.GeographyPoint";
/** Indicates that a field contains one or more complex objects that in turn have sub-fields of other types. */
KnownSearchFieldDataType["Complex"] = "Edm.ComplexType";
/** Indicates that a field contains a single-precision floating point number. This is only valid when used with Collection(Edm.Single). */
KnownSearchFieldDataType["Single"] = "Edm.Single";
/** Indicates that a field contains a half-precision floating point number. This is only valid when used with Collection(Edm.Half). */
KnownSearchFieldDataType["Half"] = "Edm.Half";
/** Indicates that a field contains a 16-bit signed integer. This is only valid when used with Collection(Edm.Int16). */
KnownSearchFieldDataType["Int16"] = "Edm.Int16";
/** Indicates that a field contains a 8-bit signed integer. This is only valid when used with Collection(Edm.SByte). */
KnownSearchFieldDataType["SByte"] = "Edm.SByte";
/** Indicates that a field contains a 8-bit unsigned integer. This is only valid when used with Collection(Edm.Byte). */
KnownSearchFieldDataType["Byte"] = "Edm.Byte";
})(KnownSearchFieldDataType || (KnownSearchFieldDataType = {}));
/** Known values of {@link LexicalAnalyzerName} that the service accepts. */
export var KnownLexicalAnalyzerName;
(function (KnownLexicalAnalyzerName) {
/** Microsoft analyzer for Arabic. */
KnownLexicalAnalyzerName["ArMicrosoft"] = "ar.microsoft";
/** Lucene analyzer for Arabic. */
KnownLexicalAnalyzerName["ArLucene"] = "ar.lucene";
/** Lucene analyzer for Armenian. */
KnownLexicalAnalyzerName["HyLucene"] = "hy.lucene";
/** Microsoft analyzer for Bangla. */
KnownLexicalAnalyzerName["BnMicrosoft"] = "bn.microsoft";
/** Lucene analyzer for Basque. */
KnownLexicalAnalyzerName["EuLucene"] = "eu.lucene";
/** Microsoft analyzer for Bulgarian. */
KnownLexicalAnalyzerName["BgMicrosoft"] = "bg.microsoft";
/** Lucene analyzer for Bulgarian. */
KnownLexicalAnalyzerName["BgLucene"] = "bg.lucene";
/** Microsoft analyzer for Catalan. */
KnownLexicalAnalyzerName["CaMicrosoft"] = "ca.microsoft";
/** Lucene analyzer for Catalan. */
KnownLexicalAnalyzerName["CaLucene"] = "ca.lucene";
/** Microsoft analyzer for Chinese (Simplified). */
KnownLexicalAnalyzerName["ZhHansMicrosoft"] = "zh-Hans.microsoft";
/** Lucene analyzer for Chinese (Simplified). */
KnownLexicalAnalyzerName["ZhHansLucene"] = "zh-Hans.lucene";
/** Microsoft analyzer for Chinese (Traditional). */
KnownLexicalAnalyzerName["ZhHantMicrosoft"] = "zh-Hant.microsoft";
/** Lucene analyzer for Chinese (Traditional). */
KnownLexicalAnalyzerName["ZhHantLucene"] = "zh-Hant.lucene";
/** Microsoft analyzer for Croatian. */
KnownLexicalAnalyzerName["HrMicrosoft"] = "hr.microsoft";
/** Microsoft analyzer for Czech. */
KnownLexicalAnalyzerName["CsMicrosoft"] = "cs.microsoft";
/** Lucene analyzer for Czech. */
KnownLexicalAnalyzerName["CsLucene"] = "cs.lucene";
/** Microsoft analyzer for Danish. */
KnownLexicalAnalyzerName["DaMicrosoft"] = "da.microsoft";
/** Lucene analyzer for Danish. */
KnownLexicalAnalyzerName["DaLucene"] = "da.lucene";
/** Microsoft analyzer for Dutch. */
KnownLexicalAnalyzerName["NlMicrosoft"] = "nl.microsoft";
/** Lucene analyzer for Dutch. */
KnownLexicalAnalyzerName["NlLucene"] = "nl.lucene";
/** Microsoft analyzer for English. */
KnownLexicalAnalyzerName["EnMicrosoft"] = "en.microsoft";
/** Lucene analyzer for English. */
KnownLexicalAnalyzerName["EnLucene"] = "en.lucene";
/** Microsoft analyzer for Estonian. */
KnownLexicalAnalyzerName["EtMicrosoft"] = "et.microsoft";
/** Microsoft analyzer for Finnish. */
KnownLexicalAnalyzerName["FiMicrosoft"] = "fi.microsoft";
/** Lucene analyzer for Finnish. */
KnownLexicalAnalyzerName["FiLucene"] = "fi.lucene";
/** Microsoft analyzer for French. */
KnownLexicalAnalyzerName["FrMicrosoft"] = "fr.microsoft";
/** Lucene analyzer for French. */
KnownLexicalAnalyzerName["FrLucene"] = "fr.lucene";
/** Lucene analyzer for Galician. */
KnownLexicalAnalyzerName["GlLucene"] = "gl.lucene";
/** Microsoft analyzer for German. */
KnownLexicalAnalyzerName["DeMicrosoft"] = "de.microsoft";
/** Lucene analyzer for German. */
KnownLexicalAnalyzerName["DeLucene"] = "de.lucene";
/** Microsoft analyzer for Greek. */
KnownLexicalAnalyzerName["ElMicrosoft"] = "el.microsoft";
/** Lucene analyzer for Greek. */
KnownLexicalAnalyzerName["ElLucene"] = "el.lucene";
/** Microsoft analyzer for Gujarati. */
KnownLexicalAnalyzerName["GuMicrosoft"] = "gu.microsoft";
/** Microsoft analyzer for Hebrew. */
KnownLexicalAnalyzerName["HeMicrosoft"] = "he.microsoft";
/** Microsoft analyzer for Hindi. */
KnownLexicalAnalyzerName["HiMicrosoft"] = "hi.microsoft";
/** Lucene analyzer for Hindi. */
KnownLexicalAnalyzerName["HiLucene"] = "hi.lucene";
/** Microsoft analyzer for Hungarian. */
KnownLexicalAnalyzerName["HuMicrosoft"] = "hu.microsoft";
/** Lucene analyzer for Hungarian. */
KnownLexicalAnalyzerName["HuLucene"] = "hu.lucene";
/** Microsoft analyzer for Icelandic. */
KnownLexicalAnalyzerName["IsMicrosoft"] = "is.microsoft";
/** Microsoft analyzer for Indonesian (Bahasa). */
KnownLexicalAnalyzerName["IdMicrosoft"] = "id.microsoft";
/** Lucene analyzer for Indonesian. */
KnownLexicalAnalyzerName["IdLucene"] = "id.lucene";
/** Lucene analyzer for Irish. */
KnownLexicalAnalyzerName["GaLucene"] = "ga.lucene";
/** Microsoft analyzer for Italian. */
KnownLexicalAnalyzerName["ItMicrosoft"] = "it.microsoft";
/** Lucene analyzer for Italian. */
KnownLexicalAnalyzerName["ItLucene"] = "it.lucene";
/** Microsoft analyzer for Japanese. */
KnownLexicalAnalyzerName["JaMicrosoft"] = "ja.microsoft";
/** Lucene analyzer for Japanese. */
KnownLexicalAnalyzerName["JaLucene"] = "ja.lucene";
/** Microsoft analyzer for Kannada. */
KnownLexicalAnalyzerName["KnMicrosoft"] = "kn.microsoft";
/** Microsoft analyzer for Korean. */
KnownLexicalAnalyzerName["KoMicrosoft"] = "ko.microsoft";
/** Lucene analyzer for Korean. */
KnownLexicalAnalyzerName["KoLucene"] = "ko.lucene";
/** Microsoft analyzer for Latvian. */
KnownLexicalAnalyzerName["LvMicrosoft"] = "lv.microsoft";
/** Lucene analyzer for Latvian. */
KnownLexicalAnalyzerName["LvLucene"] = "lv.lucene";
/** Microsoft analyzer for Lithuanian. */
KnownLexicalAnalyzerName["LtMicrosoft"] = "lt.microsoft";
/** Microsoft analyzer for Malayalam. */
KnownLexicalAnalyzerName["MlMicrosoft"] = "ml.microsoft";
/** Microsoft analyzer for Malay (Latin). */
KnownLexicalAnalyzerName["MsMicrosoft"] = "ms.microsoft";
/** Microsoft analyzer for Marathi. */
KnownLexicalAnalyzerName["MrMicrosoft"] = "mr.microsoft";
/** Microsoft analyzer for Norwegian (Bokmål). */
KnownLexicalAnalyzerName["NbMicrosoft"] = "nb.microsoft";
/** Lucene analyzer for Norwegian. */
KnownLexicalAnalyzerName["NoLucene"] = "no.lucene";
/** Lucene analyzer for Persian. */
KnownLexicalAnalyzerName["FaLucene"] = "fa.lucene";
/** Microsoft analyzer for Polish. */
KnownLexicalAnalyzerName["PlMicrosoft"] = "pl.microsoft";
/** Lucene analyzer for Polish. */
KnownLexicalAnalyzerName["PlLucene"] = "pl.lucene";
/** Microsoft analyzer for Portuguese (Brazil). */
KnownLexicalAnalyzerName["PtBrMicrosoft"] = "pt-BR.microsoft";
/** Lucene analyzer for Portuguese (Brazil). */
KnownLexicalAnalyzerName["PtBrLucene"] = "pt-BR.lucene";
/** Microsoft analyzer for Portuguese (Portugal). */
KnownLexicalAnalyzerName["PtPtMicrosoft"] = "pt-PT.microsoft";
/** Lucene analyzer for Portuguese (Portugal). */
KnownLexicalAnalyzerName["PtPtLucene"] = "pt-PT.lucene";
/** Microsoft analyzer for Punjabi. */
KnownLexicalAnalyzerName["PaMicrosoft"] = "pa.microsoft";
/** Microsoft analyzer for Romanian. */
KnownLexicalAnalyzerName["RoMicrosoft"] = "ro.microsoft";
/** Lucene analyzer for Romanian. */
KnownLexicalAnalyzerName["RoLucene"] = "ro.lucene";
/** Microsoft analyzer for Russian. */
KnownLexicalAnalyzerName["RuMicrosoft"] = "ru.microsoft";
/** Lucene analyzer for Russian. */
KnownLexicalAnalyzerName["RuLucene"] = "ru.lucene";
/** Microsoft analyzer for Serbian (Cyrillic). */
KnownLexicalAnalyzerName["SrCyrillicMicrosoft"] = "sr-cyrillic.microsoft";
/** Microsoft analyzer for Serbian (Latin). */
KnownLexicalAnalyzerName["SrLatinMicrosoft"] = "sr-latin.microsoft";
/** Microsoft analyzer for Slovak. */
KnownLexicalAnalyzerName["SkMicrosoft"] = "sk.microsoft";
/** Microsoft analyzer for Slovenian. */
KnownLexicalAnalyzerName["SlMicrosoft"] = "sl.microsoft";
/** Microsoft analyzer for Spanish. */
KnownLexicalAnalyzerName["EsMicrosoft"] = "es.microsoft";
/** Lucene analyzer for Spanish. */
KnownLexicalAnalyzerName["EsLucene"] = "es.lucene";
/** Microsoft analyzer for Swedish. */
KnownLexicalAnalyzerName["SvMicrosoft"] = "sv.microsoft";
/** Lucene analyzer for Swedish. */
KnownLexicalAnalyzerName["SvLucene"] = "sv.lucene";
/** Microsoft analyzer for Tamil. */
KnownLexicalAnalyzerName["TaMicrosoft"] = "ta.microsoft";
/** Microsoft analyzer for Telugu. */
KnownLexicalAnalyzerName["TeMicrosoft"] = "te.microsoft";
/** Microsoft analyzer for Thai. */
KnownLexicalAnalyzerName["ThMicrosoft"] = "th.microsoft";
/** Lucene analyzer for Thai. */
KnownLexicalAnalyzerName["ThLucene"] = "th.lucene";
/** Microsoft analyzer for Turkish. */
KnownLexicalAnalyzerName["TrMicrosoft"] = "tr.microsoft";
/** Lucene analyzer for Turkish. */
KnownLexicalAnalyzerName["TrLucene"] = "tr.lucene";
/** Microsoft analyzer for Ukrainian. */
KnownLexicalAnalyzerName["UkMicrosoft"] = "uk.microsoft";
/** Microsoft analyzer for Urdu. */
KnownLexicalAnalyzerName["UrMicrosoft"] = "ur.microsoft";
/** Microsoft analyzer for Vietnamese. */
KnownLexicalAnalyzerName["ViMicrosoft"] = "vi.microsoft";
/** Standard Lucene analyzer. */
KnownLexicalAnalyzerName["StandardLucene"] = "standard.lucene";
/** Standard ASCII Folding Lucene analyzer. See https:\//learn.microsoft.com\/rest\/api\/searchservice\/Custom-analyzers-in-Azure-Search#Analyzers */
KnownLexicalAnalyzerName["StandardAsciiFoldingLucene"] = "standardasciifolding.lucene";
/** Treats the entire content of a field as a single token. This is useful for data like zip codes, ids, and some product names. See http:\//lucene.apache.org\/core\/4_10_3\/analyzers-common\/org\/apache\/lucene\/analysis\/core\/KeywordAnalyzer.html */
KnownLexicalAnalyzerName["Keyword"] = "keyword";
/** Flexibly separates text into terms via a regular expression pattern. See http:\//lucene.apache.org\/core\/4_10_3\/analyzers-common\/org\/apache\/lucene\/analysis\/miscellaneous\/PatternAnalyzer.html */
KnownLexicalAnalyzerName["Pattern"] = "pattern";
/** Divides text at non-letters and converts them to lower case. See http:\//lucene.apache.org\/core\/4_10_3\/analyzers-common\/org\/apache\/lucene\/analysis\/core\/SimpleAnalyzer.html */
KnownLexicalAnalyzerName["Simple"] = "simple";
/** Divides text at non-letters; Applies the lowercase and stopword token filters. See http:\//lucene.apache.org\/core\/4_10_3\/analyzers-common\/org\/apache\/lucene\/analysis\/core\/StopAnalyzer.html */
KnownLexicalAnalyzerName["Stop"] = "stop";
/** An analyzer that uses the whitespace tokenizer. See http:\//lucene.apache.org\/core\/4_10_3\/analyzers-common\/org\/apache\/lucene\/analysis\/core\/WhitespaceAnalyzer.html */
KnownLexicalAnalyzerName["Whitespace"] = "whitespace";
})(KnownLexicalAnalyzerName || (KnownLexicalAnalyzerName = {}));
/** Known values of {@link VectorEncodingFormat} that the service accepts. */
export var KnownVectorEncodingFormat;
(function (KnownVectorEncodingFormat) {
/** Encoding format representing bits packed into a wider data type. */
KnownVectorEncodingFormat["PackedBit"] = "packedBit";
})(KnownVectorEncodingFormat || (KnownVectorEncodingFormat = {}));
/** Known values of {@link VectorSearchAlgorithmKind} that the service accepts. */
export var KnownVectorSearchAlgorithmKind;
(function (KnownVectorSearchAlgorithmKind) {
/** HNSW (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm. */
KnownVectorSearchAlgorithmKind["Hnsw"] = "hnsw";
/** Exhaustive KNN algorithm which will perform brute-force search. */
KnownVectorSearchAlgorithmKind["ExhaustiveKnn"] = "exhaustiveKnn";
})(KnownVectorSearchAlgorithmKind || (KnownVectorSearchAlgorithmKind = {}));
/** Known values of {@link VectorSearchVectorizerKind} that the service accepts. */
export var KnownVectorSearchVectorizerKind;
(function (KnownVectorSearchVectorizerKind) {
/** Generate embeddings using an Azure OpenAI resource at query time. */
KnownVectorSearchVectorizerKind["AzureOpenAI"] = "azureOpenAI";
/** Generate embeddings using a custom web endpoint at query time. */
KnownVectorSearchVectorizerKind["CustomWebApi"] = "customWebApi";
})(KnownVectorSearchVectorizerKind || (KnownVectorSearchVectorizerKind = {}));
/** Known values of {@link VectorSearchCompressionKind} that the service accepts. */
export var KnownVectorSearchCompressionKind;
(function (KnownVectorSearchCompressionKind) {
/** Scalar Quantization, a type of compression method. In scalar quantization, the original vectors values are compressed to a narrower type by discretizing and representing each component of a vector using a reduced set of quantized values, thereby reducing the overall data size. */
KnownVectorSearchCompressionKind["ScalarQuantization"] = "scalarQuantization";
/** Binary Quantization, a type of compression method. In binary quantization, the original vectors values are compressed to the narrower binary type by discretizing and representing each component of a vector using binary values, thereby reducing the overall data size. */
KnownVectorSearchCompressionKind["BinaryQuantization"] = "binaryQuantization";
})(KnownVectorSearchCompressionKind || (KnownVectorSearchCompressionKind = {}));
/** Known values of {@link VectorSearchAlgorithmMetric} that the service accepts. */
export var KnownVectorSearchAlgorithmMetric;
(function (KnownVectorSearchAlgorithmMetric) {
/** Measures the angle between vectors to quantify their similarity, disregarding magnitude. The smaller the angle, the closer the similarity. */
KnownVectorSearchAlgorithmMetric["Cosine"] = "cosine";
/** Computes the straight-line distance between vectors in a multi-dimensional space. The smaller the distance, the closer the similarity. */
KnownVectorSearchAlgorithmMetric["Euclidean"] = "euclidean";
/** Calculates the sum of element-wise products to gauge alignment and magnitude similarity. The larger and more positive, the closer the similarity. */
KnownVectorSearchAlgorithmMetric["DotProduct"] = "dotProduct";
/** Only applicable to bit-packed binary data types. Determines dissimilarity by counting differing positions in binary vectors. The fewer differences, the closer the similarity. */
KnownVectorSearchAlgorithmMetric["Hamming"] = "hamming";
})(KnownVectorSearchAlgorithmMetric || (KnownVectorSearchAlgorithmMetric = {}));
/** Known values of {@link VectorSearchCompressionTarget} that the service accepts. */
export var KnownVectorSearchCompressionTarget;
(function (KnownVectorSearchCompressionTarget) {
/** Int8 */
KnownVectorSearchCompressionTarget["Int8"] = "int8";
})(KnownVectorSearchCompressionTarget || (KnownVectorSearchCompressionTarget = {}));
/** Known values of {@link AzureOpenAIModelName} that the service accepts. */
export var KnownAzureOpenAIModelName;
(function (KnownAzureOpenAIModelName) {
/** TextEmbeddingAda002 */
KnownAzureOpenAIModelName["TextEmbeddingAda002"] = "text-embedding-ada-002";
/** TextEmbedding3Large */
KnownAzureOpenAIModelName["TextEmbedding3Large"] = "text-embedding-3-large";
/** TextEmbedding3Small */
KnownAzureOpenAIModelName["TextEmbedding3Small"] = "text-embedding-3-small";
})(KnownAzureOpenAIModelName || (KnownAzureOpenAIModelName = {}));
/** Known values of {@link KeyPhraseExtractionSkillLanguage} that the service accepts. */
export var KnownKeyPhraseExtractionSkillLanguage;
(function (KnownKeyPhraseExtractionSkillLanguage) {
/** Danish */
KnownKeyPhraseExtractionSkillLanguage["Da"] = "da";
/** Dutch */
KnownKeyPhraseExtractionSkillLanguage["Nl"] = "nl";
/** English */
KnownKeyPhraseExtractionSkillLanguage["En"] = "en";
/** Finnish */
KnownKeyPhraseExtractionSkillLanguage["Fi"] = "fi";
/** French */
KnownKeyPhraseExtractionSkillLanguage["Fr"] = "fr";
/** German */
KnownKeyPhraseExtractionSkillLanguage["De"] = "de";
/** Italian */
KnownKeyPhraseExtractionSkillLanguage["It"] = "it";
/** Japanese */
KnownKeyPhraseExtractionSkillLanguage["Ja"] = "ja";
/** Korean */
KnownKeyPhraseExtractionSkillLanguage["Ko"] = "ko";
/** Norwegian (Bokmaal) */
KnownKeyPhraseExtractionSkillLanguage["No"] = "no";
/** Polish */
KnownKeyPhraseExtractionSkillLanguage["Pl"] = "pl";
/** Portuguese (Portugal) */
KnownKeyPhraseExtractionSkillLanguage["PtPT"] = "pt-PT";
/** Portuguese (Brazil) */
KnownKeyPhraseExtractionSkillLanguage["PtBR"] = "pt-BR";
/** Russian */
KnownKeyPhraseExtractionSkillLanguage["Ru"] = "ru";
/** Spanish */
KnownKeyPhraseExtractionSkillLanguage["Es"] = "es";
/** Swedish */
KnownKeyPhraseExtractionSkillLanguage["Sv"] = "sv";
})(KnownKeyPhraseExtractionSkillLanguage || (KnownKeyPhraseExtractionSkillLanguage = {}));
/** Known values of {@link OcrSkillLanguage} that the service accepts. */
export var KnownOcrSkillLanguage;
(function (KnownOcrSkillLanguage) {
/** Afrikaans */
KnownOcrSkillLanguage["Af"] = "af";
/** Albanian */
KnownOcrSkillLanguage["Sq"] = "sq";
/** Angika (Devanagiri) */
KnownOcrSkillLanguage["Anp"] = "anp";
/** Arabic */
KnownOcrSkillLanguage["Ar"] = "ar";
/** Asturian */
KnownOcrSkillLanguage["Ast"] = "ast";
/** Awadhi-Hindi (Devanagiri) */
KnownOcrSkillLanguage["Awa"] = "awa";
/** Azerbaijani (Latin) */
KnownOcrSkillLanguage["Az"] = "az";
/** Bagheli */
KnownOcrSkillLanguage["Bfy"] = "bfy";
/** Basque */
KnownOcrSkillLanguage["Eu"] = "eu";
/** Belarusian (Cyrillic and Latin) */
KnownOcrSkillLanguage["Be"] = "be";
/** Belarusian (Cyrillic) */
KnownOcrSkillLanguage["BeCyrl"] = "be-cyrl";
/** Belarusian (Latin) */
KnownOcrSkillLanguage["BeLatn"] = "be-latn";
/** Bhojpuri-Hindi (Devanagiri) */
KnownOcrSkillLanguage["Bho"] = "bho";
/** Bislama */
KnownOcrSkillLanguage["Bi"] = "bi";
/** Bodo (Devanagiri) */
KnownOcrSkillLanguage["Brx"] = "brx";
/** Bosnian Latin */
KnownOcrSkillLanguage["Bs"] = "bs";
/** Brajbha */
KnownOcrSkillLanguage["Bra"] = "bra";
/** Breton */
KnownOcrSkillLanguage["Br"] = "br";
/** Bulgarian */
KnownOcrSkillLanguage["Bg"] = "bg";
/** Bundeli */
KnownOcrSkillLanguage["Bns"] = "bns";
/** Buryat (Cyrillic) */
KnownOcrSkillLanguage["Bua"] = "bua";
/** Catalan */
KnownOcrSkillLanguage["Ca"] = "ca";
/** Cebuano */
KnownOcrSkillLanguage["Ceb"] = "ceb";
/** Chamling */
KnownOcrSkillLanguage["Rab"] = "rab";
/** Chamorro */
KnownOcrSkillLanguage["Ch"] = "ch";
/** Chhattisgarhi (Devanagiri) */
KnownOcrSkillLanguage["Hne"] = "hne";
/** Chinese Simplified */
KnownOcrSkillLanguage["ZhHans"] = "zh-Hans";
/** Chinese Traditional */
KnownOcrSkillLanguage["ZhHant"] = "zh-Hant";
/** Cornish */
KnownOcrSkillLanguage["Kw"] = "kw";
/** Corsican */
KnownOcrSkillLanguage["Co"] = "co";
/** Crimean Tatar (Latin) */
KnownOcrSkillLanguage["Crh"] = "crh";
/** Croatian */
KnownOcrSkillLanguage["Hr"] = "hr";
/** Czech */
KnownOcrSkillLanguage["Cs"] = "cs";
/** Danish */
KnownOcrSkillLanguage["Da"] = "da";
/** Dari */
KnownOcrSkillLanguage["Prs"] = "prs";
/** Dhimal (Devanagiri) */
KnownOcrSkillLanguage["Dhi"] = "dhi";
/** Dogri (Devanagiri) */
KnownOcrSkillLanguage["Doi"] = "doi";
/** Dutch */
KnownOcrSkillLanguage["Nl"] = "nl";
/** English */
KnownOcrSkillLanguage["En"] = "en";
/** Erzya (Cyrillic) */
KnownOcrSkillLanguage["Myv"] = "myv";
/** Estonian */
KnownOcrSkillLanguage["Et"] = "et";
/** Faroese */
KnownOcrSkillLanguage["Fo"] = "fo";
/** Fijian */
KnownOcrSkillLanguage["Fj"] = "fj";
/** Filipino */
KnownOcrSkillLanguage["Fil"] = "fil";
/** Finnish */
KnownOcrSkillLanguage["Fi"] = "fi";
/** French */
KnownOcrSkillLanguage["Fr"] = "fr";
/** Frulian */
KnownOcrSkillLanguage["Fur"] = "fur";
/** Gagauz (Latin) */
KnownOcrSkillLanguage["Gag"] = "gag";
/** Galician */
KnownOcrSkillLanguage["Gl"] = "gl";
/** German */
KnownOcrSkillLanguage["De"] = "de";
/** Gilbertese */
KnownOcrSkillLanguage["Gil"] = "gil";
/** Gondi (Devanagiri) */
KnownOcrSkillLanguage["Gon"] = "gon";
/** Greek */
KnownOcrSkillLanguage["El"] = "el";
/** Greenlandic */
KnownOcrSkillLanguage["Kl"] = "kl";
/** Gurung (Devanagiri) */
KnownOcrSkillLanguage["Gvr"] = "gvr";
/** Haitian Creole */
KnownOcrSkillLanguage["Ht"] = "ht";
/** Halbi (Devanagiri) */
KnownOcrSkillLanguage["Hlb"] = "hlb";
/** Hani */
KnownOcrSkillLanguage["Hni"] = "hni";
/** Haryanvi */
KnownOcrSkillLanguage["Bgc"] = "bgc";
/** Hawaiian */
KnownOcrSkillLanguage["Haw"] = "haw";
/** Hindi */
KnownOcrSkillLanguage["Hi"] = "hi";
/** Hmong Daw (Latin) */
KnownOcrSkillLanguage["Mww"] = "mww";
/** Ho (Devanagiri) */
KnownOcrSkillLanguage["Hoc"] = "hoc";
/** Hungarian */
KnownOcrSkillLanguage["Hu"] = "hu";
/** Icelandic */
KnownOcrSkillLanguage["Is"] = "is";
/** Inari Sami */
KnownOcrSkillLanguage["Smn"] = "smn";
/** Indonesian */
KnownOcrSkillLanguage["Id"] = "id";
/** Interlingua */
KnownOcrSkillLanguage["Ia"] = "ia";
/** Inuktitut (Latin) */
KnownOcrSkillLanguage["Iu"] = "iu";
/** Irish */
KnownOcrSkillLanguage["Ga"] = "ga";
/** Italian */
KnownOcrSkillLanguage["It"] = "it";
/** Japanese */
KnownOcrSkillLanguage["Ja"] = "ja";
/** Jaunsari (Devanagiri) */
KnownOcrSkillLanguage["Jns"] = "Jns";
/** Javanese */
KnownOcrSkillLanguage["Jv"] = "jv";
/** Kabuverdianu */
KnownOcrSkillLanguage["Kea"] = "kea";
/** Kachin (Latin) */
KnownOcrSkillLanguage["Kac"] = "kac";
/** Kangri (Devanagiri) */
KnownOcrSkillLanguage["Xnr"] = "xnr";
/** Karachay-Balkar */
KnownOcrSkillLanguage["Krc"] = "krc";
/** Kara-Kalpak (Cyrillic) */
KnownOcrSkillLanguage["KaaCyrl"] = "kaa-cyrl";
/** Kara-Kalpak (Latin) */
KnownOcrSkillLanguage["Kaa"] = "kaa";
/** Kashubian */
KnownOcrSkillLanguage["Csb"] = "csb";
/** Kazakh (Cyrillic) */
KnownOcrSkillLanguage["KkCyrl"] = "kk-cyrl";
/** Kazakh (Latin) */
KnownOcrSkillLanguage["KkLatn"] = "kk-latn";
/** Khaling */
KnownOcrSkillLanguage["Klr"] = "klr";
/** Khasi */
KnownOcrSkillLanguage["Kha"] = "kha";
/** K'iche' */
KnownOcrSkillLanguage["Quc"] = "quc";
/** Korean */
KnownOcrSkillLanguage["Ko"] = "ko";
/** Korku */
KnownOcrSkillLanguage["Kfq"] = "kfq";
/** Koryak */
KnownOcrSkillLanguage["Kpy"] = "kpy";
/** Kosraean */
KnownOcrSkillLanguage["Kos"] = "kos";
/** Kumyk (Cyrillic) */
KnownOcrSkillLanguage["Kum"] = "kum";
/** Kurdish (Arabic) */
KnownOcrSkillLanguage["KuArab"] = "ku-arab";
/** Kurdish (Latin) */
KnownOcrSkillLanguage["KuLatn"] = "ku-latn";
/** Kurukh (Devanagiri) */
KnownOcrSkillLanguage["Kru"] = "kru";
/** Kyrgyz (Cyrillic) */
KnownOcrSkillLanguage["Ky"] = "ky";
/** Lakota */
KnownOcrSkillLanguage["Lkt"] = "lkt";
/** Latin */
KnownOcrSkillLanguage["La"] = "la";
/** Lithuanian */
KnownOcrSkillLanguage["Lt"] = "lt";
/** Lower Sorbian */
KnownOcrSkillLanguage["Dsb"] = "dsb";
/** Lule Sami */
KnownOcrSkillLanguage["Smj"] = "smj";
/** Luxembourgish */
KnownOcrSkillLanguage["Lb"] = "lb";
/** Mahasu Pahari (Devanagiri) */
KnownOcrSkillLanguage["Bfz"] = "bfz";
/** Malay (Latin) */
KnownOcrSkillLanguage["Ms"] = "ms";
/** Maltese */
KnownOcrSkillLanguage["Mt"] = "mt";
/** Malto (Devanagiri) */
KnownOcrSkillLanguage["Kmj"] = "kmj";
/** Manx */
KnownOcrSkillLanguage["Gv"] = "gv";
/** Maori */
KnownOcrSkillLanguage["Mi"] = "mi";
/** Marathi */
KnownOcrSkillLanguage["Mr"] = "mr";
/** Mongolian (Cyrillic) */
KnownOcrSkillLanguage["Mn"] = "mn";
/** Montenegrin (Cyrillic) */
KnownOcrSkillLanguage["CnrCyrl"] = "cnr-cyrl";
/** Montenegrin (Latin) */
KnownOcrSkillLanguage["CnrLatn"] = "cnr-latn";
/** Neapolitan */
KnownOcrSkillLanguage["Nap"] = "nap";
/** Nepali */
KnownOcrSkillLanguage["Ne"] = "ne";
/** Niuean */
KnownOcrSkillLanguage["Niu"] = "niu";
/** Nogay */
KnownOcrSkillLanguage["Nog"] = "nog";
/** Northern Sami (Latin) */
KnownOcrSkillLanguage["Sme"] = "sme";
/** Norwegian */
KnownOcrSkillLanguage["Nb"] = "nb";
/** Norwegian */
KnownOcrSkillLanguage["No"] = "no";
/** Occitan */
KnownOcrSkillLanguage["Oc"] = "oc";
/** Ossetic */
KnownOcrSkillLanguage["Os"] = "os";
/** Pashto */
KnownOcrSkillLanguage["Ps"] = "ps";
/** Persian */
KnownOcrSkillLanguage["Fa"] = "fa";
/** Polish */
KnownOcrSkillLanguage["Pl"] = "pl";
/** Portuguese */
KnownOcrSkillLanguage["Pt"] = "pt";
/** Punjabi (Arabic) */
KnownOcrSkillLanguage["Pa"] = "pa";
/** Ripuarian */
KnownOcrSkillLanguage["Ksh"] = "ksh";
/** Romanian */
KnownOcrSkillLanguage["Ro"] = "ro";
/** Romansh */
KnownOcrSkillLanguage["Rm"] = "rm";
/** Russian */
KnownOcrSkillLanguage["Ru"] = "ru";
/** Sadri (Devanagiri) */
KnownOcrSkillLanguage["Sck"] = "sck";
/** Samoan (Latin) */
KnownOcrSkillLanguage["Sm"] = "sm";
/** Sanskrit (Devanagiri) */
KnownOcrSkillLanguage["Sa"] = "sa";
/** Santali (Devanagiri) */
KnownOcrSkillLanguage["Sat"] = "sat";
/** Scots */
KnownOcrSkillLanguage["Sco"] = "sco";
/** Scottish Gaelic */
KnownOcrSkillLanguage["Gd"] = "gd";
/** Serbian (Latin) */
KnownOcrSkillLanguage["Sr"] = "sr";
/** Serbian (Cyrillic) */
KnownOcrSkillLanguage["SrCyrl"] = "sr-Cyrl";
/** Serbian (Latin) */
KnownOcrSkillLanguage["SrLatn"] = "sr-Latn";
/** Sherpa (Devanagiri) */
KnownOcrSkillLanguage["Xsr"] = "xsr";
/** Sirmauri (Devanagiri) */
KnownOcrSkillLanguage["Srx"] = "srx";
/** Skolt Sami */
KnownOcrSkillLanguage["Sms"] = "sms";
/** Slovak */
KnownOcrSkillLanguage["Sk"] = "sk";
/** Slovenian */
KnownOcrSkillLanguage["Sl"] = "sl";
/** Somali (Arabic) */
KnownOcrSkillLanguage["So"] = "so";
/** Southern Sami */
KnownOcrSkillLanguage["Sma"] = "sma";
/** Spanish */
KnownOcrSkillLanguage["Es"] = "es";
/** Swahili (Latin) */
KnownOcrSkillLanguage["Sw"] = "sw";
/** Swedish */
KnownOcrSkillLanguage["Sv"] = "sv";
/** Tajik (Cyrillic) */
KnownOcrSkillLanguage["Tg"] = "tg";
/** Tatar (Latin) */
KnownOcrSkillLanguage["Tt"] = "tt";
/** Tetum */
KnownOcrSkillLanguage["Tet"] = "tet";
/** Thangmi */
KnownOcrSkillLanguage["Thf"] = "thf";
/** Tongan */
KnownOcrSkillLanguage["To"] = "to";
/** Turkish */
KnownOcrSkillLanguage["Tr"] = "tr";
/** Turkmen (Latin) */
KnownOcrSkillLanguage["Tk"] = "tk";
/** Tuvan */
KnownOcrSkillLanguage["Tyv"] = "tyv";
/** Upper Sorbian */
KnownOcrSkillLanguage["Hsb"] = "hsb";
/** Urdu */
KnownOcrSkillLanguage["Ur"] = "ur";
/** Uyghur (Arabic) */
KnownOcrSkillLanguage["Ug"] = "ug";
/** Uzbek (Arabic) */
KnownOcrSkillLanguage["UzArab"] = "uz-arab";
/** Uzbek (Cyrillic) */
KnownOcrSkillLanguage["UzCyrl"] = "uz-cyrl";
/** Uzbek (Latin) */
KnownOcrSkillLanguage["Uz"] = "uz";
/** Volapük */
KnownOcrSkillLanguage["Vo"] = "vo";
/** Walser */
KnownOcrSkillLanguage["Wae"] = "wae";
/** Welsh */
KnownOcrSkillLanguage["Cy"] = "cy";
/** Western Frisian */
KnownOcrSkillLanguage["Fy"] = "fy";
/** Yucatec Maya */
KnownOcrSkillLanguage["Yua"] = "yua";
/** Zhuang */
KnownOcrSkillLanguage["Za"] = "za";
/** Zulu */
KnownOcrSkillLanguage["Zu"] = "zu";
/** Unknown (All) */
KnownOcrSkillLanguage["Unk"] = "unk";
})(KnownOcrSkillLanguage || (KnownOcrSkillLanguage = {}));
/** Known values of {@link OcrLineEnding} that the service accepts. */
export var KnownOcrLineEnding;
(function (KnownOcrLineEnding) {
/** Lines are separated by a single space character. */
KnownOcrLineEnding["Space"] = "space";
/** Lines are separated by a carriage return ('\r') character. */
KnownOcrLineEnding["CarriageReturn"] = "carriageReturn";
/** Lines are separated by a single line feed ('\n') character. */
KnownOcrLineEnding["LineFeed"] = "lineFeed";
/** Lines are separated by a carriage return and a line feed ('\r\n') character. */
KnownOcrLineEnding["CarriageReturnLineFeed"] = "carriageReturnLineFeed";
})(KnownOcrLineEnding || (KnownOcrLineEnding = {}));
/** Known values of {@link ImageAnalysisSkillLanguage} that the service accepts. */
export var KnownImageAnalysisSkillLanguage;
(function (KnownImageAnalysisSkillLanguage) {
/** Arabic */
KnownImageAnalysisSkillLanguage["Ar"] = "ar";
/** Azerbaijani */
KnownImageAnalysisSkillLanguage["Az"] = "az";
/** Bulgarian */
KnownImageAnalysisSkillLanguage["Bg"] = "bg";
/** Bosnian Latin */
KnownImageAnalysisSkillLanguage["Bs"] = "bs";
/** Catalan */
KnownImageAnalysisSkillLanguage["Ca"] = "ca";
/** Czech */
KnownImageAnalysisSkillLanguage["Cs"] = "cs";
/** Welsh */
KnownImageAnalysisSkillLanguage["Cy"] = "cy";
/** Danish */
KnownImageAnalysisSkillLanguage["Da"] = "da";
/** German */
KnownImageAnalysisSkillLanguage["De"] = "de";
/** Greek */
KnownImageAnalysisSkillLanguage["El"] = "el";
/** English */
KnownImageAnalysisSkillLanguage["En"] = "en";
/** Spanish */
KnownImageAnalysisSkillLanguage["Es"] = "es";
/** Estonian */
KnownImageAnalysisSkillLanguage["Et"] = "et";
/** Basque */
KnownImageAnalysisSkillLanguage["Eu"] = "eu";
/** Finnish */
KnownImageAnalysisSkillLanguage["Fi"] = "fi";
/** French */
KnownImageAnalysisSkillLanguage["Fr"] = "fr";
/** Irish */
KnownImageAnalysisSkillLanguage["Ga"] = "ga";
/** Galician */
KnownImageAnalysisSkillLanguage["Gl"] = "gl";
/** Hebrew */
KnownImageAnalysisSkillLanguage["He"] = "he";
/** Hindi */
KnownImageAnalysisSkillLanguage["Hi"] = "hi";
/** Croatian */
KnownImageAnalysisSkillLanguage["Hr"] = "hr";
/** Hungarian */
KnownImageAnalysisSkillLanguage["Hu"] = "hu";
/** Indonesian */
KnownImageAnalysisSkillLanguage["Id"] = "id";
/** Italian */
KnownImageAnalysisSkillLanguage["It"] = "it";
/** Japanese */
KnownImageAnalysisSkillLanguage["Ja"] = "ja";
/** Kazakh */
KnownImageAnalysisSkillLanguage["Kk"] = "kk";
/** Korean */
KnownImageAnalysisSkillLanguage["Ko"] = "ko";
/** Lithuanian */
KnownImageAnalysisSkillLanguage["Lt"] = "lt";
/** Latvian */
KnownImageAnalysisSkillLanguage["Lv"] = "lv";
/** Macedonian */
KnownImageAnalysisSkillLanguage["Mk"] = "mk";
/** Malay Malaysia */
KnownImageAnalysisSkillLanguage["Ms"] = "ms";
/** Norwegian (Bokmal) */
KnownImageAnalysisSkillLanguage["Nb"] = "nb";
/** Dutch */
KnownImageAnalysisSkillLanguage["Nl"] = "nl";
/** Polish */
KnownImageAnalysisSkillLanguage["Pl"] = "pl";
/** Dari */
KnownImageAnalysisSkillLanguage["Prs"] = "prs";
/** Portuguese-Brazil */
KnownImageAnalysisSkillLanguage["PtBR"] = "pt-BR";
/** Portuguese-Portugal */
KnownImageAnalysisSkillLanguage["Pt"] = "pt";
/** Portuguese-Portugal */
KnownImageAnalysisSkillLanguage["PtPT"] = "pt-PT";
/** Romanian */
KnownImageAnalysisSkillLanguage["Ro"] = "ro";
/** Russian */
KnownImageAnalysisSkillLanguage["Ru"] = "ru";
/** Slovak */
KnownImageAnalysisSkillLanguage["Sk"] = "sk";
/** Slovenian */
KnownImageAnalysisSkillLanguage["Sl"] = "sl";
/** Serbian - Cyrillic RS */
KnownImageAnalysisSkillLanguage["SrCyrl"] = "sr-Cyrl";
/** Serbian - Latin RS */
KnownImageAnalysisSkillLanguage["SrLatn"] = "sr-Latn";
/** Swedish */
KnownImageAnalysisSkillLanguage["Sv"] = "sv";
/** Thai */
KnownImageAnalysisSkillLanguage["Th"] = "th";
/** Turkish */
KnownImageAnalysisSkillLanguage["Tr"] = "tr";
/** Ukrainian */
KnownImageAnalysisSkillLanguage["Uk"] = "uk";
/** Vietnamese */
KnownImageAnalysisSkillLanguage["Vi"] = "vi";
/** Chinese Simplified */
KnownImageAnalysisSkillLanguage["Zh"] = "zh";
/** Chinese Simplified */
KnownImageAnalysisSkillLanguage["ZhHans"] = "zh-Hans";
/** Chinese Traditional */
KnownImageAnalysisSkillLanguage["ZhHant"] = "zh-Hant";
})(KnownImageAnalysisSkillLanguage || (KnownImageAnalysisSkillLanguage = {}));
/** Known values of {@link VisualFeature} that the service accepts. */
export var KnownVisualFeature;
(function (KnownVisualFeature) {
/** Visual features recognized as adult persons. */
KnownVisualFeature["Adult"] = "adult";
/** Visual features recognized as commercial brands. */
KnownVisualFeature["Brands"] = "brands";
/** Categories. */
KnownVisualFeature["Categories"] = "categories";
/** Description. */
KnownVisualFeature["Description"] = "description";
/** Visual features recognized as people faces. */
KnownVisualFeature["Faces"] = "faces";
/** Visual features recognized as objects. */
KnownVisualFeature["Objects"] = "objects";
/** Tags. */
KnownVisualFeature["Tags"] = "tags";
})(KnownVisualFeature || (KnownVisualFeature = {}));
/** Known values of {@link ImageDetail} that the service accepts. */
export var KnownImageDetail;
(function (KnownImageDetail) {
/** Details recognized as celebrities. */
KnownImageDetail["Celebrities"] = "celebrities";
/** Details recognized as landmarks. */
KnownImageDetail["Landmarks"] = "landmarks";
})(KnownImageDetail || (KnownImageDetail = {}));
/** Known values of {@link EntityCategory} that the service accepts. */
export var KnownEntityCategory;
(function (KnownEntityCategory) {
/** Entities describing a physical location. */
KnownEntityCategory["Location"] = "location";
/** Entities describing an organization. */
KnownEntityCategory["Organization"] = "organization";
/** Entities describing a person. */
KnownEntityCategory["Person"] = "person";
/** Entities describing a quantity. */
KnownEntityCategory["Quantity"] = "quantity";
/** Entities describing a date and time. */
KnownEntityCategory["Datetime"] = "datetime";
/** Entities describing a URL. */
KnownEntityCategory["Url"] = "url";
/** Entities describing an email address. */
KnownEntityCategory["Email"] = "email";
})(KnownEntityCategory || (KnownEntityCategory = {}));
/** Known values of {@link EntityRecognitionSkillLanguage} that the service accepts. */
export var KnownEntityRecognitionSkillLanguage;
(function (KnownEntityRecognitionSkillLanguage) {
/** Arabic */
KnownEntityRecognitionSkillLanguage["Ar"] = "ar";
/** Czech */
KnownEntityRecognitionSkillLanguage["Cs"] = "cs";
/** Chinese-Simplified */
KnownEntityRecognitionSkillLanguage["ZhHans"] = "zh-Hans";
/** Chinese-Traditional */
KnownEntityRecognitionSkillLanguage["ZhHant"] = "zh-Hant";
/** Danish */
KnownEntityRecognitionSkillLanguage["Da"] = "da";
/** Dutch */
KnownEntityRecognitionSkillLanguage["Nl"] = "nl";
/** English */
KnownEntityRecognitionSkillLanguage["En"] = "en";
/** Finnish */
KnownEntityRecognitionSkillLanguage["Fi"] = "fi";
/** French */
KnownEntityRecognitionSkillLanguage["Fr"] = "fr";
/** German */
KnownEntityRecognitionSkillLanguage["De"] = "de";
/** Greek */
KnownEntityRecognitionSkillLanguage["El"] = "el";
/** Hungarian */
KnownEntityRecognitionSkillLanguage["Hu"] = "hu";
/** Italian */
KnownEntityRecognitionSkillLanguage["It"] = "it";
/** Japanese */
KnownEntityRecognitionSkillLanguage["Ja"] = "ja";
/** Korean */
KnownEntityRecognitionSkillLanguage["Ko"] = "ko";
/** Norwegian (Bokmaal) */
KnownEntityRecognitionSkillLanguage["No"] = "no";
/** Polish */
KnownEntityRecognitionSkillLanguage["Pl"] = "pl";
/** Portuguese (Portugal) */
KnownEntityRecognitionSkillLanguage["PtPT"] = "pt-PT";
/** Portuguese (Brazil) */
KnownEntityRecognitionSkillLanguage["PtBR"] = "pt-BR";
/** Russian */
KnownEntityRecognitionSkillLanguage["Ru"] = "ru";
/** Spanish */
KnownEntityRecognitionSkillLanguage["Es"] = "es";
/** Swedish */
KnownEntityRecognitionSkillLanguage["Sv"] = "sv";
/** Turkish */
KnownEntityRecognitionSkillLanguage["Tr"] = "tr";
})(KnownEntityRecognitionSkillLanguage || (KnownEntityRecognitionSkillLanguage = {}));
/** Known values of {@link SentimentSkillLanguage} that the service accepts. */
export var KnownSentimentSkillLanguage;
(function (KnownSentimentSkillLanguage) {
/** Danish */
KnownSentimentSkillLanguage["Da"] = "da";
/** Dutch */
KnownSentimentSkillLanguage["Nl"] = "nl";
/** English */
KnownSentimentSkillLanguage["En"] = "en";
/** Finnish */
KnownSentimentSkillLanguage["Fi"] = "fi";
/** French */
KnownSentimentSkillLanguage["Fr"] = "fr";
/** German */
KnownSentimentSkillLanguage["De"] = "de";
/** Greek */
KnownSentimentSkillLanguage["El"] = "el";
/** Italian */
KnownSentimentSkillLanguage["It"] = "it";
/** Norwegian (Bokmaal) */
KnownSentimentSkillLanguage["No"] = "no";
/** Polish */
KnownSentimentSkillLanguage["Pl"] = "pl";
/** Portuguese (Portugal) */
KnownSentimentSkillLanguage["PtPT"] = "pt-PT";
/** Russian */
KnownSentimentSkillLanguage["Ru"] = "ru";
/** Spanish */
KnownSentimentSkillLanguage["Es"] = "es";
/** Swedish */
KnownSentimentSkillLanguage["Sv"] = "sv";
/** Turkish */
KnownSentimentSkillLanguage["Tr"] = "tr";
})(KnownSentimentSkillLanguage || (KnownSentimentSkillLanguage = {}));
/** Known values of {@link PIIDetectionSkillMaskingMode} that the service accepts. */
export var KnownPIIDetectionSkillMaskingMode;
(function (KnownPIIDetectionSkillMaskingMode) {
/** No masking occurs and the maskedText output will not be returned. */
KnownPIIDetectionSkillMaskingMode["None"] = "none";
/** Replaces the detected entities with the character given in the maskingCharacter parameter. The character will be repeated to the length of the detected entity so that the offsets will correctly correspond to both the input text as well as the output maskedText. */
KnownPIIDetectionSkillMaskingMode["Replace"] = "replace";
})(KnownPIIDetectionSkillMaskingMode || (KnownPIIDetectionSkillMaskingMode = {}));
/** Known values of {@link SplitSkillLanguage} that the service accepts. */
export var KnownSplitSkillLanguage;
(function (KnownSplitSkillLanguage) {
/** Amharic */
KnownSplitSkillLanguage["Am"] = "am";
/** Bosnian */
KnownSplitSkillLanguage["Bs"] = "bs";
/** Czech */
KnownSplitSkillLanguage["Cs"] = "cs";
/** Danish */
KnownSplitSkillLanguage["Da"] = "da";
/** German */
KnownSplitSkillLanguage["De"] = "de";
/** English */
KnownSplitSkillLanguage["En"] = "en";
/** Spanish */
KnownSplitSkillLanguage["Es"] = "es";
/** Estonian */
KnownSplitSkillLanguage["Et"] = "et";
/** Finnish */
KnownSplitSkillLanguage["Fi"] = "fi";
/** French */
KnownSplitSkillLanguage["Fr"] = "fr";
/** Hebrew */
KnownSplitSkillLanguage["He"] = "he";
/** Hindi */
KnownSplitSkillLanguage["Hi"] = "hi";
/** Croatian */
KnownSplitSkillLanguage["Hr"] = "hr";
/** Hungarian */
KnownSplitSkillLanguage["Hu"] = "hu";
/** Indonesian */
KnownSplitSkillLanguage["Id"] = "id";
/** Icelandic */
KnownSplitSkillLanguage["Is"] = "is";
/** Italian */
KnownSplitSkillLanguage["It"] = "it";
/** Japanese */
KnownSplitSkillLanguage["Ja"] = "ja";
/** Korean */
KnownSplitSkillLanguage["Ko"] = "ko";
/** Latvian */
KnownSplitSkillLanguage["Lv"] = "lv";
/** Norwegian */
KnownSplitSkillLanguage["Nb"] = "nb";
/** Dutch */
KnownSplitSkillLanguage["Nl"] = "nl";
/** Polish */
KnownSplitSkillLanguage["Pl"] = "pl";
/** Portuguese (Portugal) */
KnownSplitSkillLanguage["Pt"] = "pt";
/** Portuguese (Brazil) */
KnownSplitSkillLanguage["PtBr"] = "pt-br";
/** Russian */
KnownSplitSkillLanguage["Ru"] = "ru";
/** Slovak */
KnownSplitSkillLanguage["Sk"] = "sk";
/** Slovenian */