@sap-ai-sdk/prompt-registry
Version:
SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.
13 lines • 474 B
TypeScript
/**
* Cache control directive for Anthropic prompt caching. Only applicable to Anthropic Claude models. When set, marks the content block as a cache breakpoint.
*
*/
export type CacheControl = {
type: 'ephemeral';
/**
* Time-to-live for the cache entry. Default is "5m" (5 minutes). "1h" (1 hour) is supported on select models (e.g. Claude Opus 4.5, Haiku 4.5, Sonnet 4.5).
*
*/
ttl?: '5m' | '1h';
};
//# sourceMappingURL=cache-control.d.ts.map