Skip to content

PromptVariant

rboto-bedrock-agent==0.4.0 · Service index · Types

Public import: from rboto_bedrock_agent.types import PromptVariant.

Used in: input. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

PromptVariant = TypedDict(
    "PromptVariant",
    {
        "name": Required['str'],
        "template_type": Required['PromptTemplateType'],
        "template_configuration": Required['PromptTemplateConfiguration'],
        "model_id": NotRequired['str'],
        "inference_configuration": NotRequired['PromptInferenceConfiguration'],
        "metadata": NotRequired['Sequence[PromptMetadataEntry]'],
        "additional_model_request_fields": NotRequired['JSONValue'],
        "gen_ai_resource": NotRequired['PromptGenAiResource'],
    },
)

JSONValue, PromptGenAiResource, PromptInferenceConfiguration, PromptMetadataEntry, PromptTemplateConfiguration, PromptTemplateType