Class: Aws::QConnect::Types::CreateAIPromptRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-qconnect/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_formatString

The API Format of the AI Prompt.

Recommended values: ‘MESSAGES | TEXT_COMPLETIONS`

<note markdown=“1”> The values ‘ANTHROPIC_CLAUDE_MESSAGES | ANTHROPIC_CLAUDE_TEXT_COMPLETIONS` will be deprecated.

</note>

Returns:

  • (String)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#assistant_idString

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

Returns:

  • (String)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

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]..

**A suitable default value is auto-generated.** You should normally not need to pass this option.

[1]: aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/

Returns:

  • (String)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the AI Prompt.

Returns:

  • (String)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#inference_configurationTypes::AIPromptInferenceConfiguration

The inference configuration for the AI Prompt being created.



2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#model_idString

The identifier of the model used for this AI Prompt.

<note markdown=“1”> For information about which models are supported in each Amazon Web Services Region, see [Supported models for system/custom prompts].

</note>

[1]: docs.aws.amazon.com/connect/latest/adminguide/create-ai-prompts.html#cli-create-aiprompt

Returns:

  • (String)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the AI Prompt.

Returns:

  • (String)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags used to organize, track, or control access for this resource.

Returns:

  • (Hash<String,String>)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#template_configurationTypes::AIPromptTemplateConfiguration

The configuration of the prompt template for this AI Prompt.



2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#template_typeString

The type of the prompt template for this AI Prompt.

Returns:

  • (String)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of this AI Prompt.

Returns:

  • (String)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#visibility_statusString

The visibility status of the AI Prompt.

Returns:

  • (String)


2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
# File 'lib/aws-sdk-qconnect/types.rb', line 2521

class CreateAIPromptRequest < Struct.new(
  :client_token,
  :assistant_id,
  :name,
  :type,
  :template_configuration,
  :visibility_status,
  :template_type,
  :model_id,
  :api_format,
  :tags,
  :description,
  :inference_configuration)
  SENSITIVE = []
  include Aws::Structure
end