UserProfileMemoryItem Class
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.
A memory item specifically containing user profile information extracted from conversations, such as preferences, interests, and personal details.
public class UserProfileMemoryItem : Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryItem, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.UserProfileMemoryItem>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.UserProfileMemoryItem>
type UserProfileMemoryItem = class
inherit MemoryItem
interface IUtf8JsonSerializable
interface IJsonModel<UserProfileMemoryItem>
interface IPersistableModel<UserProfileMemoryItem>
Public Class UserProfileMemoryItem
Inherits MemoryItem
Implements IJsonModel(Of UserProfileMemoryItem), IPersistableModel(Of UserProfileMemoryItem)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| UserProfileMemoryItem() |
Initializes a new instance of UserProfileMemoryItem for deserialization. |
| UserProfileMemoryItem(String, DateTimeOffset, String, String, MemoryItemKind, IDictionary<String,BinaryData>) |
Initializes a new instance of UserProfileMemoryItem. |
| UserProfileMemoryItem(String, DateTimeOffset, String, String) |
Initializes a new instance of UserProfileMemoryItem. |
Properties
| Name | Description |
|---|---|
| Content |
The content of the memory. (Inherited from MemoryItem) |
| Kind |
The kind of the memory item. (Inherited from MemoryItem) |
| MemoryId |
The unique ID of the memory item. (Inherited from MemoryItem) |
| Scope |
The namespace that logically groups and isolates memories, such as a user ID. (Inherited from MemoryItem) |
| UpdatedAt |
The last update time of the memory item. (Inherited from MemoryItem) |
Methods
| Name | Description |
|---|---|
| DeserializeUserProfileMemoryItem(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |