Builder

class Builder

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