Class: Aws::Bedrock::Types::RAGConfig

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

Overview

Note:

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

Note:

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

Contains configuration details for retrieval of information and response generation.

Defined Under Namespace

Classes: KnowledgeBaseConfig, PrecomputedRagSourceConfig, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#knowledge_base_configTypes::KnowledgeBaseConfig

Contains configuration details for knowledge base retrieval and response generation.



11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 11098

class RAGConfig < Struct.new(
  :knowledge_base_config,
  :precomputed_rag_source_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class KnowledgeBaseConfig < RAGConfig; end
  class PrecomputedRagSourceConfig < RAGConfig; end
  class Unknown < RAGConfig; end
end

#precomputed_rag_source_configTypes::EvaluationPrecomputedRagSourceConfig

Contains configuration details about the RAG source used to generate inference response data for a Knowledge Base evaluation job.



11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 11098

class RAGConfig < Struct.new(
  :knowledge_base_config,
  :precomputed_rag_source_config,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class KnowledgeBaseConfig < RAGConfig; end
  class PrecomputedRagSourceConfig < RAGConfig; end
  class Unknown < RAGConfig; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



11098
11099
11100
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 11098

def unknown
  @unknown
end