@google-cloud/discoveryengine 1.4.1 → 1.5.0
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/CHANGELOG.md +7 -0
- package/README.md +2 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +35 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +20 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +312 -21
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +115 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +153 -23
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +5 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
- package/build/protos/protos.d.ts +2743 -221
- package/build/protos/protos.js +10286 -3762
- package/build/protos/protos.json +595 -5
- package/build/src/v1/completion_service_client.js +10 -7
- package/build/src/v1/conversational_search_service_client.js +10 -7
- package/build/src/v1/data_store_service_client.js +10 -7
- package/build/src/v1/document_service_client.js +10 -7
- package/build/src/v1/engine_service_client.js +10 -7
- package/build/src/v1/schema_service_client.js +10 -7
- package/build/src/v1/search_service_client.js +10 -7
- package/build/src/v1/site_search_engine_service_client.js +10 -7
- package/build/src/v1/user_event_service_client.js +10 -7
- package/build/src/v1alpha/acl_config_service_client.js +10 -7
- package/build/src/v1alpha/chunk_service_client.js +10 -7
- package/build/src/v1alpha/completion_service_client.js +13 -7
- package/build/src/v1alpha/conversational_search_service_client.js +10 -7
- package/build/src/v1alpha/data_store_service_client.js +13 -7
- package/build/src/v1alpha/document_service_client.d.ts +80 -21
- package/build/src/v1alpha/document_service_client.js +35 -7
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1alpha/engine_service_client.js +13 -7
- package/build/src/v1alpha/estimate_billing_service_client.js +13 -7
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/rank_service_client.d.ts +1254 -0
- package/build/src/v1alpha/rank_service_client.js +1796 -0
- package/build/src/v1alpha/rank_service_client_config.json +30 -0
- package/build/src/v1alpha/recommendation_service_client.js +10 -7
- package/build/src/v1alpha/schema_service_client.js +13 -7
- package/build/src/v1alpha/search_service_client.d.ts +30 -15
- package/build/src/v1alpha/search_service_client.js +30 -17
- package/build/src/v1alpha/search_tuning_service_client.js +13 -7
- package/build/src/v1alpha/serving_config_service_client.d.ts +2 -1
- package/build/src/v1alpha/serving_config_service_client.js +12 -8
- package/build/src/v1alpha/site_search_engine_service_client.js +13 -7
- package/build/src/v1alpha/user_event_service_client.js +13 -7
- package/build/src/v1beta/completion_service_client.js +10 -7
- package/build/src/v1beta/conversational_search_service_client.js +10 -7
- package/build/src/v1beta/data_store_service_client.js +10 -7
- package/build/src/v1beta/document_service_client.js +10 -7
- package/build/src/v1beta/engine_service_client.js +10 -7
- package/build/src/v1beta/recommendation_service_client.js +10 -7
- package/build/src/v1beta/schema_service_client.js +10 -7
- package/build/src/v1beta/search_service_client.js +10 -7
- package/build/src/v1beta/search_tuning_service_client.js +10 -7
- package/build/src/v1beta/serving_config_service_client.js +10 -7
- package/build/src/v1beta/site_search_engine_service_client.js +10 -7
- package/build/src/v1beta/user_event_service_client.js +10 -7
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
@@ -4538,8 +4538,8 @@
|
|
4538
4538
|
"objc_class_prefix": "DISCOVERYENGINE",
|
4539
4539
|
"php_namespace": "Google\\Cloud\\DiscoveryEngine\\V1alpha",
|
4540
4540
|
"ruby_package": "Google::Cloud::DiscoveryEngine::V1alpha",
|
4541
|
-
"(google.api.resource_definition).type": "
|
4542
|
-
"(google.api.resource_definition).pattern": "projects/{project}/locations/{location}"
|
4541
|
+
"(google.api.resource_definition).type": "healthcare.googleapis.com/FhirStore",
|
4542
|
+
"(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}"
|
4543
4543
|
},
|
4544
4544
|
"nested": {
|
4545
4545
|
"AclConfig": {
|
@@ -4565,7 +4565,8 @@
|
|
4565
4565
|
"values": {
|
4566
4566
|
"INDUSTRY_VERTICAL_UNSPECIFIED": 0,
|
4567
4567
|
"GENERIC": 1,
|
4568
|
-
"MEDIA": 2
|
4568
|
+
"MEDIA": 2,
|
4569
|
+
"HEALTHCARE_FHIR": 7
|
4569
4570
|
}
|
4570
4571
|
},
|
4571
4572
|
"SolutionType": {
|
@@ -4573,7 +4574,8 @@
|
|
4573
4574
|
"SOLUTION_TYPE_UNSPECIFIED": 0,
|
4574
4575
|
"SOLUTION_TYPE_RECOMMENDATION": 1,
|
4575
4576
|
"SOLUTION_TYPE_SEARCH": 2,
|
4576
|
-
"SOLUTION_TYPE_CHAT": 3
|
4577
|
+
"SOLUTION_TYPE_CHAT": 3,
|
4578
|
+
"SOLUTION_TYPE_GENERATIVE_CHAT": 4
|
4577
4579
|
}
|
4578
4580
|
},
|
4579
4581
|
"SearchTier": {
|
@@ -4832,6 +4834,17 @@
|
|
4832
4834
|
"options": {
|
4833
4835
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
4834
4836
|
}
|
4837
|
+
},
|
4838
|
+
"pageSpan": {
|
4839
|
+
"type": "PageSpan",
|
4840
|
+
"id": 6
|
4841
|
+
},
|
4842
|
+
"chunkMetadata": {
|
4843
|
+
"type": "ChunkMetadata",
|
4844
|
+
"id": 7,
|
4845
|
+
"options": {
|
4846
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
4847
|
+
}
|
4835
4848
|
}
|
4836
4849
|
},
|
4837
4850
|
"nested": {
|
@@ -4846,6 +4859,32 @@
|
|
4846
4859
|
"id": 2
|
4847
4860
|
}
|
4848
4861
|
}
|
4862
|
+
},
|
4863
|
+
"PageSpan": {
|
4864
|
+
"fields": {
|
4865
|
+
"pageStart": {
|
4866
|
+
"type": "int32",
|
4867
|
+
"id": 1
|
4868
|
+
},
|
4869
|
+
"pageEnd": {
|
4870
|
+
"type": "int32",
|
4871
|
+
"id": 2
|
4872
|
+
}
|
4873
|
+
}
|
4874
|
+
},
|
4875
|
+
"ChunkMetadata": {
|
4876
|
+
"fields": {
|
4877
|
+
"previousChunks": {
|
4878
|
+
"rule": "repeated",
|
4879
|
+
"type": "Chunk",
|
4880
|
+
"id": 1
|
4881
|
+
},
|
4882
|
+
"nextChunks": {
|
4883
|
+
"rule": "repeated",
|
4884
|
+
"type": "Chunk",
|
4885
|
+
"id": 2
|
4886
|
+
}
|
4887
|
+
}
|
4849
4888
|
}
|
4850
4889
|
}
|
4851
4890
|
},
|
@@ -5175,6 +5214,225 @@
|
|
5175
5214
|
}
|
5176
5215
|
}
|
5177
5216
|
},
|
5217
|
+
"SpannerSource": {
|
5218
|
+
"fields": {
|
5219
|
+
"projectId": {
|
5220
|
+
"type": "string",
|
5221
|
+
"id": 1
|
5222
|
+
},
|
5223
|
+
"instanceId": {
|
5224
|
+
"type": "string",
|
5225
|
+
"id": 2,
|
5226
|
+
"options": {
|
5227
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5228
|
+
}
|
5229
|
+
},
|
5230
|
+
"databaseId": {
|
5231
|
+
"type": "string",
|
5232
|
+
"id": 3,
|
5233
|
+
"options": {
|
5234
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5235
|
+
}
|
5236
|
+
},
|
5237
|
+
"tableId": {
|
5238
|
+
"type": "string",
|
5239
|
+
"id": 4,
|
5240
|
+
"options": {
|
5241
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5242
|
+
}
|
5243
|
+
},
|
5244
|
+
"enableDataBoost": {
|
5245
|
+
"type": "bool",
|
5246
|
+
"id": 5
|
5247
|
+
}
|
5248
|
+
}
|
5249
|
+
},
|
5250
|
+
"BigtableOptions": {
|
5251
|
+
"fields": {
|
5252
|
+
"keyFieldName": {
|
5253
|
+
"type": "string",
|
5254
|
+
"id": 1
|
5255
|
+
},
|
5256
|
+
"families": {
|
5257
|
+
"keyType": "string",
|
5258
|
+
"type": "BigtableColumnFamily",
|
5259
|
+
"id": 2
|
5260
|
+
}
|
5261
|
+
},
|
5262
|
+
"nested": {
|
5263
|
+
"BigtableColumnFamily": {
|
5264
|
+
"fields": {
|
5265
|
+
"fieldName": {
|
5266
|
+
"type": "string",
|
5267
|
+
"id": 1
|
5268
|
+
},
|
5269
|
+
"encoding": {
|
5270
|
+
"type": "Encoding",
|
5271
|
+
"id": 2
|
5272
|
+
},
|
5273
|
+
"type": {
|
5274
|
+
"type": "Type",
|
5275
|
+
"id": 3
|
5276
|
+
},
|
5277
|
+
"columns": {
|
5278
|
+
"rule": "repeated",
|
5279
|
+
"type": "BigtableColumn",
|
5280
|
+
"id": 4
|
5281
|
+
}
|
5282
|
+
}
|
5283
|
+
},
|
5284
|
+
"BigtableColumn": {
|
5285
|
+
"fields": {
|
5286
|
+
"qualifier": {
|
5287
|
+
"type": "bytes",
|
5288
|
+
"id": 1,
|
5289
|
+
"options": {
|
5290
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5291
|
+
}
|
5292
|
+
},
|
5293
|
+
"fieldName": {
|
5294
|
+
"type": "string",
|
5295
|
+
"id": 2
|
5296
|
+
},
|
5297
|
+
"encoding": {
|
5298
|
+
"type": "Encoding",
|
5299
|
+
"id": 3
|
5300
|
+
},
|
5301
|
+
"type": {
|
5302
|
+
"type": "Type",
|
5303
|
+
"id": 4
|
5304
|
+
}
|
5305
|
+
}
|
5306
|
+
},
|
5307
|
+
"Type": {
|
5308
|
+
"values": {
|
5309
|
+
"TYPE_UNSPECIFIED": 0,
|
5310
|
+
"STRING": 1,
|
5311
|
+
"NUMBER": 2,
|
5312
|
+
"INTEGER": 3,
|
5313
|
+
"VAR_INTEGER": 4,
|
5314
|
+
"BIG_NUMERIC": 5,
|
5315
|
+
"BOOLEAN": 6,
|
5316
|
+
"JSON": 7
|
5317
|
+
}
|
5318
|
+
},
|
5319
|
+
"Encoding": {
|
5320
|
+
"values": {
|
5321
|
+
"ENCODING_UNSPECIFIED": 0,
|
5322
|
+
"TEXT": 1,
|
5323
|
+
"BINARY": 2
|
5324
|
+
}
|
5325
|
+
}
|
5326
|
+
}
|
5327
|
+
},
|
5328
|
+
"BigtableSource": {
|
5329
|
+
"fields": {
|
5330
|
+
"projectId": {
|
5331
|
+
"type": "string",
|
5332
|
+
"id": 1
|
5333
|
+
},
|
5334
|
+
"instanceId": {
|
5335
|
+
"type": "string",
|
5336
|
+
"id": 2,
|
5337
|
+
"options": {
|
5338
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5339
|
+
}
|
5340
|
+
},
|
5341
|
+
"tableId": {
|
5342
|
+
"type": "string",
|
5343
|
+
"id": 3,
|
5344
|
+
"options": {
|
5345
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5346
|
+
}
|
5347
|
+
},
|
5348
|
+
"bigtableOptions": {
|
5349
|
+
"type": "BigtableOptions",
|
5350
|
+
"id": 4,
|
5351
|
+
"options": {
|
5352
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5353
|
+
}
|
5354
|
+
}
|
5355
|
+
}
|
5356
|
+
},
|
5357
|
+
"FhirStoreSource": {
|
5358
|
+
"fields": {
|
5359
|
+
"fhirStore": {
|
5360
|
+
"type": "string",
|
5361
|
+
"id": 1,
|
5362
|
+
"options": {
|
5363
|
+
"(google.api.field_behavior)": "REQUIRED",
|
5364
|
+
"(google.api.resource_reference).type": "healthcare.googleapis.com/FhirStore"
|
5365
|
+
}
|
5366
|
+
},
|
5367
|
+
"gcsStagingDir": {
|
5368
|
+
"type": "string",
|
5369
|
+
"id": 2
|
5370
|
+
}
|
5371
|
+
}
|
5372
|
+
},
|
5373
|
+
"CloudSqlSource": {
|
5374
|
+
"fields": {
|
5375
|
+
"projectId": {
|
5376
|
+
"type": "string",
|
5377
|
+
"id": 1
|
5378
|
+
},
|
5379
|
+
"instanceId": {
|
5380
|
+
"type": "string",
|
5381
|
+
"id": 2,
|
5382
|
+
"options": {
|
5383
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5384
|
+
}
|
5385
|
+
},
|
5386
|
+
"databaseId": {
|
5387
|
+
"type": "string",
|
5388
|
+
"id": 3,
|
5389
|
+
"options": {
|
5390
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5391
|
+
}
|
5392
|
+
},
|
5393
|
+
"tableId": {
|
5394
|
+
"type": "string",
|
5395
|
+
"id": 4,
|
5396
|
+
"options": {
|
5397
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5398
|
+
}
|
5399
|
+
},
|
5400
|
+
"gcsStagingDir": {
|
5401
|
+
"type": "string",
|
5402
|
+
"id": 5
|
5403
|
+
},
|
5404
|
+
"offload": {
|
5405
|
+
"type": "bool",
|
5406
|
+
"id": 6
|
5407
|
+
}
|
5408
|
+
}
|
5409
|
+
},
|
5410
|
+
"FirestoreSource": {
|
5411
|
+
"fields": {
|
5412
|
+
"projectId": {
|
5413
|
+
"type": "string",
|
5414
|
+
"id": 1
|
5415
|
+
},
|
5416
|
+
"databaseId": {
|
5417
|
+
"type": "string",
|
5418
|
+
"id": 2,
|
5419
|
+
"options": {
|
5420
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5421
|
+
}
|
5422
|
+
},
|
5423
|
+
"collectionId": {
|
5424
|
+
"type": "string",
|
5425
|
+
"id": 3,
|
5426
|
+
"options": {
|
5427
|
+
"(google.api.field_behavior)": "REQUIRED"
|
5428
|
+
}
|
5429
|
+
},
|
5430
|
+
"gcsStagingDir": {
|
5431
|
+
"type": "string",
|
5432
|
+
"id": 4
|
5433
|
+
}
|
5434
|
+
}
|
5435
|
+
},
|
5178
5436
|
"ImportErrorConfig": {
|
5179
5437
|
"oneofs": {
|
5180
5438
|
"destination": {
|
@@ -5299,6 +5557,10 @@
|
|
5299
5557
|
"failureCount": {
|
5300
5558
|
"type": "int64",
|
5301
5559
|
"id": 4
|
5560
|
+
},
|
5561
|
+
"totalCount": {
|
5562
|
+
"type": "int64",
|
5563
|
+
"id": 5
|
5302
5564
|
}
|
5303
5565
|
}
|
5304
5566
|
},
|
@@ -5308,7 +5570,12 @@
|
|
5308
5570
|
"oneof": [
|
5309
5571
|
"inlineSource",
|
5310
5572
|
"gcsSource",
|
5311
|
-
"bigquerySource"
|
5573
|
+
"bigquerySource",
|
5574
|
+
"fhirStoreSource",
|
5575
|
+
"spannerSource",
|
5576
|
+
"cloudSqlSource",
|
5577
|
+
"firestoreSource",
|
5578
|
+
"bigtableSource"
|
5312
5579
|
]
|
5313
5580
|
}
|
5314
5581
|
},
|
@@ -5325,6 +5592,26 @@
|
|
5325
5592
|
"type": "BigQuerySource",
|
5326
5593
|
"id": 4
|
5327
5594
|
},
|
5595
|
+
"fhirStoreSource": {
|
5596
|
+
"type": "FhirStoreSource",
|
5597
|
+
"id": 10
|
5598
|
+
},
|
5599
|
+
"spannerSource": {
|
5600
|
+
"type": "SpannerSource",
|
5601
|
+
"id": 11
|
5602
|
+
},
|
5603
|
+
"cloudSqlSource": {
|
5604
|
+
"type": "CloudSqlSource",
|
5605
|
+
"id": 12
|
5606
|
+
},
|
5607
|
+
"firestoreSource": {
|
5608
|
+
"type": "FirestoreSource",
|
5609
|
+
"id": 13
|
5610
|
+
},
|
5611
|
+
"bigtableSource": {
|
5612
|
+
"type": "BigtableSource",
|
5613
|
+
"id": 15
|
5614
|
+
},
|
5328
5615
|
"parent": {
|
5329
5616
|
"type": "string",
|
5330
5617
|
"id": 1,
|
@@ -5341,6 +5628,10 @@
|
|
5341
5628
|
"type": "ReconciliationMode",
|
5342
5629
|
"id": 6
|
5343
5630
|
},
|
5631
|
+
"updateMask": {
|
5632
|
+
"type": "google.protobuf.FieldMask",
|
5633
|
+
"id": 7
|
5634
|
+
},
|
5344
5635
|
"autoGenerateIds": {
|
5345
5636
|
"type": "bool",
|
5346
5637
|
"id": 8
|
@@ -5456,6 +5747,35 @@
|
|
5456
5747
|
}
|
5457
5748
|
}
|
5458
5749
|
},
|
5750
|
+
"ImportCompletionSuggestionsResponse": {
|
5751
|
+
"fields": {
|
5752
|
+
"errorSamples": {
|
5753
|
+
"rule": "repeated",
|
5754
|
+
"type": "google.rpc.Status",
|
5755
|
+
"id": 1
|
5756
|
+
},
|
5757
|
+
"successCount": {
|
5758
|
+
"type": "int64",
|
5759
|
+
"id": 2
|
5760
|
+
},
|
5761
|
+
"failureCount": {
|
5762
|
+
"type": "int64",
|
5763
|
+
"id": 3
|
5764
|
+
}
|
5765
|
+
}
|
5766
|
+
},
|
5767
|
+
"ImportCompletionSuggestionsMetadata": {
|
5768
|
+
"fields": {
|
5769
|
+
"createTime": {
|
5770
|
+
"type": "google.protobuf.Timestamp",
|
5771
|
+
"id": 1
|
5772
|
+
},
|
5773
|
+
"updateTime": {
|
5774
|
+
"type": "google.protobuf.Timestamp",
|
5775
|
+
"id": 2
|
5776
|
+
}
|
5777
|
+
}
|
5778
|
+
},
|
5459
5779
|
"Document": {
|
5460
5780
|
"options": {
|
5461
5781
|
"(google.api.resource).type": "discoveryengine.googleapis.com/Document",
|
@@ -5570,6 +5890,29 @@
|
|
5570
5890
|
}
|
5571
5891
|
}
|
5572
5892
|
},
|
5893
|
+
"ProcessedDocument": {
|
5894
|
+
"oneofs": {
|
5895
|
+
"processedDataFormat": {
|
5896
|
+
"oneof": [
|
5897
|
+
"jsonData"
|
5898
|
+
]
|
5899
|
+
}
|
5900
|
+
},
|
5901
|
+
"fields": {
|
5902
|
+
"jsonData": {
|
5903
|
+
"type": "string",
|
5904
|
+
"id": 2
|
5905
|
+
},
|
5906
|
+
"document": {
|
5907
|
+
"type": "string",
|
5908
|
+
"id": 1,
|
5909
|
+
"options": {
|
5910
|
+
"(google.api.field_behavior)": "REQUIRED",
|
5911
|
+
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
|
5912
|
+
}
|
5913
|
+
}
|
5914
|
+
}
|
5915
|
+
},
|
5573
5916
|
"UserEvent": {
|
5574
5917
|
"fields": {
|
5575
5918
|
"eventType": {
|
@@ -6477,6 +6820,60 @@
|
|
6477
6820
|
"boost": {
|
6478
6821
|
"type": "float",
|
6479
6822
|
"id": 2
|
6823
|
+
},
|
6824
|
+
"boostControlSpec": {
|
6825
|
+
"type": "BoostControlSpec",
|
6826
|
+
"id": 3
|
6827
|
+
}
|
6828
|
+
},
|
6829
|
+
"nested": {
|
6830
|
+
"BoostControlSpec": {
|
6831
|
+
"fields": {
|
6832
|
+
"fieldName": {
|
6833
|
+
"type": "string",
|
6834
|
+
"id": 1
|
6835
|
+
},
|
6836
|
+
"attributeType": {
|
6837
|
+
"type": "AttributeType",
|
6838
|
+
"id": 2
|
6839
|
+
},
|
6840
|
+
"interpolationType": {
|
6841
|
+
"type": "InterpolationType",
|
6842
|
+
"id": 3
|
6843
|
+
},
|
6844
|
+
"controlPoints": {
|
6845
|
+
"rule": "repeated",
|
6846
|
+
"type": "ControlPoint",
|
6847
|
+
"id": 4
|
6848
|
+
}
|
6849
|
+
},
|
6850
|
+
"nested": {
|
6851
|
+
"ControlPoint": {
|
6852
|
+
"fields": {
|
6853
|
+
"attributeValue": {
|
6854
|
+
"type": "string",
|
6855
|
+
"id": 1
|
6856
|
+
},
|
6857
|
+
"boostAmount": {
|
6858
|
+
"type": "float",
|
6859
|
+
"id": 2
|
6860
|
+
}
|
6861
|
+
}
|
6862
|
+
},
|
6863
|
+
"AttributeType": {
|
6864
|
+
"values": {
|
6865
|
+
"ATTRIBUTE_TYPE_UNSPECIFIED": 0,
|
6866
|
+
"NUMERICAL": 1,
|
6867
|
+
"FRESHNESS": 2
|
6868
|
+
}
|
6869
|
+
},
|
6870
|
+
"InterpolationType": {
|
6871
|
+
"values": {
|
6872
|
+
"INTERPOLATION_TYPE_UNSPECIFIED": 0,
|
6873
|
+
"LINEAR": 1
|
6874
|
+
}
|
6875
|
+
}
|
6876
|
+
}
|
6480
6877
|
}
|
6481
6878
|
}
|
6482
6879
|
}
|
@@ -6537,6 +6934,10 @@
|
|
6537
6934
|
"searchResultMode": {
|
6538
6935
|
"type": "SearchResultMode",
|
6539
6936
|
"id": 4
|
6937
|
+
},
|
6938
|
+
"chunkSpec": {
|
6939
|
+
"type": "ChunkSpec",
|
6940
|
+
"id": 5
|
6540
6941
|
}
|
6541
6942
|
},
|
6542
6943
|
"nested": {
|
@@ -6591,6 +6992,10 @@
|
|
6591
6992
|
"modelSpec": {
|
6592
6993
|
"type": "ModelSpec",
|
6593
6994
|
"id": 7
|
6995
|
+
},
|
6996
|
+
"useSemanticChunks": {
|
6997
|
+
"type": "bool",
|
6998
|
+
"id": 8
|
6594
6999
|
}
|
6595
7000
|
},
|
6596
7001
|
"nested": {
|
@@ -6636,6 +7041,18 @@
|
|
6636
7041
|
}
|
6637
7042
|
}
|
6638
7043
|
},
|
7044
|
+
"ChunkSpec": {
|
7045
|
+
"fields": {
|
7046
|
+
"numPreviousChunks": {
|
7047
|
+
"type": "int32",
|
7048
|
+
"id": 1
|
7049
|
+
},
|
7050
|
+
"numNextChunks": {
|
7051
|
+
"type": "int32",
|
7052
|
+
"id": 2
|
7053
|
+
}
|
7054
|
+
}
|
7055
|
+
},
|
6639
7056
|
"SearchResultMode": {
|
6640
7057
|
"values": {
|
6641
7058
|
"SEARCH_RESULT_MODE_UNSPECIFIED": 0,
|
@@ -6905,6 +7322,25 @@
|
|
6905
7322
|
"uri": {
|
6906
7323
|
"type": "string",
|
6907
7324
|
"id": 3
|
7325
|
+
},
|
7326
|
+
"chunkContents": {
|
7327
|
+
"rule": "repeated",
|
7328
|
+
"type": "ChunkContent",
|
7329
|
+
"id": 4
|
7330
|
+
}
|
7331
|
+
},
|
7332
|
+
"nested": {
|
7333
|
+
"ChunkContent": {
|
7334
|
+
"fields": {
|
7335
|
+
"content": {
|
7336
|
+
"type": "string",
|
7337
|
+
"id": 1
|
7338
|
+
},
|
7339
|
+
"pageIdentifier": {
|
7340
|
+
"type": "string",
|
7341
|
+
"id": 2
|
7342
|
+
}
|
7343
|
+
}
|
6908
7344
|
}
|
6909
7345
|
}
|
6910
7346
|
},
|
@@ -8183,6 +8619,28 @@
|
|
8183
8619
|
}
|
8184
8620
|
}
|
8185
8621
|
]
|
8622
|
+
},
|
8623
|
+
"GetProcessedDocument": {
|
8624
|
+
"requestType": "GetProcessedDocumentRequest",
|
8625
|
+
"responseType": "ProcessedDocument",
|
8626
|
+
"options": {
|
8627
|
+
"(google.api.http).get": "/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}:getProcessedDocument",
|
8628
|
+
"(google.api.http).additional_bindings.get": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}:getProcessedDocument",
|
8629
|
+
"(google.api.method_signature)": "name"
|
8630
|
+
},
|
8631
|
+
"parsedOptions": [
|
8632
|
+
{
|
8633
|
+
"(google.api.http)": {
|
8634
|
+
"get": "/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}:getProcessedDocument",
|
8635
|
+
"additional_bindings": {
|
8636
|
+
"get": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}:getProcessedDocument"
|
8637
|
+
}
|
8638
|
+
}
|
8639
|
+
},
|
8640
|
+
{
|
8641
|
+
"(google.api.method_signature)": "name"
|
8642
|
+
}
|
8643
|
+
]
|
8186
8644
|
}
|
8187
8645
|
}
|
8188
8646
|
},
|
@@ -8288,6 +8746,44 @@
|
|
8288
8746
|
}
|
8289
8747
|
}
|
8290
8748
|
},
|
8749
|
+
"GetProcessedDocumentRequest": {
|
8750
|
+
"fields": {
|
8751
|
+
"name": {
|
8752
|
+
"type": "string",
|
8753
|
+
"id": 1,
|
8754
|
+
"options": {
|
8755
|
+
"(google.api.field_behavior)": "REQUIRED",
|
8756
|
+
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/Document"
|
8757
|
+
}
|
8758
|
+
},
|
8759
|
+
"processedDocumentType": {
|
8760
|
+
"type": "ProcessedDocumentType",
|
8761
|
+
"id": 2,
|
8762
|
+
"options": {
|
8763
|
+
"(google.api.field_behavior)": "REQUIRED"
|
8764
|
+
}
|
8765
|
+
},
|
8766
|
+
"processedDocumentFormat": {
|
8767
|
+
"type": "ProcessedDocumentFormat",
|
8768
|
+
"id": 3
|
8769
|
+
}
|
8770
|
+
},
|
8771
|
+
"nested": {
|
8772
|
+
"ProcessedDocumentType": {
|
8773
|
+
"values": {
|
8774
|
+
"PROCESSED_DOCUMENT_TYPE_UNSPECIFIED": 0,
|
8775
|
+
"PARSED_DOCUMENT": 1,
|
8776
|
+
"CHUNKED_DOCUMENT": 2
|
8777
|
+
}
|
8778
|
+
},
|
8779
|
+
"ProcessedDocumentFormat": {
|
8780
|
+
"values": {
|
8781
|
+
"PROCESSED_DOCUMENT_FORMAT_UNSPECIFIED": 0,
|
8782
|
+
"JSON": 1
|
8783
|
+
}
|
8784
|
+
}
|
8785
|
+
}
|
8786
|
+
},
|
8291
8787
|
"Engine": {
|
8292
8788
|
"options": {
|
8293
8789
|
"(google.api.resource).type": "discoveryengine.googleapis.com/Engine",
|
@@ -9067,6 +9563,95 @@
|
|
9067
9563
|
}
|
9068
9564
|
}
|
9069
9565
|
},
|
9566
|
+
"RankService": {
|
9567
|
+
"options": {
|
9568
|
+
"(google.api.default_host)": "discoveryengine.googleapis.com",
|
9569
|
+
"(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform"
|
9570
|
+
},
|
9571
|
+
"methods": {
|
9572
|
+
"Rank": {
|
9573
|
+
"requestType": "RankRequest",
|
9574
|
+
"responseType": "RankResponse",
|
9575
|
+
"options": {
|
9576
|
+
"(google.api.http).post": "/v1alpha/{ranking_config=projects/*/locations/*/rankingConfigs/*}:rank",
|
9577
|
+
"(google.api.http).body": "*"
|
9578
|
+
},
|
9579
|
+
"parsedOptions": [
|
9580
|
+
{
|
9581
|
+
"(google.api.http)": {
|
9582
|
+
"post": "/v1alpha/{ranking_config=projects/*/locations/*/rankingConfigs/*}:rank",
|
9583
|
+
"body": "*"
|
9584
|
+
}
|
9585
|
+
}
|
9586
|
+
]
|
9587
|
+
}
|
9588
|
+
}
|
9589
|
+
},
|
9590
|
+
"RankingRecord": {
|
9591
|
+
"fields": {
|
9592
|
+
"id": {
|
9593
|
+
"type": "string",
|
9594
|
+
"id": 1
|
9595
|
+
},
|
9596
|
+
"title": {
|
9597
|
+
"type": "string",
|
9598
|
+
"id": 2
|
9599
|
+
},
|
9600
|
+
"content": {
|
9601
|
+
"type": "string",
|
9602
|
+
"id": 3
|
9603
|
+
},
|
9604
|
+
"score": {
|
9605
|
+
"type": "float",
|
9606
|
+
"id": 4
|
9607
|
+
}
|
9608
|
+
}
|
9609
|
+
},
|
9610
|
+
"RankRequest": {
|
9611
|
+
"fields": {
|
9612
|
+
"rankingConfig": {
|
9613
|
+
"type": "string",
|
9614
|
+
"id": 1,
|
9615
|
+
"options": {
|
9616
|
+
"(google.api.field_behavior)": "REQUIRED",
|
9617
|
+
"(google.api.resource_reference).type": "discoveryengine.googleapis.com/RankingConfig"
|
9618
|
+
}
|
9619
|
+
},
|
9620
|
+
"model": {
|
9621
|
+
"type": "string",
|
9622
|
+
"id": 2
|
9623
|
+
},
|
9624
|
+
"topN": {
|
9625
|
+
"type": "int32",
|
9626
|
+
"id": 3
|
9627
|
+
},
|
9628
|
+
"query": {
|
9629
|
+
"type": "string",
|
9630
|
+
"id": 4
|
9631
|
+
},
|
9632
|
+
"records": {
|
9633
|
+
"rule": "repeated",
|
9634
|
+
"type": "RankingRecord",
|
9635
|
+
"id": 5,
|
9636
|
+
"options": {
|
9637
|
+
"(google.api.field_behavior)": "REQUIRED"
|
9638
|
+
}
|
9639
|
+
},
|
9640
|
+
"ignoreRecordDetailsInResponse": {
|
9641
|
+
"type": "bool",
|
9642
|
+
"id": 6
|
9643
|
+
}
|
9644
|
+
}
|
9645
|
+
},
|
9646
|
+
"RankResponse": {
|
9647
|
+
"fields": {
|
9648
|
+
"records": {
|
9649
|
+
"rule": "repeated",
|
9650
|
+
"type": "RankingRecord",
|
9651
|
+
"id": 5
|
9652
|
+
}
|
9653
|
+
}
|
9654
|
+
},
|
9070
9655
|
"RecommendationService": {
|
9071
9656
|
"options": {
|
9072
9657
|
"(google.api.default_host)": "discoveryengine.googleapis.com",
|
@@ -9564,6 +10149,11 @@
|
|
9564
10149
|
"modelStatus": {
|
9565
10150
|
"type": "string",
|
9566
10151
|
"id": 3
|
10152
|
+
},
|
10153
|
+
"metrics": {
|
10154
|
+
"keyType": "string",
|
10155
|
+
"type": "double",
|
10156
|
+
"id": 4
|
9567
10157
|
}
|
9568
10158
|
}
|
9569
10159
|
},
|