Class: Aws::Bedrock::Types::KnowledgeBaseConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::KnowledgeBaseConfig
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-bedrock/types.rb
Overview
KnowledgeBaseConfig is a union - when making an API calls you must set exactly one of the members.
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.
Direct Known Subclasses
Defined Under Namespace
Classes: RetrieveAndGenerateConfig, RetrieveConfig, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#retrieve_and_generate_config ⇒ Types::RetrieveAndGenerateConfiguration
Contains configuration details for retrieving information from a knowledge base and generating responses.
-
#retrieve_config ⇒ Types::RetrieveConfig
Contains configuration details for retrieving information from a knowledge base.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#retrieve_and_generate_config ⇒ Types::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_config ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
4302 4303 4304 |
# File 'lib/aws-sdk-bedrock/types.rb', line 4302 def unknown @unknown end |