Class: Aws::BedrockAgentRuntime::Types::RetrieveAndGenerateResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:output]

Instance Attribute Summary collapse

Instance Attribute Details

#citationsArray<Types::Citation>

A list of segments of the generated response that are based on sources in the knowledge base, alongside information about the sources.

Returns:



2053
2054
2055
2056
2057
2058
2059
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2053

class RetrieveAndGenerateResponse < Struct.new(
  :citations,
  :output,
  :session_id)
  SENSITIVE = [:output]
  include Aws::Structure
end

#outputTypes::RetrieveAndGenerateOutput

Contains the response generated from querying the knowledge base.



2053
2054
2055
2056
2057
2058
2059
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2053

class RetrieveAndGenerateResponse < Struct.new(
  :citations,
  :output,
  :session_id)
  SENSITIVE = [:output]
  include Aws::Structure
end

#session_idString

The unique identifier of the session. Reuse the same value to continue the same session with the knowledge base.

Returns:

  • (String)


2053
2054
2055
2056
2057
2058
2059
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2053

class RetrieveAndGenerateResponse < Struct.new(
  :citations,
  :output,
  :session_id)
  SENSITIVE = [:output]
  include Aws::Structure
end