CmdID / az / az storage / az storage context-cache / az storage context-cache container
az storage context-cache container create
Create a container in a Context Cache. Azure CLI reference
1 example 6 options Its page in the Azure CLI reference
Examples
Create a Context Cache Container
az storage context-cache container create --resource-group testrg --context-cache-name testaccount --context-cache-container-name gpt4-prompts --description 'Container for GPT-4 prompt caching' --model-name gpt-4 --provider OpenAI --time-to-live 7Identify--resource-groupName of resource group.--context-cache-nameThe name of the context cache--context-cache-container-nameThe name of the context cache container--descriptionContainer description.--model-nameThe model name associated with this container (e.g., gpt-4, claude-3).--providerThe AI provider associated with this container.--time-to-liveThe Time to Live (TTL) in days (1–30) for this container.Options
--context-cache-container-name, --name, -nThe name of the context cache container--context-cache-nameThe name of the context cache--descriptionContainer description.--model-nameThe model name associated with this container (e.g., gpt-4, claude-3).--providerThe AI provider associated with this container.--time-to-liveThe Time to Live (TTL) in days (1–30) for this container.