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 explicitly specify an inference profile prefix that will be prepended to the model ID when making requests to AWS Bedrock. If the prefix is null, no prefix will be added, and the model ID will be used as-is. If a value is provided, the effective model ID will be "
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. If null, no prefix is used.