langchain.js
    Preparing search index...

    Interface AnthropicCacheControl

    Cache control configuration for Anthropic prompt caching.

    interface AnthropicCacheControl {
        ttl?: "5m" | "1h";
        type: "ephemeral";
    }
    Index

    Properties

    Properties

    ttl?: "5m" | "1h"
    type: "ephemeral"