BedrockFunctionTarget
¶
Source code in docs_src/capo_elementalinference/types/bedrock_function_target.py
api
instance-attribute
¶
api: BedrockApi
The Amazon Bedrock API to call. The only valid value is INVOKE_MODEL.
model
instance-attribute
¶
model: str
The model to invoke. Specify one of the following:
-
A model ID.
-
An inference profile ID.
-
The ARN of a custom model.
-
The ARN of a provisioned model.
Elemental Inference invokes the model in the Region of the feed. To use a model in other Regions, specify a cross-Region inference profile ID. A custom or provisioned model must be in the Region of the feed.
The request expression must produce a request body that this model accepts, and the model must accept the kind of media that the request expression references. For example, a text-only model can't accept a request that references media.frames.