List Foundation Models
bedrock_list_foundation_models | R Documentation |
Lists Amazon Bedrock foundation models that you can use¶
Description¶
Lists Amazon Bedrock foundation models that you can use. You can filter the results with the request parameters. For more information, see Foundation models in the Amazon Bedrock User Guide.
Usage¶
bedrock_list_foundation_models(byProvider, byCustomizationType,
byOutputModality, byInferenceType)
Arguments¶
byProvider |
Return models belonging to the model provider that you specify. |
byCustomizationType |
Return models that support the customization type that you specify. For more information, see Custom models in the Amazon Bedrock User Guide. |
byOutputModality |
Return models that support the output modality that you specify. |
byInferenceType |
Return models that support the inference type that you specify. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide. |
Value¶
A list with the following syntax:
list(
modelSummaries = list(
list(
modelArn = "string",
modelId = "string",
modelName = "string",
providerName = "string",
inputModalities = list(
"TEXT"|"IMAGE"|"EMBEDDING"
),
outputModalities = list(
"TEXT"|"IMAGE"|"EMBEDDING"
),
responseStreamingSupported = TRUE|FALSE,
customizationsSupported = list(
"FINE_TUNING"|"CONTINUED_PRE_TRAINING"|"DISTILLATION"
),
inferenceTypesSupported = list(
"ON_DEMAND"|"PROVISIONED"
),
modelLifecycle = list(
status = "ACTIVE"|"LEGACY"
)
)
)
)
Request syntax¶
svc$list_foundation_models(
byProvider = "string",
byCustomizationType = "FINE_TUNING"|"CONTINUED_PRE_TRAINING"|"DISTILLATION",
byOutputModality = "TEXT"|"IMAGE"|"EMBEDDING",
byInferenceType = "ON_DEMAND"|"PROVISIONED"
)