CompactResource 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.
The compacted response object.
public class CompactResource : System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.CompactResource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.CompactResource>
type CompactResource = class
interface IJsonModel<CompactResource>
interface IPersistableModel<CompactResource>
Public Class CompactResource
Implements IJsonModel(Of CompactResource), IPersistableModel(Of CompactResource)
- Inheritance
-
CompactResource
- Implements
Properties
| Name | Description |
|---|---|
| CreatedAt |
Unix timestamp (in seconds) when the compacted conversation was created. |
| Id |
The unique identifier for the compacted response. |
| Object |
The object type. Always |
| Output |
The compacted list of output items. |
| Usage |
Token accounting for the compaction pass, including cached, reasoning, and total tokens. |
Methods
Operators
| Name | Description |
|---|---|
| Explicit(ClientResult to CompactResource) | |