Class: Aws::Bedrock::Types::KnowledgeBaseConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb

Overview

Note:

KnowledgeBaseConfig is a union - when making an API calls you must set exactly one of the members.

Note:

KnowledgeBaseConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of KnowledgeBaseConfig corresponding to the set member.

The configuration details for retrieving information from a knowledge base and generating responses.

Defined Under Namespace

Classes: RetrieveAndGenerateConfig, RetrieveConfig, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#retrieve_and_generate_config ⇒ Types::RetrieveAndGenerateConfiguration

Contains configuration details for retrieving information from a knowledge base and generating responses.



10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 10837

class KnowledgeBaseConfig < Struct.new(
  :retrieve_config,
  :retrieve_and_generate_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class RetrieveConfig < KnowledgeBaseConfig; end
  class RetrieveAndGenerateConfig < KnowledgeBaseConfig; end
  class Unknown < KnowledgeBaseConfig; end
end

#retrieve_config ⇒ Types::RetrieveConfig

Contains configuration details for retrieving information from a knowledge base.



10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 10837

class KnowledgeBaseConfig < Struct.new(
  :retrieve_config,
  :retrieve_and_generate_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class RetrieveConfig < KnowledgeBaseConfig; end
  class RetrieveAndGenerateConfig < KnowledgeBaseConfig; end
  class Unknown < KnowledgeBaseConfig; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



10837
10838
10839
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 10837

def unknown
  @unknown
end