aws-sdk-kendra 1.70.0 → 1.72.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kendra/client.rb +42 -13
- data/lib/aws-sdk-kendra/client_api.rb +1 -0
- data/lib/aws-sdk-kendra/types.rb +123 -51
- data/lib/aws-sdk-kendra.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb872c58d1bd0b4cf0e6c5836c80210af58cb1bd61d7a7dbcebacc55b5b0da7c
|
4
|
+
data.tar.gz: 2f15e99b78127ed82c993ed622a3f9da762914e609078ccf55111201a0af081d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c1a1ee464de81b4be7c7dd794d03b990c1f25db62a36e1593c2a3bd9d4a3e95eb664c4910282a458af28ce3d6d52a062e995f86b942cea4456e3fbdf74263d3
|
7
|
+
data.tar.gz: 5f8f0ed49b67d60dff2c0cd9e102f4f426c30764b9e697c6d946783e1855e0b4a3522e224b85ec07f51107c759960a3b2f0a67fb4cdad2e6bea812a8adb79f8b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.72.0 (2023-09-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Kendra now supports confidence score buckets for retrieved passage results using the Retrieve API.
|
8
|
+
|
9
|
+
1.71.0 (2023-07-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.70.0 (2023-07-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.72.0
|
@@ -216,6 +216,10 @@ module Aws::Kendra
|
|
216
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
217
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
218
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
219
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
220
224
|
# The log formatter.
|
221
225
|
#
|
@@ -509,8 +513,14 @@ module Aws::Kendra
|
|
509
513
|
#
|
510
514
|
# The documents are deleted asynchronously. You can see the progress of
|
511
515
|
# the deletion by using Amazon Web Services CloudWatch. Any error
|
512
|
-
# messages related to the processing of the batch are sent to
|
513
|
-
# CloudWatch log.
|
516
|
+
# messages related to the processing of the batch are sent to your
|
517
|
+
# Amazon Web Services CloudWatch log. You can also use the
|
518
|
+
# `BatchGetDocumentStatus` API to monitor the progress of deleting your
|
519
|
+
# documents.
|
520
|
+
#
|
521
|
+
# Deleting documents from an index using `BatchDeleteDocument` could
|
522
|
+
# take up to an hour or more, depending on the number of documents you
|
523
|
+
# want to delete.
|
514
524
|
#
|
515
525
|
# @option params [required, String] :index_id
|
516
526
|
# The identifier of the index that contains the documents to delete.
|
@@ -679,7 +689,8 @@ module Aws::Kendra
|
|
679
689
|
# The documents are indexed asynchronously. You can see the progress of
|
680
690
|
# the batch using Amazon Web Services CloudWatch. Any error messages
|
681
691
|
# related to processing the batch are sent to your Amazon Web Services
|
682
|
-
# CloudWatch log.
|
692
|
+
# CloudWatch log. You can also use the `BatchGetDocumentStatus` API to
|
693
|
+
# monitor the progress of indexing your documents.
|
683
694
|
#
|
684
695
|
# For an example of ingesting inline documents using Python and Java
|
685
696
|
# SDKs, see [Adding files directly to an index][1].
|
@@ -2155,18 +2166,20 @@ module Aws::Kendra
|
|
2155
2166
|
# returned from a call to `DescribeIndex`. The `Status` field is set to
|
2156
2167
|
# `ACTIVE` when the index is ready to use.
|
2157
2168
|
#
|
2158
|
-
# Once the index is active you can index your documents using the
|
2159
|
-
# `BatchPutDocument` API or using one of the supported data
|
2169
|
+
# Once the index is active, you can index your documents using the
|
2170
|
+
# `BatchPutDocument` API or using one of the supported [data
|
2171
|
+
# sources][1].
|
2160
2172
|
#
|
2161
2173
|
# For an example of creating an index and data source using the Python
|
2162
|
-
# SDK, see [Getting started with Python SDK][
|
2174
|
+
# SDK, see [Getting started with Python SDK][2]. For an example of
|
2163
2175
|
# creating an index and data source using the Java SDK, see [Getting
|
2164
|
-
# started with Java SDK][
|
2176
|
+
# started with Java SDK][3].
|
2165
2177
|
#
|
2166
2178
|
#
|
2167
2179
|
#
|
2168
|
-
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/
|
2169
|
-
# [2]: https://docs.aws.amazon.com/kendra/latest/dg/gs-
|
2180
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-sources.html
|
2181
|
+
# [2]: https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html
|
2182
|
+
# [3]: https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html
|
2170
2183
|
#
|
2171
2184
|
# @option params [required, String] :name
|
2172
2185
|
# A name for the index.
|
@@ -2531,6 +2544,10 @@ module Aws::Kendra
|
|
2531
2544
|
# `DescribeDataSource` API is set to `DELETING`. For more information,
|
2532
2545
|
# see [Deleting Data Sources][1].
|
2533
2546
|
#
|
2547
|
+
# Deleting an entire data source or re-syncing your index after deleting
|
2548
|
+
# specific documents from a data source could take up to an hour or
|
2549
|
+
# more, depending on the number of documents you want to delete.
|
2550
|
+
#
|
2534
2551
|
#
|
2535
2552
|
#
|
2536
2553
|
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/delete-data-source.html
|
@@ -5413,9 +5430,9 @@ module Aws::Kendra
|
|
5413
5430
|
# doesn't include question-answer or FAQ type responses from your
|
5414
5431
|
# index. The passages are text excerpts that can be semantically
|
5415
5432
|
# extracted from multiple documents and multiple parts of the same
|
5416
|
-
# document. If in extreme cases your documents produce
|
5417
|
-
#
|
5418
|
-
#
|
5433
|
+
# document. If in extreme cases your documents produce zero passages
|
5434
|
+
# using the `Retrieve` API, you can alternatively use the `Query` API
|
5435
|
+
# and its types of responses.
|
5419
5436
|
#
|
5420
5437
|
# You can also do the following:
|
5421
5438
|
#
|
@@ -5428,9 +5445,16 @@ module Aws::Kendra
|
|
5428
5445
|
# You can also include certain fields in the response that might provide
|
5429
5446
|
# useful additional information.
|
5430
5447
|
#
|
5448
|
+
# The `Retrieve` API shares the number of [query capacity units][2] that
|
5449
|
+
# you set for your index. For more information on what's included in a
|
5450
|
+
# single capacity unit and the default base capacity for an index, see
|
5451
|
+
# [Adjusting capacity][3].
|
5452
|
+
#
|
5431
5453
|
#
|
5432
5454
|
#
|
5433
5455
|
# [1]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_Query.html
|
5456
|
+
# [2]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_CapacityUnitsConfiguration.html
|
5457
|
+
# [3]: https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html
|
5434
5458
|
#
|
5435
5459
|
# @option params [required, String] :index_id
|
5436
5460
|
# The identifier of the index to retrieve relevant passages for the
|
@@ -5618,6 +5642,7 @@ module Aws::Kendra
|
|
5618
5642
|
# resp.result_items[0].document_attributes[0].value.string_list_value[0] #=> String
|
5619
5643
|
# resp.result_items[0].document_attributes[0].value.long_value #=> Integer
|
5620
5644
|
# resp.result_items[0].document_attributes[0].value.date_value #=> Time
|
5645
|
+
# resp.result_items[0].score_attributes.score_confidence #=> String, one of "VERY_HIGH", "HIGH", "MEDIUM", "LOW", "NOT_AVAILABLE"
|
5621
5646
|
#
|
5622
5647
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/Retrieve AWS API Documentation
|
5623
5648
|
#
|
@@ -5632,6 +5657,10 @@ module Aws::Kendra
|
|
5632
5657
|
# synchronization job is already in progress, Amazon Kendra returns a
|
5633
5658
|
# `ResourceInUseException` exception.
|
5634
5659
|
#
|
5660
|
+
# Re-syncing your data source with your index after modifying, adding,
|
5661
|
+
# or deleting documents from your data source respository could take up
|
5662
|
+
# to an hour or more, depending on the number of documents to sync.
|
5663
|
+
#
|
5635
5664
|
# @option params [required, String] :id
|
5636
5665
|
# The identifier of the data source connector to synchronize.
|
5637
5666
|
#
|
@@ -7174,7 +7203,7 @@ module Aws::Kendra
|
|
7174
7203
|
params: params,
|
7175
7204
|
config: config)
|
7176
7205
|
context[:gem_name] = 'aws-sdk-kendra'
|
7177
|
-
context[:gem_version] = '1.
|
7206
|
+
context[:gem_version] = '1.72.0'
|
7178
7207
|
Seahorse::Client::Request.new(handlers, context)
|
7179
7208
|
end
|
7180
7209
|
|
@@ -1993,6 +1993,7 @@ module Aws::Kendra
|
|
1993
1993
|
RetrieveResultItem.add_member(:content, Shapes::ShapeRef.new(shape: Content, location_name: "Content"))
|
1994
1994
|
RetrieveResultItem.add_member(:document_uri, Shapes::ShapeRef.new(shape: Url, location_name: "DocumentURI"))
|
1995
1995
|
RetrieveResultItem.add_member(:document_attributes, Shapes::ShapeRef.new(shape: DocumentAttributeList, location_name: "DocumentAttributes"))
|
1996
|
+
RetrieveResultItem.add_member(:score_attributes, Shapes::ShapeRef.new(shape: ScoreAttributes, location_name: "ScoreAttributes"))
|
1996
1997
|
RetrieveResultItem.struct_class = Types::RetrieveResultItem
|
1997
1998
|
|
1998
1999
|
RetrieveResultItemList.member = Shapes::ShapeRef.new(shape: RetrieveResultItem)
|
data/lib/aws-sdk-kendra/types.rb
CHANGED
@@ -341,79 +341,122 @@ module Aws::Kendra
|
|
341
341
|
include Aws::Structure
|
342
342
|
end
|
343
343
|
|
344
|
-
#
|
345
|
-
# metadata fields.
|
344
|
+
# Filters the search results based on document attributes or fields.
|
346
345
|
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
346
|
+
# You can filter results using attributes for your particular documents.
|
347
|
+
# The attributes must exist in your index. For example, if your
|
348
|
+
# documents include the custom attribute "Department", you can filter
|
349
|
+
# documents that belong to the "HR" department. You would use the
|
350
|
+
# `EqualsTo` operation to filter results or documents with
|
351
|
+
# "Department" equals to "HR".
|
350
352
|
#
|
351
|
-
#
|
353
|
+
# You can use `AndAllFilters` and `AndOrFilters` in combination with
|
354
|
+
# each other or with other operations such as `EqualsTo`. For example:
|
352
355
|
#
|
353
|
-
#
|
356
|
+
# `AndAllFilters`
|
354
357
|
#
|
355
|
-
#
|
358
|
+
# * `EqualsTo`: "Department", "HR"
|
356
359
|
#
|
357
|
-
#
|
358
|
-
# exception with the message "`AttributeFilter` cannot have a depth of
|
359
|
-
# more than 2."
|
360
|
+
# * `AndOrFilters`
|
360
361
|
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
362
|
+
# * `ContainsAny`: "Project Name", \["new hires", "new hiring"\]
|
363
|
+
#
|
364
|
+
# ^
|
365
|
+
#
|
366
|
+
# This example filters results or documents that belong to the HR
|
367
|
+
# department *and* belong to projects that contain "new hires" *or*
|
368
|
+
# "new hiring" in the project name (must use `ContainAny` with
|
369
|
+
# `StringListValue`). This example is filtering with a depth of 2.
|
370
|
+
#
|
371
|
+
# You cannot filter more than a depth of 2, otherwise you receive a
|
372
|
+
# `ValidationException` exception with the message "AttributeFilter
|
373
|
+
# cannot have a depth of more than 2." Also, if you use more than 10
|
374
|
+
# attribute filters in a given list for `AndAllFilters` or
|
375
|
+
# `OrAllFilters`, you receive a `ValidationException` with the message
|
376
|
+
# "AttributeFilter cannot have a length of more than 10".
|
377
|
+
#
|
378
|
+
# For examples of using `AttributeFilter`, see [Using document
|
379
|
+
# attributes to filter search results][1].
|
380
|
+
#
|
381
|
+
#
|
382
|
+
#
|
383
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-filtering
|
365
384
|
#
|
366
385
|
# @!attribute [rw] and_all_filters
|
367
|
-
# Performs a logical `AND` operation on all
|
386
|
+
# Performs a logical `AND` operation on all filters that you specify.
|
368
387
|
# @return [Array<Types::AttributeFilter>]
|
369
388
|
#
|
370
389
|
# @!attribute [rw] or_all_filters
|
371
|
-
# Performs a logical `OR` operation on all
|
390
|
+
# Performs a logical `OR` operation on all filters that you specify.
|
372
391
|
# @return [Array<Types::AttributeFilter>]
|
373
392
|
#
|
374
393
|
# @!attribute [rw] not_filter
|
375
|
-
# Performs a logical `NOT` operation on all
|
394
|
+
# Performs a logical `NOT` operation on all filters that you specify.
|
376
395
|
# @return [Types::AttributeFilter]
|
377
396
|
#
|
378
397
|
# @!attribute [rw] equals_to
|
379
|
-
# Performs an equals operation on
|
380
|
-
#
|
398
|
+
# Performs an equals operation on document attributes/fields and their
|
399
|
+
# values.
|
381
400
|
# @return [Types::DocumentAttribute]
|
382
401
|
#
|
383
402
|
# @!attribute [rw] contains_all
|
384
403
|
# Returns true when a document contains all of the specified document
|
385
|
-
# attributes
|
386
|
-
#
|
404
|
+
# attributes/fields. This filter is only applicable to
|
405
|
+
# [StringListValue][1].
|
406
|
+
#
|
407
|
+
#
|
408
|
+
#
|
409
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_DocumentAttributeValue.html
|
387
410
|
# @return [Types::DocumentAttribute]
|
388
411
|
#
|
389
412
|
# @!attribute [rw] contains_any
|
390
413
|
# Returns true when a document contains any of the specified document
|
391
|
-
# attributes
|
392
|
-
#
|
414
|
+
# attributes/fields. This filter is only applicable to
|
415
|
+
# [StringListValue][1].
|
416
|
+
#
|
417
|
+
#
|
418
|
+
#
|
419
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_DocumentAttributeValue.html
|
393
420
|
# @return [Types::DocumentAttribute]
|
394
421
|
#
|
395
422
|
# @!attribute [rw] greater_than
|
396
|
-
# Performs a greater than operation on
|
397
|
-
#
|
423
|
+
# Performs a greater than operation on document attributes/fields and
|
424
|
+
# their values. Use with the [document attribute type][1] `Date` or
|
398
425
|
# `Long`.
|
426
|
+
#
|
427
|
+
#
|
428
|
+
#
|
429
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_DocumentAttributeValue.html
|
399
430
|
# @return [Types::DocumentAttribute]
|
400
431
|
#
|
401
432
|
# @!attribute [rw] greater_than_or_equals
|
402
|
-
# Performs a greater or equals than operation on
|
403
|
-
# attributes
|
404
|
-
# `Date` or `Long`.
|
433
|
+
# Performs a greater or equals than operation on document
|
434
|
+
# attributes/fields and their values. Use with the [document attribute
|
435
|
+
# type][1] `Date` or `Long`.
|
436
|
+
#
|
437
|
+
#
|
438
|
+
#
|
439
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_DocumentAttributeValue.html
|
405
440
|
# @return [Types::DocumentAttribute]
|
406
441
|
#
|
407
442
|
# @!attribute [rw] less_than
|
408
|
-
# Performs a less than operation on
|
409
|
-
#
|
443
|
+
# Performs a less than operation on document attributes/fields and
|
444
|
+
# their values. Use with the [document attribute type][1] `Date` or
|
410
445
|
# `Long`.
|
446
|
+
#
|
447
|
+
#
|
448
|
+
#
|
449
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_DocumentAttributeValue.html
|
411
450
|
# @return [Types::DocumentAttribute]
|
412
451
|
#
|
413
452
|
# @!attribute [rw] less_than_or_equals
|
414
|
-
# Performs a less than or equals operation on
|
415
|
-
#
|
416
|
-
# `Long`.
|
453
|
+
# Performs a less than or equals operation on document
|
454
|
+
# attributes/fields and their values. Use with the [document attribute
|
455
|
+
# type][1] `Date` or `Long`.
|
456
|
+
#
|
457
|
+
#
|
458
|
+
#
|
459
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_DocumentAttributeValue.html
|
417
460
|
# @return [Types::DocumentAttribute]
|
418
461
|
#
|
419
462
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/AttributeFilter AWS API Documentation
|
@@ -877,7 +920,7 @@ module Aws::Kendra
|
|
877
920
|
# If there was an error adding a document to an index the error is
|
878
921
|
# reported in your Amazon Web Services CloudWatch log. For more
|
879
922
|
# information, see [Monitoring Amazon Kendra with Amazon CloudWatch
|
880
|
-
#
|
923
|
+
# logs][1].
|
881
924
|
#
|
882
925
|
#
|
883
926
|
#
|
@@ -2879,19 +2922,35 @@ module Aws::Kendra
|
|
2879
2922
|
include Aws::Structure
|
2880
2923
|
end
|
2881
2924
|
|
2882
|
-
# Maps
|
2883
|
-
#
|
2925
|
+
# Maps attributes or field names of the documents synced from the data
|
2926
|
+
# source to Amazon Kendra index field names. You can set up field
|
2927
|
+
# mappings for each data source when calling [CreateDataSource][1] or
|
2928
|
+
# [UpdateDataSource][2] API. To create custom fields, use the
|
2929
|
+
# `UpdateIndex` API to first create an index field and then map to the
|
2930
|
+
# data source field. For more information, see [Mapping data source
|
2931
|
+
# fields][3].
|
2932
|
+
#
|
2933
|
+
#
|
2934
|
+
#
|
2935
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_CreateDataSource.html
|
2936
|
+
# [2]: https://docs.aws.amazon.com/kendra/latest/APIReference/API_UpdateDataSource.html
|
2937
|
+
# [3]: https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html
|
2884
2938
|
#
|
2885
2939
|
# @!attribute [rw] data_source_field_name
|
2886
|
-
# The name of the
|
2940
|
+
# The name of the field in the data source. You must first create the
|
2941
|
+
# index field using the `UpdateIndex` API.
|
2887
2942
|
# @return [String]
|
2888
2943
|
#
|
2889
2944
|
# @!attribute [rw] date_field_format
|
2890
|
-
# The
|
2945
|
+
# The format for date fields in the data source. If the field
|
2946
|
+
# specified in `DataSourceFieldName` is a date field, you must specify
|
2947
|
+
# the date format. If the field is not a date field, an exception is
|
2948
|
+
# thrown.
|
2891
2949
|
# @return [String]
|
2892
2950
|
#
|
2893
2951
|
# @!attribute [rw] index_field_name
|
2894
|
-
# The name of the field
|
2952
|
+
# The name of the index field to map to the data source field. The
|
2953
|
+
# index field type must match the data source field type.
|
2895
2954
|
# @return [String]
|
2896
2955
|
#
|
2897
2956
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DataSourceToIndexFieldMapping AWS API Documentation
|
@@ -2927,7 +2986,12 @@ module Aws::Kendra
|
|
2927
2986
|
include Aws::Structure
|
2928
2987
|
end
|
2929
2988
|
|
2930
|
-
# Provides the configuration information to
|
2989
|
+
# Provides the configuration information to an [Amazon Kendra supported
|
2990
|
+
# database][1].
|
2991
|
+
#
|
2992
|
+
#
|
2993
|
+
#
|
2994
|
+
# [1]: https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html
|
2931
2995
|
#
|
2932
2996
|
# @!attribute [rw] database_engine_type
|
2933
2997
|
# The type of database engine that runs the database.
|
@@ -4453,22 +4517,22 @@ module Aws::Kendra
|
|
4453
4517
|
include Aws::Structure
|
4454
4518
|
end
|
4455
4519
|
|
4456
|
-
# Provides the count of documents that match a particular
|
4457
|
-
# doing a faceted search.
|
4520
|
+
# Provides the count of documents that match a particular document
|
4521
|
+
# attribute or field when doing a faceted search.
|
4458
4522
|
#
|
4459
4523
|
# @!attribute [rw] document_attribute_value
|
4460
|
-
# The value of the attribute. For example, "HR".
|
4524
|
+
# The value of the attribute/field. For example, "HR".
|
4461
4525
|
# @return [Types::DocumentAttributeValue]
|
4462
4526
|
#
|
4463
4527
|
# @!attribute [rw] count
|
4464
|
-
# The number of documents in the response that have the
|
4465
|
-
# value for the key.
|
4528
|
+
# The number of documents in the response that have the
|
4529
|
+
# attribute/field value for the key.
|
4466
4530
|
# @return [Integer]
|
4467
4531
|
#
|
4468
4532
|
# @!attribute [rw] facet_results
|
4469
|
-
# Contains the results of a document attribute that is a nested
|
4470
|
-
# A `FacetResult` contains the counts for each facet nested
|
4471
|
-
# facet.
|
4533
|
+
# Contains the results of a document attribute/field that is a nested
|
4534
|
+
# facet. A `FacetResult` contains the counts for each facet nested
|
4535
|
+
# within a facet.
|
4472
4536
|
#
|
4473
4537
|
# For example, the document attribute or facet "Department" includes
|
4474
4538
|
# a value called "Engineering". In addition, the document attribute
|
@@ -4809,7 +4873,7 @@ module Aws::Kendra
|
|
4809
4873
|
include Aws::Structure
|
4810
4874
|
end
|
4811
4875
|
|
4812
|
-
# Information about a document attribute. You can use document
|
4876
|
+
# Information about a document attribute or field. You can use document
|
4813
4877
|
# attributes as facets.
|
4814
4878
|
#
|
4815
4879
|
# For example, the document attribute or facet "Department" includes
|
@@ -8228,6 +8292,13 @@ module Aws::Kendra
|
|
8228
8292
|
# source URI (`_source_uri`) of the document.
|
8229
8293
|
# @return [Array<Types::DocumentAttribute>]
|
8230
8294
|
#
|
8295
|
+
# @!attribute [rw] score_attributes
|
8296
|
+
# The confidence score bucket for a retrieved passage result. The
|
8297
|
+
# confidence bucket provides a relative ranking that indicates how
|
8298
|
+
# confident Amazon Kendra is that the response is relevant to the
|
8299
|
+
# query.
|
8300
|
+
# @return [Types::ScoreAttributes]
|
8301
|
+
#
|
8231
8302
|
# @see http://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/RetrieveResultItem AWS API Documentation
|
8232
8303
|
#
|
8233
8304
|
class RetrieveResultItem < Struct.new(
|
@@ -8236,7 +8307,8 @@ module Aws::Kendra
|
|
8236
8307
|
:document_title,
|
8237
8308
|
:content,
|
8238
8309
|
:document_uri,
|
8239
|
-
:document_attributes
|
8310
|
+
:document_attributes,
|
8311
|
+
:score_attributes)
|
8240
8312
|
SENSITIVE = []
|
8241
8313
|
include Aws::Structure
|
8242
8314
|
end
|
data/lib/aws-sdk-kendra.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-kendra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.72.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|