PurviewExtensions.SetUserId(ChatMessage, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the user id for a message.
public static void SetUserId(this Microsoft.Extensions.AI.ChatMessage message, Guid userId);
static member SetUserId : Microsoft.Extensions.AI.ChatMessage * Guid -> unit
<Extension()>
Public Sub SetUserId (message As ChatMessage, userId As Guid)
Parameters
- message
- ChatMessage
The message.
- userId
- Guid
The id of the owner of the message.