BedrockAPIMethod

sealed interface BedrockAPIMethod(source)

Defines Bedrock API methods to interact with the models that support messages.

Inheritors

Types

Link copied to clipboard

Defines /model/{modelId}/converse API method. Provides a consistent interface that works with all models that support messages. Supports custom inference parameters for models that require it.

Link copied to clipboard

Defines /model/{modelId}/invoke API method. When using this method, request body is formatted manually and is specific to the invoked model.