RetrieveAndGenerateResponse

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

Specifies if there is a guardrail intervention in the response.

Link copied to clipboard

Contains the response generated from querying the knowledge base.

Link copied to clipboard

The unique identifier of the session. When you first make a RetrieveAndGenerate request, Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous interactions. You can't explicitly set the sessionId yourself.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String