Class ResponseCreateParams.PromptCacheRetention

  • All Implemented Interfaces:
    com.openai.core.Enum

    
    public final class ResponseCreateParams.PromptCacheRetention
     implements Enum
                        

    The retention policy for the prompt cache. Set to 24h to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. Learn more.