|
22 | 22 | "sortable": false,
|
23 | 23 | "facetable": false
|
24 | 24 | },
|
| 25 | + { |
| 26 | + "name": "descriptionEmbedding", |
| 27 | + "type": "Collection(Edm.Single)", |
| 28 | + "searchable": true, |
| 29 | + "filterable": false, |
| 30 | + "retrievable": true, |
| 31 | + "sortable": false, |
| 32 | + "facetable": false, |
| 33 | + "key": false, |
| 34 | + "indexAnalyzer": null, |
| 35 | + "searchAnalyzer": null, |
| 36 | + "analyzer": null, |
| 37 | + "synonymMaps": [], |
| 38 | + "dimensions": 1536, |
| 39 | + "vectorSearchProfile": "myHnswProfile" |
| 40 | + }, |
25 | 41 | {
|
26 | 42 | "name": "description_fr",
|
27 | 43 | "type": "Edm.String",
|
|
153 | 169 | }
|
154 | 170 | }
|
155 | 171 | ]
|
| 172 | + }, |
| 173 | + "vectorSearch": { |
| 174 | + "profiles": [ |
| 175 | + { |
| 176 | + "name": "myHnswProfile", |
| 177 | + "algorithm": "myHnsw", |
| 178 | + "vectorizer": "myOpenAi" |
| 179 | + }, |
| 180 | + { |
| 181 | + "name": "myAlgorithm", |
| 182 | + "algorithm": "myHnsw" |
| 183 | + } |
| 184 | + ], |
| 185 | + "algorithms": [ |
| 186 | + { |
| 187 | + "name": "myHnsw", |
| 188 | + "kind": "hnsw", |
| 189 | + "hnswParameters": { |
| 190 | + "m": 4, |
| 191 | + "metric": "cosine" |
| 192 | + } |
| 193 | + } |
| 194 | + ], |
| 195 | + "vectorizers": [ |
| 196 | + { |
| 197 | + "name": "myOpenAi", |
| 198 | + "kind": "azureOpenAI", |
| 199 | + "azureOpenAIParameters": { |
| 200 | + "resourceUri": "https://url.openai.azure.com", |
| 201 | + "deploymentId": "text-embedding-ada-002", |
| 202 | + "apiKey": "topsecretkey" |
| 203 | + } |
| 204 | + } |
| 205 | + ] |
156 | 206 | }
|
157 | 207 | }
|
158 | 208 | },
|
|
173 | 223 | "indexAnalyzer": null,
|
174 | 224 | "searchAnalyzer": null,
|
175 | 225 | "analyzer": null,
|
| 226 | + "normalizer": null, |
| 227 | + "dimensions": null, |
| 228 | + "vectorSearchProfile": null, |
176 | 229 | "synonymMaps": []
|
177 | 230 | },
|
178 | 231 | {
|
|
187 | 240 | "indexAnalyzer": null,
|
188 | 241 | "searchAnalyzer": null,
|
189 | 242 | "analyzer": null,
|
| 243 | + "normalizer": null, |
| 244 | + "dimensions": null, |
| 245 | + "vectorSearchProfile": null, |
190 | 246 | "synonymMaps": []
|
191 | 247 | },
|
192 | 248 | {
|
|
201 | 257 | "indexAnalyzer": null,
|
202 | 258 | "searchAnalyzer": null,
|
203 | 259 | "analyzer": null,
|
| 260 | + "normalizer": null, |
| 261 | + "dimensions": null, |
| 262 | + "vectorSearchProfile": null, |
| 263 | + "synonymMaps": [] |
| 264 | + }, |
| 265 | + { |
| 266 | + "name": "descriptionEmbedding", |
| 267 | + "type": "Collection(Edm.Single)", |
| 268 | + "searchable": true, |
| 269 | + "filterable": false, |
| 270 | + "retrievable": true, |
| 271 | + "sortable": false, |
| 272 | + "facetable": false, |
| 273 | + "key": false, |
| 274 | + "indexAnalyzer": null, |
| 275 | + "searchAnalyzer": null, |
| 276 | + "analyzer": null, |
| 277 | + "normalizer": null, |
| 278 | + "dimensions": 1536, |
| 279 | + "vectorSearchProfile": "myHnswProfile", |
204 | 280 | "synonymMaps": []
|
205 | 281 | },
|
206 | 282 | {
|
|
215 | 291 | "indexAnalyzer": null,
|
216 | 292 | "searchAnalyzer": null,
|
217 | 293 | "analyzer": "fr.lucene",
|
| 294 | + "normalizer": null, |
| 295 | + "dimensions": null, |
| 296 | + "vectorSearchProfile": null, |
218 | 297 | "synonymMaps": []
|
219 | 298 | },
|
220 | 299 | {
|
|
229 | 308 | "indexAnalyzer": null,
|
230 | 309 | "searchAnalyzer": null,
|
231 | 310 | "analyzer": null,
|
| 311 | + "normalizer": null, |
| 312 | + "dimensions": null, |
| 313 | + "vectorSearchProfile": null, |
232 | 314 | "synonymMaps": []
|
233 | 315 | },
|
234 | 316 | {
|
|
243 | 325 | "indexAnalyzer": null,
|
244 | 326 | "searchAnalyzer": null,
|
245 | 327 | "analyzer": null,
|
| 328 | + "normalizer": null, |
| 329 | + "dimensions": null, |
| 330 | + "vectorSearchProfile": null, |
246 | 331 | "synonymMaps": []
|
247 | 332 | },
|
248 | 333 | {
|
|
257 | 342 | "indexAnalyzer": null,
|
258 | 343 | "searchAnalyzer": null,
|
259 | 344 | "analyzer": "tagsAnalyzer",
|
| 345 | + "normalizer": null, |
| 346 | + "dimensions": null, |
| 347 | + "vectorSearchProfile": null, |
260 | 348 | "synonymMaps": []
|
261 | 349 | },
|
262 | 350 | {
|
|
271 | 359 | "indexAnalyzer": null,
|
272 | 360 | "searchAnalyzer": null,
|
273 | 361 | "analyzer": null,
|
| 362 | + "normalizer": null, |
| 363 | + "dimensions": null, |
| 364 | + "vectorSearchProfile": null, |
274 | 365 | "synonymMaps": []
|
275 | 366 | },
|
276 | 367 | {
|
|
285 | 376 | "indexAnalyzer": null,
|
286 | 377 | "searchAnalyzer": null,
|
287 | 378 | "analyzer": null,
|
| 379 | + "normalizer": null, |
| 380 | + "dimensions": null, |
| 381 | + "vectorSearchProfile": null, |
288 | 382 | "synonymMaps": []
|
289 | 383 | },
|
290 | 384 | {
|
|
299 | 393 | "indexAnalyzer": null,
|
300 | 394 | "searchAnalyzer": null,
|
301 | 395 | "analyzer": null,
|
| 396 | + "normalizer": null, |
| 397 | + "dimensions": null, |
| 398 | + "vectorSearchProfile": null, |
302 | 399 | "synonymMaps": []
|
303 | 400 | },
|
304 | 401 | {
|
|
313 | 410 | "indexAnalyzer": null,
|
314 | 411 | "searchAnalyzer": null,
|
315 | 412 | "analyzer": null,
|
| 413 | + "normalizer": null, |
| 414 | + "dimensions": null, |
| 415 | + "vectorSearchProfile": null, |
316 | 416 | "synonymMaps": []
|
317 | 417 | },
|
318 | 418 | {
|
|
327 | 427 | "indexAnalyzer": null,
|
328 | 428 | "searchAnalyzer": null,
|
329 | 429 | "analyzer": null,
|
| 430 | + "normalizer": null, |
| 431 | + "dimensions": null, |
| 432 | + "vectorSearchProfile": null, |
330 | 433 | "synonymMaps": []
|
331 | 434 | }
|
332 | 435 | ],
|
333 | 436 | "scoringProfiles": [
|
334 | 437 | {
|
335 | 438 | "name": "geo",
|
| 439 | + "functionAggregation": "sum", |
336 | 440 | "text": {
|
337 | 441 | "weights": {
|
338 |
| - "hotelName": 5 |
| 442 | + "hotelName": 5.0 |
339 | 443 | }
|
340 | 444 | },
|
341 | 445 | "functions": [
|
342 | 446 | {
|
343 |
| - "type": "distance", |
344 |
| - "boost": 5, |
345 | 447 | "fieldName": "location",
|
346 | 448 | "interpolation": "logarithmic",
|
| 449 | + "type": "distance", |
| 450 | + "boost": 5.0, |
347 | 451 | "distance": {
|
348 | 452 | "referencePointParameter": "currentLocation",
|
349 |
| - "boostingDistance": 10 |
| 453 | + "boostingDistance": 10.0 |
350 | 454 | }
|
351 | 455 | }
|
352 | 456 | ]
|
|
369 | 473 | "charFilters": [
|
370 | 474 | "html_strip"
|
371 | 475 | ],
|
372 |
| - "tokenizer": "standard_v2" |
| 476 | + "tokenizer": "standard_v2", |
| 477 | + "tokenFilters": [] |
373 | 478 | }
|
374 | 479 | ],
|
375 | 480 | "tokenizers": [],
|
| 481 | + "normalizers": [], |
376 | 482 | "tokenFilters": [],
|
377 | 483 | "charFilters": [],
|
378 | 484 | "corsOptions": {
|
|
396 | 502 | "k1": 1.3
|
397 | 503 | },
|
398 | 504 | "semantic": {
|
| 505 | + "defaultConfiguration": null, |
399 | 506 | "configurations": [
|
400 | 507 | {
|
401 | 508 | "name": "semanticHotels",
|
|
422 | 529 | }
|
423 | 530 | }
|
424 | 531 | ]
|
| 532 | + }, |
| 533 | + "vectorSearch": { |
| 534 | + "algorithms": [ |
| 535 | + { |
| 536 | + "name": "myHnsw", |
| 537 | + "kind": "hnsw", |
| 538 | + "hnswParameters": { |
| 539 | + "metric": "cosine", |
| 540 | + "m": 4, |
| 541 | + "efConstruction": 400, |
| 542 | + "efSearch": 500 |
| 543 | + } |
| 544 | + } |
| 545 | + ], |
| 546 | + "profiles": [ |
| 547 | + { |
| 548 | + "name": "myHnswProfile", |
| 549 | + "algorithm": "myHnsw", |
| 550 | + "vectorizer": "myOpenAi" |
| 551 | + }, |
| 552 | + { |
| 553 | + "name": "myAlgorithm", |
| 554 | + "algorithm": "myHnsw" |
| 555 | + } |
| 556 | + ], |
| 557 | + "vectorizers": [ |
| 558 | + { |
| 559 | + "name": "myOpenAi", |
| 560 | + "kind": "azureOpenAI", |
| 561 | + "azureOpenAIParameters": { |
| 562 | + "resourceUri": "https://url.openai.azure.com", |
| 563 | + "deploymentId": "text-embedding-ada-002", |
| 564 | + "apiKey": "topsecretkey", |
| 565 | + "authIdentity": null |
| 566 | + } |
| 567 | + } |
| 568 | + ] |
425 | 569 | }
|
426 | 570 | }
|
427 | 571 | }
|
|
0 commit comments