Package com.sap.ai.sdk.orchestration
Interface CacheablePrompt
- All Known Implementing Classes:
TextItem
Prompt objects supporting caching may implement this interface.
-
Method Summary
Modifier and TypeMethodDescriptionReturns cache control for a given cacheable prompt (if set).
-
Method Details
-
getCacheControl
Returns cache control for a given cacheable prompt (if set).- Returns:
- the cache control, or
nullif not set.
-