AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The input for the pre-processing step.
The type matches the agent step.
The text contains the prompt.
The inferenceConfiguration, parserMode, and overrideLambda values
are set in the PromptOverrideConfiguration
object that was set when the agent was created or updated.
Namespace: Amazon.BedrockAgentRuntime.Model
Assembly: AWSSDK.BedrockAgentRuntime.dll
Version: 3.x.y.z
public class ModelInvocationInput
The ModelInvocationInput type exposes the following members
| Name | Description | |
|---|---|---|
|
ModelInvocationInput() |
| Name | Type | Description | |
|---|---|---|---|
|
FoundationModel | System.String |
Gets and sets the property FoundationModel. The identifier of a foundation model. |
|
InferenceConfiguration | Amazon.BedrockAgentRuntime.Model.InferenceConfiguration |
Gets and sets the property 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. |
|
OverrideLambda | System.String |
Gets and sets the property OverrideLambda. The ARN of the Lambda function to use when parsing the raw foundation model output in parts of the agent sequence. |
|
ParserMode | Amazon.BedrockAgentRuntime.CreationMode |
Gets and sets the property ParserMode.
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 |
|
PromptCreationMode | Amazon.BedrockAgentRuntime.CreationMode |
Gets and sets the property PromptCreationMode.
Specifies whether the default prompt template was |
|
Text | System.String |
Gets and sets the property Text. The text that prompted the agent at this step. |
|
TraceId | System.String |
Gets and sets the property TraceId. The unique identifier of the trace. |
|
Type | Amazon.BedrockAgentRuntime.PromptType |
Gets and sets the property Type. The step in the agent sequence. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5