CreateAIPromptRequest
¶
Source code in docs_src/capo_qconnect/types/create_ai_prompt_request.py
api_format
instance-attribute
¶
api_format: AIPromptAPIFormat
The API Format of the AI Prompt.
Recommended values: MESSAGES | TEXT_COMPLETIONS
The values ANTHROPIC_CLAUDE_MESSAGES | ANTHROPIC_CLAUDE_TEXT_COMPLETIONS will be deprecated.
assistant_id
instance-attribute
¶
assistant_id: UuidOrArn
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..
description
instance-attribute
¶
description: NotRequired[Description]
The description of the AI Prompt.
inference_configuration
instance-attribute
¶
inference_configuration: NotRequired[AIPromptInferenceConfiguration]
The inference configuration for the AI Prompt being created.
model_id
instance-attribute
¶
model_id: AIPromptModelIdentifier
The identifier of the model used for this AI Prompt.
For information about which models are supported in each Amazon Web Services Region, see Supported models for system/custom prompts.
tags
instance-attribute
¶
tags: NotRequired[Tags]
The tags used to organize, track, or control access for this resource.
template_configuration
instance-attribute
¶
template_configuration: AIPromptTemplateConfiguration
The configuration of the prompt template for this AI Prompt.
template_type
instance-attribute
¶
template_type: AIPromptTemplateType
The type of the prompt template for this AI Prompt.
visibility_status
instance-attribute
¶
visibility_status: VisibilityStatus
The visibility status of the AI Prompt.