Interface BedrockSystemContent
- All Known Implementing Classes:
BedrockSystemTextContent
Represents a content block within a
BedrockSystemMessage.
This is a sealed interface - only library-provided implementations are supported.
Currently, only BedrockSystemTextContent is available.
Implementation Requirements:
- Implementations must be immutable and thread-safe
- Implementations must provide proper
equals()andhashCode() - Cache points are inserted AFTER the content block in AWS Bedrock requests
- Note: Caching may not activate if content is below ~1,024 tokens
- Since:
- 1.11.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this content block has a cache point marker.type()Returns the content type.
-
Method Details
-
type
-
hasCachePoint
boolean hasCachePoint()Returns whether this content block has a cache point marker. When true, a cache point will be inserted AFTER this content block in the AWS Bedrock request.- Returns:
- true if this content has a cache point
-