@azure/search-documents
Version:
Azure client library to use AI Search for node.js and browser.
198 lines (197 loc) • 11 kB
JavaScript
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var src_exports = {};
__export(src_exports, {
AzureKeyCredential: () => import_core_auth.AzureKeyCredential,
DEFAULT_BATCH_SIZE: () => import_searchIndexingBufferedSender.DEFAULT_BATCH_SIZE,
DEFAULT_FLUSH_WINDOW: () => import_searchIndexingBufferedSender.DEFAULT_FLUSH_WINDOW,
DEFAULT_RETRY_COUNT: () => import_searchIndexingBufferedSender.DEFAULT_RETRY_COUNT,
GeographyPoint: () => import_geographyPoint.default,
IndexDocumentsBatch: () => import_indexDocumentsBatch.IndexDocumentsBatch,
KnowledgeRetrievalClient: () => import_knowledgeRetrievalClient.KnowledgeRetrievalClient,
KnownAIFoundryModelCatalogName: () => import_indexes.KnownAIFoundryModelCatalogName,
KnownAnalyzerNames: () => import_serviceModels.KnownAnalyzerNames,
KnownAzureOpenAIModelName: () => import_indexes.KnownAzureOpenAIModelName,
KnownBlobIndexerDataToExtract: () => import_indexes.KnownBlobIndexerDataToExtract,
KnownBlobIndexerImageAction: () => import_indexes.KnownBlobIndexerImageAction,
KnownBlobIndexerPDFTextRotationAlgorithm: () => import_indexes.KnownBlobIndexerPDFTextRotationAlgorithm,
KnownBlobIndexerParsingMode: () => import_indexes.KnownBlobIndexerParsingMode,
KnownCharFilterNames: () => import_serviceModels.KnownCharFilterNames,
KnownChatCompletionExtraParametersBehavior: () => import_indexes.KnownChatCompletionExtraParametersBehavior,
KnownChatCompletionResponseFormatType: () => import_indexes.KnownChatCompletionResponseFormatType,
KnownContentUnderstandingSkillChunkingUnit: () => import_indexes.KnownContentUnderstandingSkillChunkingUnit,
KnownContentUnderstandingSkillExtractionOptions: () => import_indexes.KnownContentUnderstandingSkillExtractionOptions,
KnownCustomEntityLookupSkillLanguage: () => import_indexes.KnownCustomEntityLookupSkillLanguage,
KnownDocumentIntelligenceLayoutSkillChunkingUnit: () => import_indexes.KnownDocumentIntelligenceLayoutSkillChunkingUnit,
KnownDocumentIntelligenceLayoutSkillExtractionOptions: () => import_indexes.KnownDocumentIntelligenceLayoutSkillExtractionOptions,
KnownDocumentIntelligenceLayoutSkillMarkdownHeaderDepth: () => import_indexes.KnownDocumentIntelligenceLayoutSkillMarkdownHeaderDepth,
KnownDocumentIntelligenceLayoutSkillOutputFormat: () => import_indexes.KnownDocumentIntelligenceLayoutSkillOutputFormat,
KnownDocumentIntelligenceLayoutSkillOutputMode: () => import_indexes.KnownDocumentIntelligenceLayoutSkillOutputMode,
KnownEntityCategory: () => import_indexes.KnownEntityCategory,
KnownEntityRecognitionSkillLanguage: () => import_indexes.KnownEntityRecognitionSkillLanguage,
KnownImageAnalysisSkillLanguage: () => import_indexes.KnownImageAnalysisSkillLanguage,
KnownImageDetail: () => import_indexes.KnownImageDetail,
KnownIndexProjectionMode: () => import_indexes.KnownIndexProjectionMode,
KnownIndexerExecutionEnvironment: () => import_indexes.KnownIndexerExecutionEnvironment,
KnownIndexerResyncOption: () => import_indexes.KnownIndexerResyncOption,
KnownKeyPhraseExtractionSkillLanguage: () => import_indexes.KnownKeyPhraseExtractionSkillLanguage,
KnownKnowledgeBaseModelKind: () => import_indexes.KnownKnowledgeBaseModelKind,
KnownKnowledgeSourceKind: () => import_indexes.KnownKnowledgeSourceKind,
KnownLexicalAnalyzerName: () => import_indexes.KnownLexicalAnalyzerName,
KnownLexicalNormalizerName: () => import_indexes.KnownLexicalNormalizerName,
KnownMarkdownHeaderDepth: () => import_indexes.KnownMarkdownHeaderDepth,
KnownMarkdownParsingSubmode: () => import_indexes.KnownMarkdownParsingSubmode,
KnownNormalizerNames: () => import_indexes.KnownLexicalNormalizerName,
KnownOcrLineEnding: () => import_indexes.KnownOcrLineEnding,
KnownOcrSkillLanguage: () => import_indexes.KnownOcrSkillLanguage,
KnownPIIDetectionSkillMaskingMode: () => import_indexes.KnownPIIDetectionSkillMaskingMode,
KnownQueryDebugMode: () => import_documents.KnownQueryDebugMode,
KnownRankingOrder: () => import_indexes.KnownRankingOrder,
KnownRegexFlags: () => import_indexes.KnownRegexFlags,
KnownSearchAudience: () => import_searchAudience.KnownSearchAudience,
KnownSearchFieldDataType: () => import_indexes.KnownSearchFieldDataType,
KnownSearchIndexerDataSourceType: () => import_indexes.KnownSearchIndexerDataSourceType,
KnownSemanticErrorMode: () => import_documents.KnownSemanticErrorMode,
KnownSemanticErrorReason: () => import_documents.KnownSemanticErrorReason,
KnownSemanticSearchResultsType: () => import_documents.KnownSemanticSearchResultsType,
KnownSentimentSkillLanguage: () => import_indexes.KnownSentimentSkillLanguage,
KnownSplitSkillLanguage: () => import_indexes.KnownSplitSkillLanguage,
KnownTextSplitMode: () => import_indexes.KnownTextSplitMode,
KnownTextTranslationSkillLanguage: () => import_indexes.KnownTextTranslationSkillLanguage,
KnownTokenFilterNames: () => import_serviceModels.KnownTokenFilterNames,
KnownTokenizerNames: () => import_serviceModels.KnownTokenizerNames,
KnownVectorEncodingFormat: () => import_indexes.KnownVectorEncodingFormat,
KnownVectorFilterMode: () => import_documents.KnownVectorFilterMode,
KnownVectorQueryKind: () => import_documents.KnownVectorQueryKind,
KnownVectorSearchAlgorithmKind: () => import_indexes.KnownVectorSearchAlgorithmKind,
KnownVectorSearchAlgorithmMetric: () => import_indexes.KnownVectorSearchAlgorithmMetric,
KnownVectorSearchCompressionKind: () => import_indexes.KnownVectorSearchCompressionKind,
KnownVectorSearchCompressionRescoreStorageMethod: () => import_indexes.KnownVectorSearchCompressionRescoreStorageMethod,
KnownVectorSearchCompressionTarget: () => import_indexes.KnownVectorSearchCompressionTarget,
KnownVectorSearchVectorizerKind: () => import_indexes.KnownVectorSearchVectorizerKind,
KnownVisualFeature: () => import_indexes.KnownVisualFeature,
SearchClient: () => import_searchClient.SearchClient,
SearchIndexClient: () => import_searchIndexClient.SearchIndexClient,
SearchIndexerClient: () => import_searchIndexerClient.SearchIndexerClient,
SearchIndexingBufferedSender: () => import_searchIndexingBufferedSender.SearchIndexingBufferedSender,
createSynonymMapFromFile: () => import_synonymMapHelper.createSynonymMapFromFile,
odata: () => import_odata.odata
});
module.exports = __toCommonJS(src_exports);
var import_core_auth = require("@azure/core-auth");
var import_documents = require("./models/azure/search/documents/index.js");
var import_indexes = require("./models/azure/search/documents/indexes/index.js");
var import_geographyPoint = __toESM(require("./geographyPoint.js"));
var import_indexDocumentsBatch = require("./indexDocumentsBatch.js");
var import_knowledgeRetrievalClient = require("./knowledgeRetrievalClient.js");
var import_odata = require("./odata.js");
var import_searchAudience = require("./searchAudience.js");
var import_searchClient = require("./searchClient.js");
var import_searchIndexClient = require("./searchIndexClient.js");
var import_searchIndexerClient = require("./searchIndexerClient.js");
var import_searchIndexingBufferedSender = require("./searchIndexingBufferedSender.js");
var import_serviceModels = require("./serviceModels.js");
var import_synonymMapHelper = require("./synonymMapHelper.js");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
AzureKeyCredential,
DEFAULT_BATCH_SIZE,
DEFAULT_FLUSH_WINDOW,
DEFAULT_RETRY_COUNT,
GeographyPoint,
IndexDocumentsBatch,
KnowledgeRetrievalClient,
KnownAIFoundryModelCatalogName,
KnownAnalyzerNames,
KnownAzureOpenAIModelName,
KnownBlobIndexerDataToExtract,
KnownBlobIndexerImageAction,
KnownBlobIndexerPDFTextRotationAlgorithm,
KnownBlobIndexerParsingMode,
KnownCharFilterNames,
KnownChatCompletionExtraParametersBehavior,
KnownChatCompletionResponseFormatType,
KnownContentUnderstandingSkillChunkingUnit,
KnownContentUnderstandingSkillExtractionOptions,
KnownCustomEntityLookupSkillLanguage,
KnownDocumentIntelligenceLayoutSkillChunkingUnit,
KnownDocumentIntelligenceLayoutSkillExtractionOptions,
KnownDocumentIntelligenceLayoutSkillMarkdownHeaderDepth,
KnownDocumentIntelligenceLayoutSkillOutputFormat,
KnownDocumentIntelligenceLayoutSkillOutputMode,
KnownEntityCategory,
KnownEntityRecognitionSkillLanguage,
KnownImageAnalysisSkillLanguage,
KnownImageDetail,
KnownIndexProjectionMode,
KnownIndexerExecutionEnvironment,
KnownIndexerResyncOption,
KnownKeyPhraseExtractionSkillLanguage,
KnownKnowledgeBaseModelKind,
KnownKnowledgeSourceKind,
KnownLexicalAnalyzerName,
KnownLexicalNormalizerName,
KnownMarkdownHeaderDepth,
KnownMarkdownParsingSubmode,
KnownNormalizerNames,
KnownOcrLineEnding,
KnownOcrSkillLanguage,
KnownPIIDetectionSkillMaskingMode,
KnownQueryDebugMode,
KnownRankingOrder,
KnownRegexFlags,
KnownSearchAudience,
KnownSearchFieldDataType,
KnownSearchIndexerDataSourceType,
KnownSemanticErrorMode,
KnownSemanticErrorReason,
KnownSemanticSearchResultsType,
KnownSentimentSkillLanguage,
KnownSplitSkillLanguage,
KnownTextSplitMode,
KnownTextTranslationSkillLanguage,
KnownTokenFilterNames,
KnownTokenizerNames,
KnownVectorEncodingFormat,
KnownVectorFilterMode,
KnownVectorQueryKind,
KnownVectorSearchAlgorithmKind,
KnownVectorSearchAlgorithmMetric,
KnownVectorSearchCompressionKind,
KnownVectorSearchCompressionRescoreStorageMethod,
KnownVectorSearchCompressionTarget,
KnownVectorSearchVectorizerKind,
KnownVisualFeature,
SearchClient,
SearchIndexClient,
SearchIndexerClient,
SearchIndexingBufferedSender,
createSynonymMapFromFile,
odata
});
//# sourceMappingURL=index.js.map