PromptVariableValues
module-attribute
¶
PromptVariableValues = Union[PromptVariableValuesText | PromptVariableValuesUnknown]
Contains a map of variables in a prompt from Prompt management to an object containing the values to fill in for them when running model invocation. For more information, see How Prompt management works.
Union Members¶
PromptVariableValuesText
dataclass
¶
The text value that the variable maps to.
Source code in src/aws_sdk_bedrock_runtime/models.py
8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 | |
PromptVariableValuesUnknown
dataclass
¶
Represents an unknown variant.
If you receive this value, you will need to update your library to receive the parsed value.
This value may not be deliberately sent.
Source code in src/aws_sdk_bedrock_runtime/models.py
8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 | |