Optional. The unique identifier of this participant. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>.
Dialogflow uses this user id for billing and measurement. If a user with the same obfuscatedExternalUserId is created in a later conversation, Dialogflow will know it's the same user.
Dialogflow also uses this user id for Agent Assist suggestion personalization. For example, Dialogflow can use it to provide personalized smart reply suggestions for this user.
Note:
Please never pass raw user ids to Dialogflow. Always obfuscate your user id first.
Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a hash function like SHA-512.
The length of the user id must be <= 256 characters.
documentsMetadataFilters
map (key: string, value: string)
Optional. Key-value filters on the metadata of documents returned by article suggestion. If specified, article suggestion only returns suggested documents that match all filters in their Document.metadata. Multiple values for a metadata key should be concatenated by comma. For example, filters to match all documents that have 'US' or 'CA' in their market metadata values and 'agent' in their user metadata values will be
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["A Participant represents someone involved in a conversation, which could be a human agent, virtual agent, or end-user."],["Participants have a defined role within the conversation, which is set upon creation and can be `HUMAN_AGENT`, `AUTOMATED_AGENT`, or `END_USER`."],["Each Participant has a unique identifier (`name`) and can be associated with an `obfuscatedExternalUserId` for billing, measurement, and personalization of agent assist suggestions."],["The `documentsMetadataFilters` field allows filtering of suggested documents based on key-value metadata pairs."],["Several methods are available for interacting with participants, including creating, retrieving, updating, listing, and adding content via `analyzeContent`."]]],[]]