Builder
Properties
Contains the query to be made to the knowledge base.
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
Contains details about the session with the knowledge base.
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.
Contains information about the user making the request. Use this to pass user identity information for access control filtering, so that retrieval results only include documents the user is authorized to access.
Functions
construct an aws.sdk.kotlin.services.bedrockagentruntime.model.RetrieveAndGenerateInput inside the given block
construct an aws.sdk.kotlin.services.bedrockagentruntime.model.RetrieveAndGenerateConfiguration inside the given block
construct an aws.sdk.kotlin.services.bedrockagentruntime.model.RetrieveAndGenerateSessionConfiguration inside the given block
construct an aws.sdk.kotlin.services.bedrockagentruntime.model.UserContext inside the given block