Package-level declarations

Types

Link copied to clipboard
class BedrockClientSettings(region: String = BedrockRegions.US_WEST_2.regionCode, timeoutConfig: ConnectionTimeoutConfig = ConnectionTimeoutConfig(), endpointUrl: String? = null, maxRetries: Int = 3, enableLogging: Boolean = false, moderationGuardrailsSettings: BedrockGuardrailsSettings? = null)

Configuration settings for connecting to the AWS Bedrock API.

Link copied to clipboard
class BedrockGuardrailsSettings(guardrailIdentifier: String, guardrailVersion: String)

Represents the settings configuration for Bedrock guardrails.

Link copied to clipboard

AWS Bedrock inference ID prefixes.

Link copied to clipboard
class BedrockLLMClient(bedrockClient: BedrockRuntimeClient, moderationGuardrailsSettings: BedrockGuardrailsSettings? = null, clock: Clock = Clock.System) : LLMClient

Creates a new Bedrock LLM client configured with the specified AWS credentials and settings.

Link copied to clipboard
data class BedrockModel(val model: LLModel, val modelId: String = model.id, val inferenceProfilePrefix: String = BedrockInferencePrefixes.US.prefix)

Represents a Bedrock model with an optional inference profile prefix.

Link copied to clipboard

Represents a sealed class for AWS Bedrock model families.

Link copied to clipboard

Bedrock models Models available through the AWS Bedrock API

Link copied to clipboard

AWS Bedrock regions.

Functions

Link copied to clipboard

Extension method to create a new LLModel with a different inference profile prefix. This allows you to easily switch inference profiles for predefined Bedrock models.