Skip to content

Commit d341d76

Browse files
documentation: update to include new batch_get_record api call (#2476)
* Update to include new batch_get_record api call New `batch_get_record` api call. * Update amazon_sagemaker_featurestore.rst Co-authored-by: icywang86rui <[email protected]>
1 parent dd76ad7 commit d341d76

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/amazon_sagemaker_featurestore.rst

+7
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@ example identifier to retrieve the record.
291291
record_identifier_value = str(2990130)
292292
featurestore_runtime.get_record(FeatureGroupName=transaction_feature_group_name, RecordIdentifierValueAsString=record_identifier_value)
293293
294+
You can use the ``batch_get_record`` function to retrieve multiple records simultaneously from your feature store. The following example uses this API to retrieve a batch of records.
295+
296+
.. code:: python
297+
298+
record_identifier_values = ["573291", "109382", "828400", "124013"]
299+
featurestore_runtime.batch_get_record(Identifiers=[{"FeatureGroupName": transaction_feature_group_name, "RecordIdentifiersValueAsString": record_identifier_values}])
300+
294301
An example response from the fraud detection example:
295302
296303
.. code:: python

0 commit comments

Comments
 (0)