Class representing an Azure product recommendations service.
An R6 object of class
az_rec_service, inheriting from
new(token, subscription, resource_group, name, ...): Initialize a recommendations service object. See 'Initialization' for more details.
start(): Start the service.
stop(): Stop the service.
get_rec_endpoint(): Return an object representing the client endpoint for the service.
set_data_container(data_container="inputdata"): sets the name of the blob container to use for storing datasets.
delete(confirm=TRUE): Delete the service, after checking for confirmation.
Generally, the easiest way to initialize a new recommendations service object is via the
get_rec_service methods of the az_subscription or az_resource_group classes.
To create a new recommendations service, supply the following additional arguments to
hosting_plan: The name of the hosting plan (essentially the size of the virtual machine on which to run the service). See below for the plans that are available.
storage_type: The type of storage account to use. Can be
insights_location: The location for the application insights service. Defaults to
data_container: The default blob storage container to use for saving input datasets. Defaults to
wait: Whether to wait until the service has finished provisioning. Defaults to TRUE.
rec_endpoint, for the client interface to the recommendations service
Deployment instructions at the Product Recommendations API repo on GitHub
1 2 3 4 5 6 7 8 9 10 11 12 13
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.