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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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_configTypes::RetrieveAndGenerateConfiguration

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



4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
# File 'lib/aws-sdk-bedrock/types.rb', line 4302

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_configTypes::RetrieveConfig

Contains configuration details for retrieving information from a knowledge base.



4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
# File 'lib/aws-sdk-bedrock/types.rb', line 4302

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4302
4303
4304
# File 'lib/aws-sdk-bedrock/types.rb', line 4302

def unknown
  @unknown
end