Cache Text Content
This action caches the content to reuse the same text in subsequent requests to the Model without re-transmitting the entire content
Action Settings
| Setting | Description |
|---|---|
| Model | Enum, required. The Model's resource name. This serves as an ID for the Model to use. |
| Expire Time | DateTime, required. The cache expiration time |
| Instructions | String, optional. Instructions for using the cached content. |
| Display Name | String, optional. A display name for the cached content. |
Action Parameters
| Parameter | Description |
|---|---|
| Content | String, required. The user-provided text to be processed by the Model. |
Result
The result contains the following fields: CacheContent_Id, CacheContent_Model, CacheContent_DisplayName, CacheContent_TotalTokenCount, CacheContent_CreateTime, CacheContent_UpdateTime, CacheContent_ExpireTime.
Was this page helpful?