Package-level declarations

Types

Link copied to clipboard

Describes the API operations for running inference using Amazon Bedrock models.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Inherited functions

Link copied to clipboard

The action to apply a guardrail.

Link copied to clipboard
inline suspend fun BedrockRuntimeClient.converse(crossinline block: ConverseRequest.Builder.() -> Unit): ConverseResponse

Sends messages to the specified Amazon Bedrock model. Converse provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models. If a model has unique inference parameters, you can also pass those unique parameters to the model.

Link copied to clipboard

Retrieve information about an asynchronous invocation.

Link copied to clipboard

Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. You use model inference to generate text, images, and embeddings.

Link copied to clipboard

Lists asynchronous invocations.

Link copied to clipboard

Starts an asynchronous invocation.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.