ModelInvocationInput
¶
Source code in docs_src/capo_bedrock_agent_runtime/types/model_invocation_input.py
foundation_model
instance-attribute
¶
foundation_model: NotRequired[ModelIdentifier]
The identifier of a foundation model.
inference_configuration
instance-attribute
¶
inference_configuration: NotRequired[InferenceConfiguration]
Specifications about the inference parameters that were provided alongside the prompt. These are specified in the PromptOverrideConfiguration object that was set when the agent was created or updated. For more information, see Inference parameters for foundation models.
override_lambda
instance-attribute
¶
override_lambda: NotRequired[LambdaArn]
The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence.
parser_mode
instance-attribute
¶
parser_mode: NotRequired[CreationMode]
Specifies whether to override the default parser Lambda function when parsing the raw foundation model output in the part of the agent sequence defined by the promptType.
prompt_creation_mode
instance-attribute
¶
prompt_creation_mode: NotRequired[CreationMode]
Specifies whether the default prompt template was OVERRIDDEN. If it was, the basePromptTemplate that was set in the PromptOverrideConfiguration object when the agent was created or updated is used instead.
text
instance-attribute
¶
text: NotRequired[PromptText]
The text that prompted the agent at this step.