|
6196 | 6196 | "x-nullable": false
|
6197 | 6197 | },
|
6198 | 6198 | "kind": {
|
6199 |
| - "type": "string", |
| 6199 | + "$ref": "#/definitions/VectorSearchAlgorithmKind", |
6200 | 6200 | "description": "The name of the kind of algorithm being configured for use with vector search.",
|
6201 | 6201 | "x-nullable": false
|
6202 | 6202 | }
|
|
6317 | 6317 | },
|
6318 | 6318 | "description": "The similarity metric to use for vector comparisons."
|
6319 | 6319 | },
|
| 6320 | + "VectorSearchAlgorithmKind": { |
| 6321 | + "type": "string", |
| 6322 | + "enum": [ |
| 6323 | + "hnsw", |
| 6324 | + "exhaustiveKnn" |
| 6325 | + ], |
| 6326 | + "x-ms-enum": { |
| 6327 | + "name": "VectorSearchAlgorithmKind", |
| 6328 | + "modelAsString": true, |
| 6329 | + "values": [ |
| 6330 | + { |
| 6331 | + "value": "hnsw", |
| 6332 | + "name": "Hnsw", |
| 6333 | + "description": "Hnsw (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm." |
| 6334 | + }, |
| 6335 | + { |
| 6336 | + "value": "exhaustiveKnn", |
| 6337 | + "name": "ExhaustiveKnn", |
| 6338 | + "description": "Exhaustive KNN algorithm which will perform brute-force search." |
| 6339 | + } |
| 6340 | + ] |
| 6341 | + }, |
| 6342 | + "description": "The algorithm used for indexing and querying." |
| 6343 | + }, |
6320 | 6344 | "VectorSearchVectorizer": {
|
6321 | 6345 | "type": "object",
|
6322 | 6346 | "discriminator": "kind",
|
|
6330 | 6354 | "x-nullable": false
|
6331 | 6355 | },
|
6332 | 6356 | "kind": {
|
6333 |
| - "type": "string", |
| 6357 | + "$ref": "#/definitions/VectorSearchVectorizerKind", |
6334 | 6358 | "description": "The name of the kind of vectorization method being configured for use with vector search.",
|
6335 | 6359 | "x-nullable": false
|
6336 | 6360 | }
|
|
6356 | 6380 | "description": "Contains the parameters specific to Azure Open AI embedding vectorization."
|
6357 | 6381 | }
|
6358 | 6382 | },
|
6359 |
| - "description": "Contains the parameters specific to using the Azure Open AI service for vectorization at query time." |
| 6383 | + "description": "Contains the parameters specific to using an Azure Open AI service for vectorization at query time." |
6360 | 6384 | },
|
6361 | 6385 | "AzureOpenAIParameters": {
|
6362 | 6386 | "type": "object",
|
|
6373 | 6397 | "type": "string",
|
6374 | 6398 | "description": "API key for the designated Azure Open AI resource."
|
6375 | 6399 | },
|
6376 |
| - "authResourceId": { |
6377 |
| - "type": "string", |
6378 |
| - "x-nullable": true, |
6379 |
| - "description": "This value should be the application ID created for the Azure Open AI resource when it was registered with Azure Active Directory. When specified, the query connects to the Azure Open AI resource using a managed ID (either system or user-assigned) of the search service and the access token of the resource, using this value as the resource id for creating the scope of the access token." |
6380 |
| - }, |
6381 | 6400 | "authIdentity": {
|
6382 | 6401 | "$ref": "#/definitions/SearchIndexerDataIdentity",
|
6383 | 6402 | "x-nullable": true,
|
6384 |
| - "description": "The user-assigned managed identity used for outbound connections. If an authResourceId is provided and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to \"none\", the value of this property is cleared." |
| 6403 | + "description": "The user-assigned managed identity used for outbound connections." |
6385 | 6404 | }
|
6386 | 6405 | },
|
6387 |
| - "description": "Contains the parameters specific to using the Azure Open AI service for vectorization at query time." |
| 6406 | + "description": "Contains the parameters specific to using an Azure Open AI service for vectorization at query time." |
6388 | 6407 | },
|
6389 | 6408 | "CustomVectorizer": {
|
6390 | 6409 | "type": "object",
|
|
6436 | 6455 | },
|
6437 | 6456 | "description": "Contains the parameters specific to generating vector embeddings via a custom endpoint."
|
6438 | 6457 | },
|
| 6458 | + "VectorSearchVectorizerKind": { |
| 6459 | + "type": "string", |
| 6460 | + "enum": [ |
| 6461 | + "azureOpenAI", |
| 6462 | + "customWebApi" |
| 6463 | + ], |
| 6464 | + "x-ms-enum": { |
| 6465 | + "name": "VectorSearchVectorizerKind", |
| 6466 | + "modelAsString": true, |
| 6467 | + "values": [ |
| 6468 | + { |
| 6469 | + "value": "azureOpenAI", |
| 6470 | + "name": "AzureOpenAI", |
| 6471 | + "description": "Generate embeddings using an Azure Open AI service at query time." |
| 6472 | + }, |
| 6473 | + { |
| 6474 | + "value": "customWebApi", |
| 6475 | + "name": "CustomWebApi", |
| 6476 | + "description": "Generate embeddings using a custom web endpoint at query time." |
| 6477 | + } |
| 6478 | + ] |
| 6479 | + }, |
| 6480 | + "description": "The vectorization method to be used during query time." |
| 6481 | + }, |
6439 | 6482 | "DataSourceCredentials": {
|
6440 | 6483 | "properties": {
|
6441 | 6484 | "connectionString": {
|
|
9424 | 9467 | "type": "string",
|
9425 | 9468 | "description": "API key for the designated Azure Open AI resource."
|
9426 | 9469 | },
|
9427 |
| - "authResourceId": { |
9428 |
| - "type": "string", |
9429 |
| - "x-nullable": true, |
9430 |
| - "description": "This value should be the application ID created for the Azure Open AI resource when it was registered with Azure Active Directory. When specified, the skill connects to the Azure Open AI resource using a managed ID (either system or user-assigned) of the search service and the access token of the resource, using this value as the resource id for creating the scope of the access token." |
9431 |
| - }, |
9432 | 9470 | "authIdentity": {
|
9433 | 9471 | "$ref": "#/definitions/SearchIndexerDataIdentity",
|
9434 | 9472 | "x-nullable": true,
|
9435 |
| - "description": "The user-assigned managed identity used for outbound connections. If an authResourceId is provided and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to \"none\", the value of this property is cleared." |
| 9473 | + "description": "The user-assigned managed identity used for outbound connections." |
9436 | 9474 | }
|
9437 | 9475 | },
|
9438 | 9476 | "description": "Allows you to generate a vector embedding for a given text input using the Azure Open AI service."
|
|
0 commit comments