@azure/search-documents 12.0.0-alpha.20230929.1 → 12.0.0-alpha.20231011.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -318,6 +318,12 @@ const SearchRequest = {
318
318
  name: "String"
319
319
  }
320
320
  },
321
+ semanticQuery: {
322
+ serializedName: "semanticQuery",
323
+ type: {
324
+ name: "String"
325
+ }
326
+ },
321
327
  semanticConfiguration: {
322
328
  serializedName: "semanticConfiguration",
323
329
  type: {
@@ -413,35 +419,42 @@ const SearchRequest = {
413
419
  name: "String"
414
420
  }
415
421
  },
416
- vectors: {
417
- serializedName: "vectors",
422
+ vectorQueries: {
423
+ serializedName: "vectorQueries",
418
424
  type: {
419
425
  name: "Sequence",
420
426
  element: {
421
427
  type: {
422
428
  name: "Composite",
423
- className: "Vector"
429
+ className: "VectorQuery"
424
430
  }
425
431
  }
426
432
  }
433
+ },
434
+ vectorFilterMode: {
435
+ serializedName: "vectorFilterMode",
436
+ type: {
437
+ name: "String"
438
+ }
427
439
  }
428
440
  }
429
441
  }
430
442
  };
431
- const Vector = {
443
+ const VectorQuery = {
432
444
  type: {
433
445
  name: "Composite",
434
- className: "Vector",
446
+ className: "VectorQuery",
447
+ uberParent: "VectorQuery",
448
+ polymorphicDiscriminator: {
449
+ serializedName: "kind",
450
+ clientName: "kind"
451
+ },
435
452
  modelProperties: {
436
- value: {
437
- serializedName: "value",
453
+ kind: {
454
+ serializedName: "kind",
455
+ required: true,
438
456
  type: {
439
- name: "Sequence",
440
- element: {
441
- type: {
442
- name: "Number"
443
- }
444
- }
457
+ name: "String"
445
458
  }
446
459
  },
447
460
  kNearestNeighborsCount: {
@@ -455,6 +468,12 @@ const Vector = {
455
468
  type: {
456
469
  name: "String"
457
470
  }
471
+ },
472
+ exhaustive: {
473
+ serializedName: "exhaustive",
474
+ type: {
475
+ name: "Boolean"
476
+ }
458
477
  }
459
478
  }
460
479
  }
@@ -1005,6 +1024,46 @@ const AutocompleteRequest = {
1005
1024
  }
1006
1025
  }
1007
1026
  };
1027
+ const RawVectorQuery = {
1028
+ serializedName: "vector",
1029
+ type: {
1030
+ name: "Composite",
1031
+ className: "RawVectorQuery",
1032
+ uberParent: "VectorQuery",
1033
+ polymorphicDiscriminator: VectorQuery.type.polymorphicDiscriminator,
1034
+ modelProperties: Object.assign(Object.assign({}, VectorQuery.type.modelProperties), { vector: {
1035
+ serializedName: "vector",
1036
+ type: {
1037
+ name: "Sequence",
1038
+ element: {
1039
+ type: {
1040
+ name: "Number"
1041
+ }
1042
+ }
1043
+ }
1044
+ } })
1045
+ }
1046
+ };
1047
+ const VectorizableTextQuery = {
1048
+ serializedName: "text",
1049
+ type: {
1050
+ name: "Composite",
1051
+ className: "VectorizableTextQuery",
1052
+ uberParent: "VectorQuery",
1053
+ polymorphicDiscriminator: VectorQuery.type.polymorphicDiscriminator,
1054
+ modelProperties: Object.assign(Object.assign({}, VectorQuery.type.modelProperties), { text: {
1055
+ serializedName: "text",
1056
+ type: {
1057
+ name: "String"
1058
+ }
1059
+ } })
1060
+ }
1061
+ };
1062
+ let discriminators$1 = {
1063
+ VectorQuery: VectorQuery,
1064
+ "VectorQuery.vector": RawVectorQuery,
1065
+ "VectorQuery.text": VectorizableTextQuery
1066
+ };
1008
1067
 
1009
1068
  var Mappers$1 = /*#__PURE__*/Object.freeze({
1010
1069
  __proto__: null,
@@ -1021,6 +1080,7 @@ var Mappers$1 = /*#__PURE__*/Object.freeze({
1021
1080
  IndexingResult: IndexingResult,
1022
1081
  QueryResultDocumentRerankerInput: QueryResultDocumentRerankerInput,
1023
1082
  QueryResultDocumentSemanticField: QueryResultDocumentSemanticField,
1083
+ RawVectorQuery: RawVectorQuery,
1024
1084
  SearchDocumentsResult: SearchDocumentsResult,
1025
1085
  SearchError: SearchError$1,
1026
1086
  SearchRequest: SearchRequest,
@@ -1029,7 +1089,9 @@ var Mappers$1 = /*#__PURE__*/Object.freeze({
1029
1089
  SuggestDocumentsResult: SuggestDocumentsResult,
1030
1090
  SuggestRequest: SuggestRequest,
1031
1091
  SuggestResult: SuggestResult,
1032
- Vector: Vector
1092
+ VectorQuery: VectorQuery,
1093
+ VectorizableTextQuery: VectorizableTextQuery,
1094
+ discriminators: discriminators$1
1033
1095
  });
1034
1096
 
1035
1097
  /*
@@ -1214,6 +1276,15 @@ const scoringProfile = {
1214
1276
  }
1215
1277
  }
1216
1278
  };
1279
+ const semanticQuery = {
1280
+ parameterPath: ["options", "searchOptions", "semanticQuery"],
1281
+ mapper: {
1282
+ serializedName: "semanticQuery",
1283
+ type: {
1284
+ name: "String"
1285
+ }
1286
+ }
1287
+ };
1217
1288
  const semanticConfiguration = {
1218
1289
  parameterPath: ["options", "searchOptions", "semanticConfiguration"],
1219
1290
  mapper: {
@@ -1767,6 +1838,7 @@ const searchGetOperationSpec = {
1767
1838
  queryType,
1768
1839
  scoringParameters,
1769
1840
  scoringProfile,
1841
+ semanticQuery,
1770
1842
  semanticConfiguration,
1771
1843
  semanticErrorHandling,
1772
1844
  semanticMaxWaitInMilliseconds,
@@ -3277,9 +3349,46 @@ function generatedIndexToPublicIndex(generatedIndex) {
3277
3349
  fields: convertFieldsToPublic(generatedIndex.fields),
3278
3350
  similarity: convertSimilarityToPublic(generatedIndex.similarity),
3279
3351
  semanticSettings: generatedIndex.semanticSettings,
3280
- vectorSearch: generatedIndex.vectorSearch,
3352
+ vectorSearch: generatedVectorSearchToPublicVectorSearch(generatedIndex.vectorSearch),
3281
3353
  };
3282
3354
  }
3355
+ function generatedVectorSearchVectorizerToPublicVectorizer(generatedVectorizer) {
3356
+ if (!generatedVectorizer) {
3357
+ return generatedVectorizer;
3358
+ }
3359
+ if (generatedVectorizer.kind === "azureOpenAI") {
3360
+ const { azureOpenAIParameters } = generatedVectorizer;
3361
+ const authIdentity = convertSearchIndexerDataIdentityToPublic(azureOpenAIParameters === null || azureOpenAIParameters === void 0 ? void 0 : azureOpenAIParameters.authIdentity);
3362
+ const vectorizer = Object.assign(Object.assign({}, generatedVectorizer), { azureOpenAIParameters: Object.assign(Object.assign({}, azureOpenAIParameters), { authIdentity }) });
3363
+ return vectorizer;
3364
+ }
3365
+ if (generatedVectorizer.kind === "customWebApi") {
3366
+ const { customVectorizerParameters } = generatedVectorizer;
3367
+ const authIdentity = convertSearchIndexerDataIdentityToPublic(customVectorizerParameters === null || customVectorizerParameters === void 0 ? void 0 : customVectorizerParameters.authIdentity);
3368
+ const vectorizer = Object.assign(Object.assign({}, generatedVectorizer), { customVectorizerParameters: Object.assign(Object.assign({}, customVectorizerParameters), { authIdentity }) });
3369
+ return vectorizer;
3370
+ }
3371
+ throw Error("Unsupported vectorizer");
3372
+ }
3373
+ function generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration(generatedAlgorithmConfiguration) {
3374
+ var _a;
3375
+ if (!generatedAlgorithmConfiguration) {
3376
+ return generatedAlgorithmConfiguration;
3377
+ }
3378
+ if (["hnsw", "exhaustiveKnn"].includes(generatedAlgorithmConfiguration.kind)) {
3379
+ const algorithmConfiguration = generatedAlgorithmConfiguration;
3380
+ const metric = (_a = algorithmConfiguration.parameters) === null || _a === void 0 ? void 0 : _a.metric;
3381
+ return Object.assign(Object.assign({}, algorithmConfiguration), { parameters: Object.assign(Object.assign({}, algorithmConfiguration.parameters), { metric }) });
3382
+ }
3383
+ throw Error("Unsupported algorithm configuration");
3384
+ }
3385
+ function generatedVectorSearchToPublicVectorSearch(vectorSearch) {
3386
+ var _a, _b;
3387
+ if (!vectorSearch) {
3388
+ return vectorSearch;
3389
+ }
3390
+ return Object.assign(Object.assign({}, vectorSearch), { algorithms: (_a = vectorSearch.algorithms) === null || _a === void 0 ? void 0 : _a.map(generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration), vectorizers: (_b = vectorSearch.vectorizers) === null || _b === void 0 ? void 0 : _b.map(generatedVectorSearchVectorizerToPublicVectorizer) });
3391
+ }
3283
3392
  function generatedSearchResultToPublicSearchResult(results) {
3284
3393
  const returnValues = results.map((result) => {
3285
3394
  const { _score, _highlights, rerankerScore, captions, documentDebugInfo } = result, restProps = tslib.__rest(result, ["_score", "_highlights", "rerankerScore", "captions", "documentDebugInfo"]);
@@ -3368,8 +3477,8 @@ function generatedSearchIndexerToPublicSearchIndexer(indexer) {
3368
3477
  return Object.assign(Object.assign({}, indexer), { encryptionKey: convertEncryptionKeyToPublic(indexer.encryptionKey), cache: convertSearchIndexerCacheToPublic(indexer.cache) });
3369
3478
  }
3370
3479
  function generatedSearchRequestToPublicSearchRequest(request) {
3371
- const { semanticErrorHandling, debug, vectors } = request, props = tslib.__rest(request, ["semanticErrorHandling", "debug", "vectors"]);
3372
- const publicRequest = Object.assign({ semanticErrorHandlingMode: semanticErrorHandling, debugMode: debug, vectors: vectors === null || vectors === void 0 ? void 0 : vectors.map((convertVectorToPublic)).filter((v) => v !== undefined) }, props);
3480
+ const { semanticErrorHandling, debug, vectorQueries, vectorFilterMode } = request, props = tslib.__rest(request, ["semanticErrorHandling", "debug", "vectorQueries", "vectorFilterMode"]);
3481
+ const publicRequest = Object.assign({ semanticErrorHandlingMode: semanticErrorHandling, debugMode: debug, vectorFilterMode: vectorFilterMode, vectorQueries: vectorQueries === null || vectorQueries === void 0 ? void 0 : vectorQueries.map((convertVectorQueryToPublic)).filter((v) => v !== undefined) }, props);
3373
3482
  return publicRequest;
3374
3483
  }
3375
3484
  function publicDataSourceToGeneratedDataSource(dataSource) {
@@ -3431,7 +3540,7 @@ function convertDataDeletionDetectionPolicyToPublic(dataDeletionDetectionPolicy)
3431
3540
  }
3432
3541
  return dataDeletionDetectionPolicy;
3433
3542
  }
3434
- function convertVectorToPublic(vector) {
3543
+ function convertVectorQueryToPublic(vector) {
3435
3544
  var _a;
3436
3545
  if (!vector) {
3437
3546
  return vector;
@@ -3457,7 +3566,7 @@ function getRandomIntegerInclusive(min, max) {
3457
3566
  function delay(timeInMs) {
3458
3567
  return new Promise((resolve) => setTimeout(() => resolve(), timeInMs));
3459
3568
  }
3460
- const defaultServiceVersion = "2023-07-01-Preview";
3569
+ const defaultServiceVersion = "2023-10-01-Preview";
3461
3570
  function convertKnowledgeStoreToPublic(knowledgeStore) {
3462
3571
  if (!knowledgeStore) {
3463
3572
  return knowledgeStore;
@@ -3667,8 +3776,8 @@ class SearchClient {
3667
3776
  }
3668
3777
  }
3669
3778
  async searchDocuments(searchText, options = {}, nextPageParameters = {}) {
3670
- const { searchFields, semanticFields, select, orderBy, includeTotalCount, vectors, answers, semanticErrorHandlingMode, debugMode } = options, restOptions = tslib.__rest(options, ["searchFields", "semanticFields", "select", "orderBy", "includeTotalCount", "vectors", "answers", "semanticErrorHandlingMode", "debugMode"]);
3671
- const fullOptions = Object.assign(Object.assign(Object.assign({}, restOptions), nextPageParameters), { searchFields: this.convertSearchFields(searchFields), semanticFields: this.convertSemanticFields(semanticFields), select: this.convertSelect(select) || "*", orderBy: this.convertOrderBy(orderBy), includeTotalResultCount: includeTotalCount, vectors: vectors === null || vectors === void 0 ? void 0 : vectors.map(this.convertVector.bind(this)), answers: this.convertAnswers(answers), semanticErrorHandling: semanticErrorHandlingMode, debug: debugMode });
3779
+ const { searchFields, semanticFields, select, orderBy, includeTotalCount, vectorQueries, answers, semanticErrorHandlingMode, debugMode } = options, restOptions = tslib.__rest(options, ["searchFields", "semanticFields", "select", "orderBy", "includeTotalCount", "vectorQueries", "answers", "semanticErrorHandlingMode", "debugMode"]);
3780
+ const fullOptions = Object.assign(Object.assign(Object.assign({}, restOptions), nextPageParameters), { searchFields: this.convertSearchFields(searchFields), semanticFields: this.convertSemanticFields(semanticFields), select: this.convertSelect(select) || "*", orderBy: this.convertOrderBy(orderBy), includeTotalResultCount: includeTotalCount, vectorQueries: vectorQueries === null || vectorQueries === void 0 ? void 0 : vectorQueries.map(this.convertVectorQuery.bind(this)), answers: this.convertAnswers(answers), semanticErrorHandling: semanticErrorHandlingMode, debug: debugMode });
3672
3781
  const { span, updatedOptions } = createSpan("SearchClient-searchDocuments", options);
3673
3782
  try {
3674
3783
  const result = await this.client.documents.searchPost(Object.assign(Object.assign({}, fullOptions), { searchText: searchText }), updatedOptions);
@@ -4048,7 +4157,7 @@ class SearchClient {
4048
4157
  }
4049
4158
  return select;
4050
4159
  }
4051
- convertVectorFields(fields) {
4160
+ convertVectorQueryFields(fields) {
4052
4161
  if (fields) {
4053
4162
  return fields.join(",");
4054
4163
  }
@@ -4092,11 +4201,11 @@ class SearchClient {
4092
4201
  }
4093
4202
  return output;
4094
4203
  }
4095
- convertVector(vector) {
4096
- if (!vector) {
4097
- return vector;
4204
+ convertVectorQuery(vectorQuery) {
4205
+ if (!vectorQuery) {
4206
+ return vectorQuery;
4098
4207
  }
4099
- return Object.assign(Object.assign({}, vector), { fields: this.convertVectorFields(vector === null || vector === void 0 ? void 0 : vector.fields) });
4208
+ return Object.assign(Object.assign({}, vectorQuery), { fields: this.convertVectorQueryFields(vectorQuery === null || vectorQuery === void 0 ? void 0 : vectorQuery.fields) });
4100
4209
  }
4101
4210
  }
4102
4211
 
@@ -5486,6 +5595,13 @@ const SearchIndexerSkillset = {
5486
5595
  className: "SearchIndexerKnowledgeStore"
5487
5596
  }
5488
5597
  },
5598
+ indexProjections: {
5599
+ serializedName: "indexProjections",
5600
+ type: {
5601
+ name: "Composite",
5602
+ className: "SearchIndexerIndexProjections"
5603
+ }
5604
+ },
5489
5605
  etag: {
5490
5606
  serializedName: "@odata\\.etag",
5491
5607
  type: {
@@ -5683,6 +5799,13 @@ const SearchIndexerKnowledgeStore = {
5683
5799
  name: "Composite",
5684
5800
  className: "SearchIndexerDataIdentity"
5685
5801
  }
5802
+ },
5803
+ parameters: {
5804
+ serializedName: "parameters",
5805
+ type: {
5806
+ name: "Composite",
5807
+ className: "SearchIndexerKnowledgeStoreParameters"
5808
+ }
5686
5809
  }
5687
5810
  }
5688
5811
  }
@@ -5775,6 +5898,107 @@ const SearchIndexerKnowledgeStoreProjectionSelector = {
5775
5898
  }
5776
5899
  }
5777
5900
  };
5901
+ const SearchIndexerKnowledgeStoreParameters = {
5902
+ type: {
5903
+ name: "Composite",
5904
+ className: "SearchIndexerKnowledgeStoreParameters",
5905
+ additionalProperties: { type: { name: "Object" } },
5906
+ modelProperties: {
5907
+ synthesizeGeneratedKeyName: {
5908
+ defaultValue: false,
5909
+ serializedName: "synthesizeGeneratedKeyName",
5910
+ type: {
5911
+ name: "Boolean"
5912
+ }
5913
+ }
5914
+ }
5915
+ }
5916
+ };
5917
+ const SearchIndexerIndexProjections = {
5918
+ type: {
5919
+ name: "Composite",
5920
+ className: "SearchIndexerIndexProjections",
5921
+ modelProperties: {
5922
+ selectors: {
5923
+ serializedName: "selectors",
5924
+ required: true,
5925
+ type: {
5926
+ name: "Sequence",
5927
+ element: {
5928
+ type: {
5929
+ name: "Composite",
5930
+ className: "SearchIndexerIndexProjectionSelector"
5931
+ }
5932
+ }
5933
+ }
5934
+ },
5935
+ parameters: {
5936
+ serializedName: "parameters",
5937
+ type: {
5938
+ name: "Composite",
5939
+ className: "SearchIndexerIndexProjectionsParameters"
5940
+ }
5941
+ }
5942
+ }
5943
+ }
5944
+ };
5945
+ const SearchIndexerIndexProjectionSelector = {
5946
+ type: {
5947
+ name: "Composite",
5948
+ className: "SearchIndexerIndexProjectionSelector",
5949
+ modelProperties: {
5950
+ targetIndexName: {
5951
+ serializedName: "targetIndexName",
5952
+ required: true,
5953
+ type: {
5954
+ name: "String"
5955
+ }
5956
+ },
5957
+ parentKeyFieldName: {
5958
+ serializedName: "parentKeyFieldName",
5959
+ required: true,
5960
+ type: {
5961
+ name: "String"
5962
+ }
5963
+ },
5964
+ sourceContext: {
5965
+ serializedName: "sourceContext",
5966
+ required: true,
5967
+ type: {
5968
+ name: "String"
5969
+ }
5970
+ },
5971
+ mappings: {
5972
+ serializedName: "mappings",
5973
+ required: true,
5974
+ type: {
5975
+ name: "Sequence",
5976
+ element: {
5977
+ type: {
5978
+ name: "Composite",
5979
+ className: "InputFieldMappingEntry"
5980
+ }
5981
+ }
5982
+ }
5983
+ }
5984
+ }
5985
+ }
5986
+ };
5987
+ const SearchIndexerIndexProjectionsParameters = {
5988
+ type: {
5989
+ name: "Composite",
5990
+ className: "SearchIndexerIndexProjectionsParameters",
5991
+ additionalProperties: { type: { name: "Object" } },
5992
+ modelProperties: {
5993
+ projectionMode: {
5994
+ serializedName: "projectionMode",
5995
+ type: {
5996
+ name: "String"
5997
+ }
5998
+ }
5999
+ }
6000
+ }
6001
+ };
5778
6002
  const ListSkillsetsResult = {
5779
6003
  type: {
5780
6004
  name: "Composite",
@@ -6134,8 +6358,8 @@ const SearchField = {
6134
6358
  name: "Number"
6135
6359
  }
6136
6360
  },
6137
- vectorSearchConfiguration: {
6138
- serializedName: "vectorSearchConfiguration",
6361
+ vectorSearchProfile: {
6362
+ serializedName: "vectorSearchProfile",
6139
6363
  nullable: true,
6140
6364
  type: {
6141
6365
  name: "String"
@@ -6594,8 +6818,20 @@ const VectorSearch = {
6594
6818
  name: "Composite",
6595
6819
  className: "VectorSearch",
6596
6820
  modelProperties: {
6597
- algorithmConfigurations: {
6598
- serializedName: "algorithmConfigurations",
6821
+ profiles: {
6822
+ serializedName: "profiles",
6823
+ type: {
6824
+ name: "Sequence",
6825
+ element: {
6826
+ type: {
6827
+ name: "Composite",
6828
+ className: "VectorSearchProfile"
6829
+ }
6830
+ }
6831
+ }
6832
+ },
6833
+ algorithms: {
6834
+ serializedName: "algorithms",
6599
6835
  type: {
6600
6836
  name: "Sequence",
6601
6837
  element: {
@@ -6605,6 +6841,46 @@ const VectorSearch = {
6605
6841
  }
6606
6842
  }
6607
6843
  }
6844
+ },
6845
+ vectorizers: {
6846
+ serializedName: "vectorizers",
6847
+ type: {
6848
+ name: "Sequence",
6849
+ element: {
6850
+ type: {
6851
+ name: "Composite",
6852
+ className: "VectorSearchVectorizer"
6853
+ }
6854
+ }
6855
+ }
6856
+ }
6857
+ }
6858
+ }
6859
+ };
6860
+ const VectorSearchProfile = {
6861
+ type: {
6862
+ name: "Composite",
6863
+ className: "VectorSearchProfile",
6864
+ modelProperties: {
6865
+ name: {
6866
+ serializedName: "name",
6867
+ required: true,
6868
+ type: {
6869
+ name: "String"
6870
+ }
6871
+ },
6872
+ algorithm: {
6873
+ serializedName: "algorithm",
6874
+ required: true,
6875
+ type: {
6876
+ name: "String"
6877
+ }
6878
+ },
6879
+ vectorizer: {
6880
+ serializedName: "vectorizer",
6881
+ type: {
6882
+ name: "String"
6883
+ }
6608
6884
  }
6609
6885
  }
6610
6886
  }
@@ -6636,6 +6912,33 @@ const VectorSearchAlgorithmConfiguration = {
6636
6912
  }
6637
6913
  }
6638
6914
  };
6915
+ const VectorSearchVectorizer = {
6916
+ type: {
6917
+ name: "Composite",
6918
+ className: "VectorSearchVectorizer",
6919
+ uberParent: "VectorSearchVectorizer",
6920
+ polymorphicDiscriminator: {
6921
+ serializedName: "kind",
6922
+ clientName: "kind"
6923
+ },
6924
+ modelProperties: {
6925
+ name: {
6926
+ serializedName: "name",
6927
+ required: true,
6928
+ type: {
6929
+ name: "String"
6930
+ }
6931
+ },
6932
+ kind: {
6933
+ serializedName: "kind",
6934
+ required: true,
6935
+ type: {
6936
+ name: "String"
6937
+ }
6938
+ }
6939
+ }
6940
+ }
6941
+ };
6639
6942
  const ListIndexesResult = {
6640
6943
  type: {
6641
6944
  name: "Composite",
@@ -6681,6 +6984,7 @@ const GetIndexStatisticsResult = {
6681
6984
  },
6682
6985
  vectorIndexSize: {
6683
6986
  serializedName: "vectorIndexSize",
6987
+ required: true,
6684
6988
  readOnly: true,
6685
6989
  type: {
6686
6990
  name: "Number"
@@ -7062,6 +7366,101 @@ const HnswParameters = {
7062
7366
  }
7063
7367
  }
7064
7368
  };
7369
+ const ExhaustiveKnnParameters = {
7370
+ type: {
7371
+ name: "Composite",
7372
+ className: "ExhaustiveKnnParameters",
7373
+ modelProperties: {
7374
+ metric: {
7375
+ serializedName: "metric",
7376
+ nullable: true,
7377
+ type: {
7378
+ name: "String"
7379
+ }
7380
+ }
7381
+ }
7382
+ }
7383
+ };
7384
+ const AzureOpenAIParameters = {
7385
+ type: {
7386
+ name: "Composite",
7387
+ className: "AzureOpenAIParameters",
7388
+ modelProperties: {
7389
+ resourceUri: {
7390
+ serializedName: "resourceUri",
7391
+ type: {
7392
+ name: "String"
7393
+ }
7394
+ },
7395
+ deploymentId: {
7396
+ serializedName: "deploymentId",
7397
+ type: {
7398
+ name: "String"
7399
+ }
7400
+ },
7401
+ apiKey: {
7402
+ serializedName: "apiKey",
7403
+ type: {
7404
+ name: "String"
7405
+ }
7406
+ },
7407
+ authIdentity: {
7408
+ serializedName: "authIdentity",
7409
+ type: {
7410
+ name: "Composite",
7411
+ className: "SearchIndexerDataIdentity"
7412
+ }
7413
+ }
7414
+ }
7415
+ }
7416
+ };
7417
+ const CustomVectorizerParameters = {
7418
+ type: {
7419
+ name: "Composite",
7420
+ className: "CustomVectorizerParameters",
7421
+ modelProperties: {
7422
+ uri: {
7423
+ serializedName: "uri",
7424
+ type: {
7425
+ name: "String"
7426
+ }
7427
+ },
7428
+ httpHeaders: {
7429
+ serializedName: "httpHeaders",
7430
+ type: {
7431
+ name: "Dictionary",
7432
+ value: { type: { name: "String" } }
7433
+ }
7434
+ },
7435
+ httpMethod: {
7436
+ serializedName: "httpMethod",
7437
+ type: {
7438
+ name: "String"
7439
+ }
7440
+ },
7441
+ timeout: {
7442
+ serializedName: "timeout",
7443
+ type: {
7444
+ name: "TimeSpan"
7445
+ }
7446
+ },
7447
+ authResourceId: {
7448
+ serializedName: "authResourceId",
7449
+ nullable: true,
7450
+ type: {
7451
+ name: "String"
7452
+ }
7453
+ },
7454
+ authIdentity: {
7455
+ serializedName: "authIdentity",
7456
+ type: {
7457
+ name: "Composite",
7458
+ className: "SearchIndexerDataIdentity"
7459
+ }
7460
+ }
7461
+ }
7462
+ }
7463
+ };
7065
7464
  const DistanceScoringParameters = {
7066
7465
  type: {
7067
7466
  name: "Composite",
@@ -7348,6 +7747,16 @@ const SoftDeleteColumnDeletionDetectionPolicy = {
7348
7747
  } })
7349
7748
  }
7350
7749
  };
7750
+ const NativeBlobSoftDeleteDeletionDetectionPolicy = {
7751
+ serializedName: "#Microsoft.Azure.Search.NativeBlobSoftDeleteDeletionDetectionPolicy",
7752
+ type: {
7753
+ name: "Composite",
7754
+ className: "NativeBlobSoftDeleteDeletionDetectionPolicy",
7755
+ uberParent: "DataDeletionDetectionPolicy",
7756
+ polymorphicDiscriminator: DataDeletionDetectionPolicy.type.polymorphicDiscriminator,
7757
+ modelProperties: Object.assign({}, DataDeletionDetectionPolicy.type.modelProperties)
7758
+ }
7759
+ };
7351
7760
  const ConditionalSkill = {
7352
7761
  serializedName: "#Microsoft.Skills.Util.ConditionalSkill",
7353
7762
  type: {
@@ -7739,6 +8148,18 @@ const SplitSkill = {
7739
8148
  type: {
7740
8149
  name: "Number"
7741
8150
  }
8151
+ }, pageOverlapLength: {
8152
+ serializedName: "pageOverlapLength",
8153
+ nullable: true,
8154
+ type: {
8155
+ name: "Number"
8156
+ }
8157
+ }, maximumPagesToTake: {
8158
+ serializedName: "maximumPagesToTake",
8159
+ nullable: true,
8160
+ type: {
8161
+ name: "Number"
8162
+ }
7742
8163
  } })
7743
8164
  }
7744
8165
  };
@@ -7952,6 +8373,37 @@ const AzureMachineLearningSkill = {
7952
8373
  } })
7953
8374
  }
7954
8375
  };
8376
+ const AzureOpenAIEmbeddingSkill = {
8377
+ serializedName: "#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill",
8378
+ type: {
8379
+ name: "Composite",
8380
+ className: "AzureOpenAIEmbeddingSkill",
8381
+ uberParent: "SearchIndexerSkill",
8382
+ polymorphicDiscriminator: SearchIndexerSkill.type.polymorphicDiscriminator,
8383
+ modelProperties: Object.assign(Object.assign({}, SearchIndexerSkill.type.modelProperties), { resourceUri: {
8384
+ serializedName: "resourceUri",
8385
+ type: {
8386
+ name: "String"
8387
+ }
8388
+ }, deploymentId: {
8389
+ serializedName: "deploymentId",
8390
+ type: {
8391
+ name: "String"
8392
+ }
8393
+ }, apiKey: {
8394
+ serializedName: "apiKey",
8395
+ type: {
8396
+ name: "String"
8397
+ }
8398
+ }, authIdentity: {
8399
+ serializedName: "authIdentity",
8400
+ type: {
8401
+ name: "Composite",
8402
+ className: "SearchIndexerDataIdentity"
8403
+ }
8404
+ } })
8405
+ }
8406
+ };
7955
8407
  const DefaultCognitiveServicesAccount = {
7956
8408
  serializedName: "#Microsoft.Azure.Search.DefaultCognitiveServices",
7957
8409
  type: {
@@ -9576,6 +10028,54 @@ const HnswVectorSearchAlgorithmConfiguration = {
9576
10028
  } })
9577
10029
  }
9578
10030
  };
10031
+ const ExhaustiveKnnVectorSearchAlgorithmConfiguration = {
10032
+ serializedName: "exhaustiveKnn",
10033
+ type: {
10034
+ name: "Composite",
10035
+ className: "ExhaustiveKnnVectorSearchAlgorithmConfiguration",
10036
+ uberParent: "VectorSearchAlgorithmConfiguration",
10037
+ polymorphicDiscriminator: VectorSearchAlgorithmConfiguration.type.polymorphicDiscriminator,
10038
+ modelProperties: Object.assign(Object.assign({}, VectorSearchAlgorithmConfiguration.type.modelProperties), { parameters: {
10039
+ serializedName: "exhaustiveKnnParameters",
10040
+ type: {
10041
+ name: "Composite",
10042
+ className: "ExhaustiveKnnParameters"
10043
+ }
10044
+ } })
10045
+ }
10046
+ };
10047
+ const AzureOpenAIVectorizer = {
10048
+ serializedName: "azureOpenAI",
10049
+ type: {
10050
+ name: "Composite",
10051
+ className: "AzureOpenAIVectorizer",
10052
+ uberParent: "VectorSearchVectorizer",
10053
+ polymorphicDiscriminator: VectorSearchVectorizer.type.polymorphicDiscriminator,
10054
+ modelProperties: Object.assign(Object.assign({}, VectorSearchVectorizer.type.modelProperties), { azureOpenAIParameters: {
10055
+ serializedName: "azureOpenAIParameters",
10056
+ type: {
10057
+ name: "Composite",
10058
+ className: "AzureOpenAIParameters"
10059
+ }
10060
+ } })
10061
+ }
10062
+ };
10063
+ const CustomVectorizer = {
10064
+ serializedName: "customWebApi",
10065
+ type: {
10066
+ name: "Composite",
10067
+ className: "CustomVectorizer",
10068
+ uberParent: "VectorSearchVectorizer",
10069
+ polymorphicDiscriminator: VectorSearchVectorizer.type.polymorphicDiscriminator,
10070
+ modelProperties: Object.assign(Object.assign({}, VectorSearchVectorizer.type.modelProperties), { customVectorizerParameters: {
10071
+ serializedName: "customVectorizerParameters",
10072
+ type: {
10073
+ name: "Composite",
10074
+ className: "CustomVectorizerParameters"
10075
+ }
10076
+ } })
10077
+ }
10078
+ };
9579
10079
  const SearchIndexerKnowledgeStoreObjectProjectionSelector = {
9580
10080
  type: {
9581
10081
  name: "Composite",
@@ -9604,11 +10104,13 @@ let discriminators = {
9604
10104
  LexicalNormalizer: LexicalNormalizer,
9605
10105
  Similarity: Similarity,
9606
10106
  VectorSearchAlgorithmConfiguration: VectorSearchAlgorithmConfiguration,
10107
+ VectorSearchVectorizer: VectorSearchVectorizer,
9607
10108
  "SearchIndexerDataIdentity.#Microsoft.Azure.Search.DataNoneIdentity": SearchIndexerDataNoneIdentity,
9608
10109
  "SearchIndexerDataIdentity.#Microsoft.Azure.Search.DataUserAssignedIdentity": SearchIndexerDataUserAssignedIdentity,
9609
10110
  "DataChangeDetectionPolicy.#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy": HighWaterMarkChangeDetectionPolicy,
9610
10111
  "DataChangeDetectionPolicy.#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy": SqlIntegratedChangeTrackingPolicy,
9611
10112
  "DataDeletionDetectionPolicy.#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy": SoftDeleteColumnDeletionDetectionPolicy,
10113
+ "DataDeletionDetectionPolicy.#Microsoft.Azure.Search.NativeBlobSoftDeleteDeletionDetectionPolicy": NativeBlobSoftDeleteDeletionDetectionPolicy,
9612
10114
  "SearchIndexerSkill.#Microsoft.Skills.Util.ConditionalSkill": ConditionalSkill,
9613
10115
  "SearchIndexerSkill.#Microsoft.Skills.Text.KeyPhraseExtractionSkill": KeyPhraseExtractionSkill,
9614
10116
  "SearchIndexerSkill.#Microsoft.Skills.Vision.OcrSkill": OcrSkill,
@@ -9628,6 +10130,7 @@ let discriminators = {
9628
10130
  "SearchIndexerSkill.#Microsoft.Skills.Util.DocumentExtractionSkill": DocumentExtractionSkill,
9629
10131
  "SearchIndexerSkill.#Microsoft.Skills.Custom.WebApiSkill": WebApiSkill,
9630
10132
  "SearchIndexerSkill.#Microsoft.Skills.Custom.AmlSkill": AzureMachineLearningSkill,
10133
+ "SearchIndexerSkill.#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill": AzureOpenAIEmbeddingSkill,
9631
10134
  "CognitiveServicesAccount.#Microsoft.Azure.Search.DefaultCognitiveServices": DefaultCognitiveServicesAccount,
9632
10135
  "CognitiveServicesAccount.#Microsoft.Azure.Search.CognitiveServicesByKey": CognitiveServicesAccountKey,
9633
10136
  "ScoringFunction.distance": DistanceScoringFunction,
@@ -9680,7 +10183,10 @@ let discriminators = {
9680
10183
  "LexicalNormalizer.#Microsoft.Azure.Search.CustomNormalizer": CustomNormalizer,
9681
10184
  "Similarity.#Microsoft.Azure.Search.ClassicSimilarity": ClassicSimilarity,
9682
10185
  "Similarity.#Microsoft.Azure.Search.BM25Similarity": BM25Similarity,
9683
- "VectorSearchAlgorithmConfiguration.hnsw": HnswVectorSearchAlgorithmConfiguration
10186
+ "VectorSearchAlgorithmConfiguration.hnsw": HnswVectorSearchAlgorithmConfiguration,
10187
+ "VectorSearchAlgorithmConfiguration.exhaustiveKnn": ExhaustiveKnnVectorSearchAlgorithmConfiguration,
10188
+ "VectorSearchVectorizer.azureOpenAI": AzureOpenAIVectorizer,
10189
+ "VectorSearchVectorizer.customWebApi": CustomVectorizer
9684
10190
  };
9685
10191
 
9686
10192
  var Mappers = /*#__PURE__*/Object.freeze({
@@ -9691,6 +10197,9 @@ var Mappers = /*#__PURE__*/Object.freeze({
9691
10197
  AsciiFoldingTokenFilter: AsciiFoldingTokenFilter,
9692
10198
  AzureActiveDirectoryApplicationCredentials: AzureActiveDirectoryApplicationCredentials,
9693
10199
  AzureMachineLearningSkill: AzureMachineLearningSkill,
10200
+ AzureOpenAIEmbeddingSkill: AzureOpenAIEmbeddingSkill,
10201
+ AzureOpenAIParameters: AzureOpenAIParameters,
10202
+ AzureOpenAIVectorizer: AzureOpenAIVectorizer,
9694
10203
  BM25Similarity: BM25Similarity,
9695
10204
  CharFilter: CharFilter,
9696
10205
  CjkBigramTokenFilter: CjkBigramTokenFilter,
@@ -9706,6 +10215,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
9706
10215
  CustomEntityAlias: CustomEntityAlias,
9707
10216
  CustomEntityLookupSkill: CustomEntityLookupSkill,
9708
10217
  CustomNormalizer: CustomNormalizer,
10218
+ CustomVectorizer: CustomVectorizer,
10219
+ CustomVectorizerParameters: CustomVectorizerParameters,
9709
10220
  DataChangeDetectionPolicy: DataChangeDetectionPolicy,
9710
10221
  DataDeletionDetectionPolicy: DataDeletionDetectionPolicy,
9711
10222
  DataSourceCredentials: DataSourceCredentials,
@@ -9722,6 +10233,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
9722
10233
  EntityLinkingSkill: EntityLinkingSkill,
9723
10234
  EntityRecognitionSkill: EntityRecognitionSkill,
9724
10235
  EntityRecognitionSkillV3: EntityRecognitionSkillV3,
10236
+ ExhaustiveKnnParameters: ExhaustiveKnnParameters,
10237
+ ExhaustiveKnnVectorSearchAlgorithmConfiguration: ExhaustiveKnnVectorSearchAlgorithmConfiguration,
9725
10238
  FieldMapping: FieldMapping,
9726
10239
  FieldMappingFunction: FieldMappingFunction,
9727
10240
  FreshnessScoringFunction: FreshnessScoringFunction,
@@ -9766,6 +10279,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
9766
10279
  NGramTokenFilter: NGramTokenFilter,
9767
10280
  NGramTokenFilterV2: NGramTokenFilterV2,
9768
10281
  NGramTokenizer: NGramTokenizer,
10282
+ NativeBlobSoftDeleteDeletionDetectionPolicy: NativeBlobSoftDeleteDeletionDetectionPolicy,
9769
10283
  OcrSkill: OcrSkill,
9770
10284
  OutputFieldMappingEntry: OutputFieldMappingEntry,
9771
10285
  PIIDetectionSkill: PIIDetectionSkill,
@@ -9792,10 +10306,14 @@ var Mappers = /*#__PURE__*/Object.freeze({
9792
10306
  SearchIndexerDataSource: SearchIndexerDataSource,
9793
10307
  SearchIndexerDataUserAssignedIdentity: SearchIndexerDataUserAssignedIdentity,
9794
10308
  SearchIndexerError: SearchIndexerError,
10309
+ SearchIndexerIndexProjectionSelector: SearchIndexerIndexProjectionSelector,
10310
+ SearchIndexerIndexProjections: SearchIndexerIndexProjections,
10311
+ SearchIndexerIndexProjectionsParameters: SearchIndexerIndexProjectionsParameters,
9795
10312
  SearchIndexerKnowledgeStore: SearchIndexerKnowledgeStore,
9796
10313
  SearchIndexerKnowledgeStoreBlobProjectionSelector: SearchIndexerKnowledgeStoreBlobProjectionSelector,
9797
10314
  SearchIndexerKnowledgeStoreFileProjectionSelector: SearchIndexerKnowledgeStoreFileProjectionSelector,
9798
10315
  SearchIndexerKnowledgeStoreObjectProjectionSelector: SearchIndexerKnowledgeStoreObjectProjectionSelector,
10316
+ SearchIndexerKnowledgeStoreParameters: SearchIndexerKnowledgeStoreParameters,
9799
10317
  SearchIndexerKnowledgeStoreProjection: SearchIndexerKnowledgeStoreProjection,
9800
10318
  SearchIndexerKnowledgeStoreProjectionSelector: SearchIndexerKnowledgeStoreProjectionSelector,
9801
10319
  SearchIndexerKnowledgeStoreTableProjectionSelector: SearchIndexerKnowledgeStoreTableProjectionSelector,
@@ -9838,6 +10356,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
9838
10356
  UniqueTokenFilter: UniqueTokenFilter,
9839
10357
  VectorSearch: VectorSearch,
9840
10358
  VectorSearchAlgorithmConfiguration: VectorSearchAlgorithmConfiguration,
10359
+ VectorSearchProfile: VectorSearchProfile,
10360
+ VectorSearchVectorizer: VectorSearchVectorizer,
9841
10361
  WebApiSkill: WebApiSkill,
9842
10362
  WordDelimiterTokenFilter: WordDelimiterTokenFilter,
9843
10363
  discriminators: discriminators
@@ -12554,12 +13074,12 @@ function odata(strings, ...values) {
12554
13074
  * Code generated by Microsoft (R) AutoRest Code Generator.
12555
13075
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
12556
13076
  */
12557
- /** Known values of {@link ApiVersion20230701Preview} that the service accepts. */
12558
- var KnownApiVersion20230701Preview$1;
12559
- (function (KnownApiVersion20230701Preview) {
12560
- /** Api Version '2023-07-01-Preview' */
12561
- KnownApiVersion20230701Preview["TwoThousandTwentyThree0701Preview"] = "2023-07-01-Preview";
12562
- })(KnownApiVersion20230701Preview$1 || (KnownApiVersion20230701Preview$1 = {}));
13077
+ /** Known values of {@link ApiVersion20231001Preview} that the service accepts. */
13078
+ var KnownApiVersion20231001Preview$1;
13079
+ (function (KnownApiVersion20231001Preview) {
13080
+ /** Api Version '2023-10-01-Preview' */
13081
+ KnownApiVersion20231001Preview["TwoThousandTwentyThree1001Preview"] = "2023-10-01-Preview";
13082
+ })(KnownApiVersion20231001Preview$1 || (KnownApiVersion20231001Preview$1 = {}));
12563
13083
  /** Known values of {@link SemanticErrorHandling} that the service accepts. */
12564
13084
  var KnownSemanticErrorHandling;
12565
13085
  (function (KnownSemanticErrorHandling) {
@@ -12772,6 +13292,22 @@ exports.KnownQueryCaptionType = void 0;
12772
13292
  /** Extracts captions from the matching documents that contain passages relevant to the search query. */
12773
13293
  KnownQueryCaptionType["Extractive"] = "extractive";
12774
13294
  })(exports.KnownQueryCaptionType || (exports.KnownQueryCaptionType = {}));
13295
+ /** Known values of {@link VectorQueryKind} that the service accepts. */
13296
+ var KnownVectorQueryKind;
13297
+ (function (KnownVectorQueryKind) {
13298
+ /** Vector query where a raw vector value is provided. */
13299
+ KnownVectorQueryKind["Vector"] = "vector";
13300
+ /** Vector query where a text value that needs to be vectorized is provided. */
13301
+ KnownVectorQueryKind["$DO_NOT_NORMALIZE$_text"] = "text";
13302
+ })(KnownVectorQueryKind || (KnownVectorQueryKind = {}));
13303
+ /** Known values of {@link VectorFilterMode} that the service accepts. */
13304
+ var KnownVectorFilterMode;
13305
+ (function (KnownVectorFilterMode) {
13306
+ /** The filter will be applied after the candidate set of vector results is returned. Depending on the filter selectivity, this can result in fewer results than requested by the parameter 'k'. */
13307
+ KnownVectorFilterMode["PostFilter"] = "postFilter";
13308
+ /** The filter will be applied before the search query. */
13309
+ KnownVectorFilterMode["PreFilter"] = "preFilter";
13310
+ })(KnownVectorFilterMode || (KnownVectorFilterMode = {}));
12775
13311
  /** Known values of {@link SemanticPartialResponseReason} that the service accepts. */
12776
13312
  var KnownSemanticPartialResponseReason;
12777
13313
  (function (KnownSemanticPartialResponseReason) {
@@ -12808,12 +13344,12 @@ var KnownSemanticFieldState;
12808
13344
  * Code generated by Microsoft (R) AutoRest Code Generator.
12809
13345
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
12810
13346
  */
12811
- /** Known values of {@link ApiVersion20230701Preview} that the service accepts. */
12812
- var KnownApiVersion20230701Preview;
12813
- (function (KnownApiVersion20230701Preview) {
12814
- /** Api Version '2023-07-01-Preview' */
12815
- KnownApiVersion20230701Preview["TwoThousandTwentyThree0701Preview"] = "2023-07-01-Preview";
12816
- })(KnownApiVersion20230701Preview || (KnownApiVersion20230701Preview = {}));
13347
+ /** Known values of {@link ApiVersion20231001Preview} that the service accepts. */
13348
+ var KnownApiVersion20231001Preview;
13349
+ (function (KnownApiVersion20231001Preview) {
13350
+ /** Api Version '2023-10-01-Preview' */
13351
+ KnownApiVersion20231001Preview["TwoThousandTwentyThree1001Preview"] = "2023-10-01-Preview";
13352
+ })(KnownApiVersion20231001Preview || (KnownApiVersion20231001Preview = {}));
12817
13353
  /** Known values of {@link SearchIndexerDataSourceType} that the service accepts. */
12818
13354
  exports.KnownSearchIndexerDataSourceType = void 0;
12819
13355
  (function (KnownSearchIndexerDataSourceType) {
@@ -12896,6 +13432,14 @@ exports.KnownIndexingMode = void 0;
12896
13432
  /** The indexer is indexing selective, reset documents in the datasource. The documents being indexed are defined on indexer status. */
12897
13433
  KnownIndexingMode["IndexingResetDocs"] = "indexingResetDocs";
12898
13434
  })(exports.KnownIndexingMode || (exports.KnownIndexingMode = {}));
13435
+ /** Known values of {@link IndexProjectionMode} that the service accepts. */
13436
+ var KnownIndexProjectionMode;
13437
+ (function (KnownIndexProjectionMode) {
13438
+ /** The source document will be skipped from writing into the indexer's target index. */
13439
+ KnownIndexProjectionMode["SkipIndexingParentDocuments"] = "skipIndexingParentDocuments";
13440
+ /** The source document will be written into the indexer's target index. This is the default pattern. */
13441
+ KnownIndexProjectionMode["IncludeIndexingParentDocuments"] = "includeIndexingParentDocuments";
13442
+ })(KnownIndexProjectionMode || (KnownIndexProjectionMode = {}));
12899
13443
  /** Known values of {@link SearchFieldDataType} that the service accepts. */
12900
13444
  var KnownSearchFieldDataType;
12901
13445
  (function (KnownSearchFieldDataType) {
@@ -13122,6 +13666,22 @@ exports.KnownLexicalNormalizerName = void 0;
13122
13666
  /** Normalizes token text to uppercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html */
13123
13667
  KnownLexicalNormalizerName["Uppercase"] = "uppercase";
13124
13668
  })(exports.KnownLexicalNormalizerName || (exports.KnownLexicalNormalizerName = {}));
13669
+ /** Known values of {@link VectorSearchAlgorithmKind} that the service accepts. */
13670
+ var KnownVectorSearchAlgorithmKind;
13671
+ (function (KnownVectorSearchAlgorithmKind) {
13672
+ /** Hnsw (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm. */
13673
+ KnownVectorSearchAlgorithmKind["Hnsw"] = "hnsw";
13674
+ /** Exhaustive KNN algorithm which will perform brute-force search. */
13675
+ KnownVectorSearchAlgorithmKind["ExhaustiveKnn"] = "exhaustiveKnn";
13676
+ })(KnownVectorSearchAlgorithmKind || (KnownVectorSearchAlgorithmKind = {}));
13677
+ /** Known values of {@link VectorSearchVectorizerKind} that the service accepts. */
13678
+ var KnownVectorSearchVectorizerKind;
13679
+ (function (KnownVectorSearchVectorizerKind) {
13680
+ /** Generate embeddings using an Azure Open AI service at query time. */
13681
+ KnownVectorSearchVectorizerKind["AzureOpenAI"] = "azureOpenAI";
13682
+ /** Generate embeddings using a custom web endpoint at query time. */
13683
+ KnownVectorSearchVectorizerKind["CustomWebApi"] = "customWebApi";
13684
+ })(KnownVectorSearchVectorizerKind || (KnownVectorSearchVectorizerKind = {}));
13125
13685
  /** Known values of {@link TokenFilterName} that the service accepts. */
13126
13686
  exports.KnownTokenFilterName = void 0;
13127
13687
  (function (KnownTokenFilterName) {