User Context
userContext tells the system who this request is about and who initiated the session.
userId: A stable user identifier that helps with frequency control and user-level policysessionId: The current session identifier that ties a request path together
Slots
slots tell the system what kind of result you want and where you plan to place it.
slotId: The unique identifier for a placement or result positionformat: The expected result format, such asaction_card,suffix, orentity_linkcount: The number of results you expect back
A simple way to think about it
- Think of
conversationContextas what the user is asking in this interaction. - Think of
userContextas who initiated the request. - Think of
slotsas where you plan to place the returned result.