PersonalizerClient Class

Personalizer Service is an Azure Cognitive Service that makes it easy to target content and experiences without complex pre-analysis or cleanup of past data. Given a context and featurized content, the Personalizer Service returns your content in a ranked list. As rewards are sent in response to the ranked list, the reinforcement learning algorithm will improve the model and improve performance of future rank calls.

Inheritance
PersonalizerClient

Constructor

PersonalizerClient(endpoint, credentials)

Parameters

endpoint
str
Required

Supported Cognitive Services endpoint.

credentials
None
Required

Subscription credentials which uniquely identify client subscription.

Variables

config
PersonalizerClientConfiguration

Configuration for client.

events
EventsOperations

Events operations

Methods

rank

A Personalizer rank request.

rank

A Personalizer rank request.

rank(rank_request, custom_headers=None, raw=False, **operation_config)

Parameters

rank_request
RankRequest
Required

A Personalizer request.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

RankResponse or ClientRawResponse if raw=true

Return type

Exceptions