ContextCacheContainerProperties Class

Details of a container within a Context Cache.

Constructor

ContextCacheContainerProperties(*args: Any, **kwargs: Any)

Variables

Name Description
description
str

Container description.

model_name
str

The model name associated with this container (e.g., gpt-4, claude-3). Required.

provider

The AI provider associated with this container. Required. "OpenAI"

time_to_live
int

The Time to Live (TTL) in days (1–30) for this container. Blobs in the container that have not been accessed within this number of days will be automatically deleted. If not specified at creation time, it defaults to 1 day.

provisioning_state

The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting", and "Accepted".

Attributes

description

Container description.

description: str | None

model_name

The model name associated with this container (e.g., gpt-4, claude-3). Required.

model_name: str

provider

The AI provider associated with this container. Required. "OpenAI"

provider: str | _models.AiProvider

provisioning_state

"Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting", and "Accepted".

provisioning_state: str | _models.ContextCacheProvisioningState | None

time_to_live

The Time to Live (TTL) in days (1–30) for this container. Blobs in the container that have not been accessed within this number of days will be automatically deleted. If not specified at creation time, it defaults to 1 day.

time_to_live: int | None