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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qconnect/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

The values ANTHROPIC_CLAUDE_MESSAGES | ANTHROPIC_CLAUDE_TEXT_COMPLETIONS will be deprecated.

Returns:

  • (String)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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.

Returns:

  • (String)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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.



2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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.

For information about which models are supported in each Amazon Web Services Region, see Supported models for system/custom prompts.

Returns:

  • (String)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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>)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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.



2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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)


2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2528

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