reward_single_slot_events
Creates, updates, deletes, gets or lists a reward_single_slot_events resource.
Overview
| Name | reward_single_slot_events |
| Type | Resource |
| Id | azure.ai_personalizer.reward_single_slot_events |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
reward_single_slot_event | exec | event_id, endpoint | Reward. Report reward between 0 and 1 that resulted from using the action specified in rewardActionId, for the specified event. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client Endpoint parameter. (default: ) |
event_id | string | The event id this reward applies to. Required. |
Lifecycle Methods
- reward_single_slot_event
Reward. Report reward between 0 and 1 that resulted from using the action specified in rewardActionId, for the specified event.
EXEC azure.ai_personalizer.reward_single_slot_events.reward_single_slot_event
@event_id='{{ event_id }}' --required,
@endpoint='{{ endpoint }}' --required
;