Cache File Content By URL

This action creates a context cache based on a URI/URL of a previously uploaded file, without transferring binary data:

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
FileUrl String, required. The URL of the file to cache.
MimeType Enum, required. The MIME type of the file to cache.

Result

The result contains the following fields: CacheContent_Id, CacheContent_Model, CacheContent_DisplayName, CacheContent_TotalTokenCount, CacheContent_CreateTime, CacheContent_UpdateTime, CacheContent_ExpireTime.