BedrockModel

data class BedrockModel(val model: LLModel, val modelId: String = model.id, val inferenceProfilePrefix: String = BedrockInferencePrefixes.US.prefix)(source)

Represents a Bedrock model with an optional inference profile prefix.

This allows users to specify an inference profile prefix that will be prepended to the model ID when making requests to AWS Bedrock.

Parameters

model

The base LLModel to use

modelId

The ID of the used model. Defaults to the ID of the provided model.

inferenceProfilePrefix

Optional prefix to prepend to the model ID

Constructors

Link copied to clipboard
constructor(model: LLModel, modelId: String = model.id, inferenceProfilePrefix: String = BedrockInferencePrefixes.US.prefix)

Properties

Link copied to clipboard

Returns the LLModel with the effective model ID.

Link copied to clipboard

Returns the effective model ID with inference profile prefix if provided.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard